Importing multiple json test results into Xray

Bhuvnesh Sainani April 23, 2021

My Framework generates the json results with each feature, and we have some 50+ Features. how can I import all the json results in same Test Execution JIRA???

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 17, 2021

Hi @Bhuvnesh Sainani 

If you import all the reports in a single request they will be included in a single Test Execution as long as there are no tags in the reports referencing existing Test Executions.

Please check the REST API to import multiple executions here:

https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST#ImportExecutionResultsREST-MultipleExecutionResults

If you need additional help, please contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Ricardo Marques September 24, 2024

Hi @Rogério Paiva - Xray Xporter Is this also true for JUNIT XML reports as well as for XRAY Cloud??

I'm in roughly the same situation, where our codebase generates multiple JSON and XML test executions that I would like to upload to XRAY in hopefully 2 calls at most (i.e. one for multiple JSON files and one for multiple XML files).

 

Please let me know if this is possible and/or where I can get more info/examples.

 

Muito Obrigado!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events