I used XRAY rest API
https://sandbox.xpand-it.com/rest/raven/2.0/api/testrun?testExecIssueKey=12&testIssueKey=34
and it seems I can only use it with testExecIssueKey=12&testIssueKey=34 combination to get for a single test ID , what I want is get data dump for multiple test cases.
like when I request I can pass
strat from this issue ID =0 ( with issue type TEST) to maxResult of 500
getting this error
b'{"error":"Test Execution key and Test issue key are required."}
all I need is - Test key , Test Execution Key , Status
your advice.
Hi @daniel m
Yes, that REST API only returns one Test Run ID since there is only one Test Run for each pair of Test Execution <-> Test.
However, there is another REST API that returns all Test Runs of a Test case.
The REST API is described here:
https://docs.getxray.app/display/XRAY/Tests+-+REST#TestsREST-ExportingTestRuns
If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.
Kind regards,
Rogério Paiva [Xray Support Team]
Recommended Learning For You
Level up your skills with Atlassian learning
Atlassian DevOps Essentials
Learn to manage the product lifecycle by building, automating, and improving processes with Atlassian's approach to DevOps.
Jira Automation
Reduce project complexity and optimize your team's processes through the power of automation.
Bitbucket Pipelines Configuration
Build better software and release more often by learning how to implement a CI/CD solution with Bitbucket Pipelines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.