Like any other API request, we can post test results to Xray API. The request body consists execution information and list of test data. This is one of tests:
In the request, we will attach credentials as header and data as body:
And how did we construct resultDto? After each test, we filled over result: