I am making a POST request using POSTMAN and using cloud.
POST | https://wajahatsqae.atlassian.net/rest/api/v2/import/execution
I am also putting JSON Body containing execution results.
Issue: Getting this response
Hi @Wajahat Haider
Welcome to the Atlasssian Community
A few question that came to my mind:
Hope this helps to solve your problem.
BestStefan
Thanks @Stefan Salzl for answering,
Yes I have checked importing the result file manually into XRAY to validate if the JSON result format is correct and its getting imported successfully.
After running this
https://xray.cloud.xpand-it.com/api/v2/import/execution
and using Bearer Token in POSTMAN that I generated earlier.
It gives me this reponse:
Could you add your whole call?
Could you please give an example what else needed in call ?
Did you create the seperate XRAY API key and token as described here ?
I´m only used to import JUnit xml results. This is an example of my call:
curl -H "Content-Type: text/xml" -X POST \ -H "Authorization: Bearer $TOKEN" \"test-results.xml" https://xray.cloud.getxray.app/api/v2/import/execution/junit?testExecKey={key}
It looks like you're new here. Sign in or register to get started.