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 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
@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
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
Hi @Ami Gao ,
Welcome to the community!
I'm from Xray and to be able to assist you with it, I would recommend you to contact our support here.
They can help you evaluate the request as it seems the XML format might a a character before the opening tag "<".
Best, Francisco
@Ami Gao
could you check file encoding of your xml file? see the following community post dealing with a similar behaviour:
https://community.atlassian.com/t5/Jira-questions/cURL-returns-quot-error-quot-quot-Invalid-xml-file-Non/qaq-p/2225118
BestStefan
It looks like you're new here. Sign in or register to get started.