Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xray import API creates Test Execution name that ends with several digits

When I import from Junit XML using the API (/rest/raven/1.0/import/junit?...) the generated Test Execution has a name like this...

Execution results - test_results.xml - [1536180193094]

Can I get more control over the name?

I definitely don't want the long string of digits, unless they have some purpose that I don't understand (-:

 

1 answer

0 votes

Hi Paul,

Concerning the naming, it is done automatically based on the JUnit report as described in https://confluence.xpand-addons.com/display/XRAY/Taking+advantage+of+JUnit+XML+reports .

Test Cases are imported to Xray’s Generic Test issues, and the “classname” and “name” attributes are concatenated and mapped to the “Generic Test Definition” field of the Generic Test. If a Test already exists with the same “Generic Test Definition”, then it is not created again.

 

Best regards,

Xray Team

What about the naming of the Test Execution (not the Test Cases)?

Could it be handled anywhere?

Did anyone manage to find out if there is a method to control the test execution name? I cannot find an answer and wondering if it has been solved. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
Read article

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