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,363,760
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events