Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,432
Community Members
 
Community Events
184
Community Groups

Get Test result for a batch of TestIDs using REST API

Edited

 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.

 

 

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 24, 2021

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]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events