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,294,581
Community Members
 
Community Events
165
Community Groups

XRay Server REST API features

Hi,

When getting Test Execution given a saved filter ID, Test plans with their summary aren't included.

Is there a way to get test executions given a saved filter ID and at least tests and test plans keys.

My goal is to measure a more accurate success rate of tests using steps status. The one given in XRay is too global : for e.g, considering a 20 steps test, given success rate is 0% even if only one step failed.

So my other question is : is there a way to get a more accurate success rate a part from exporting data (REST API is fore automation purpose)

2 answers

1 accepted

0 votes
Answer accepted

Found a workaround. For those who encountering the same issue :

(Steps below are for a Power BI use)

1. Use this URI or another one to get test executions :

http://yourserver/rest/raven/1.0/testruns?savedFilterId=Id

I personnally preferer this one as is it gives the global picture of existing test executions

 

2. Then use this one :

http://yourserver/rest/raven/1.0/api/test/{key}/testplans

And replace {key} by testKeys you got in first step

This way you have your list of test executions and related tests and test plans.

Hope it helps

Any idea on the answer ?

Clark Everson Community Leader May 04, 2022

Hi @Yanis 

If you aren't receiving response here after a couple of days I would recommend reaching out to the vendor. If they provide you a solution you can then post it here so others know the answer!

Keep in mind almost all apps are made by external vendors, while many have representation on the community not all do.

 

Best,
Clark

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you