Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After importing results, a Test Execution would be created containing the results for the two tests; the details of the execution screen show the data of the Test Run, including its status, comment, timings, among other.


Importing test automation results to Xray using other format (non Xray JSON)

Besides the Xray JSON format as described on the previous scenario, Xray also can import and process test automation results from reports stored in different formats (e.g., JUnit XML, NUnit XML, Cucumber JSON, etc).

This will make use of Xray Cloud REST API or Xray server/DC REST API.


In this case what's important to have in mind is that:

  • the supported test automation report formats may be different between Xray Cloud and Xray server/DC
  • the authentication mechanism is different in Xray Cloud and on Xray server/DC
  • HTTP POST request for the REST API call is slightly different for Xray Cloud and Xray server/DC

Therefore, make sure you are using the proper documentation of the REST API, either Xray Cloud REST API or the Xray server/DC REST API one.


Note: the import of Cucumber or Behave JSON reports follows a different flow than the standard one. More info on that here.


References