I created a test execution, inside of it i place 3 tests,What I need to is update the test execution to each test and make upload of evidences to each test.
I'm trying use the documentation of API: https://docs.getxray.app/display/XRAY/v2.0#/
I'm doing the steps:
1. GET /testrun to obtain the ID of each test
2. Once I have the ID I will PUT / testrun / {id} to update the status of each test and insert the evidence.
However, the problem is that when I try to do the GET requisition inserting the testExecIssueKey and the testIssueKey an error occurs 'TypeError: Failed to fetch'.
The base URI: https://sandbox.xpand-it.com/rest/raven/2.0/api/testrun
params: ?testExecIssueKey=E2ETESTING-37&testIssueKey=E2ETESTING-32
If you can help me with this situation.
Hi @mirabr
It is supposed to work, I have tested it like this (below) and it worked:
curl -H "Content-Type: application/json" -X GET -u <username>:<password> "https://sandbox.xpand-it.com/rest/raven/2.0/api/testrun/?testExecIssueKey=E2ETESTING-37&testIssueKey=E2ETESTING-32"
Please follow a similar approach.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
Hi Rogério,
Thanks for the reply, the problem has been resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.