Hi guys,
I am trying to import/upload junit xml test report and want it is attached to a XRAY JIRA ticket. However, I am getting error:
@Ami Gao Also take a look at this link: https://community.atlassian.com/t5/Jira-questions/XRAY-REST-API-to-import-unit-test-results-into-JIRA-using-a/qaq-p/2246072
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ami Gao Welcome! The uri appears to be wrong try another one for example up to import section https://xxxxx.atlassian.net/rest/raven/1.0/import
HTH
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas,
Thanks for the assistance. Since our company use XRAY DC, I was using wrong api to send the request. But now I get another problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could you check file encoding of your xml file? see the following community post dealing with a similar behaviour:
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.