Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Testcases are not being created when I import xml results via REST API for XRAY

bronagh.fletcher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2020

I have executed the following curl script:

curl -H "Content-Type: multipart/form-data" -u "uname:pwrd" -F "file=@Tests.xml" "https://jira.com/jira/rest/raven/1.0/import/execution/junit?projectKey=PROJECT"

This successfully created the TEST EXECUTION but none of the test cases.

Has anyone been able to import test cases from an xml result file in this way?

1 answer

0 votes
José Domingues _Xray_
Atlassian Partner
June 16, 2020

Hi @bronagh.fletcher ,

For guidance, please check our support documentation: https://confluence.xpand-it.com/display/public/XRAY/Taking+advantage+of+JUnit+XML+reports

In case you have more questions or if the problem persists, please contact our support service desk.

Best Regards,

Team Xray

Suggest an answer

Log in or Sign up to answer