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
Welcome to the Atlasssian Community ;)
A few question that came to my mind:
Hope this helps to solve your problem.
Best
Stefan
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you add your whole call?
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.
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" \
--data @"test-results.xml" https://xray.cloud.getxray.app/api/v2/import/execution/junit?testExecKey={key}
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.
AWESOME!!! great to hear you´ve been successful 🙌🙌🙌
Happy testing ;)
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.