You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
When the junit xml is imported into the xray using https://xx.xx.xx.xx/rest/raven/1.0/import/execution/junit?testExecKey=XRAY-XXXXX
for the first time the expected response is
{ "testExecIssue": { "id": "410972", "key": "XRAY-308121", "self": "https://xx.xx.xx.xx/rest/api/2/issue/410972" }, "testIssues": { "success": [ { "id": "410981", "key": "XRAY-308130", "self": "https://xx.xx.xx.xx/rest/api/2/issue/410981" }, { "id": "410982", "key": "XRAY-308131", "self": "https://xx.xx.xx.xx/rest/api/2/issue/410982" } ] }}
Here the response has testIssues list created. This is as expected because new tests are created and hence testIssues have the list. But the same test(with the same classname+name) combination is imported again for the same test execution, the expected response should not have testIssues list since no new issues would be created.
The response should just have
{ "testExecIssue": { "id": "410972", "key": "XRAY-308121", "self": "https://xx.xx.xx.xx/rest/api/2/issue/410972" }
Please correct me if my understanding is not correct.
But whenever an import is made, I get the response with testIssues tag listing the same issues. How do I differentiate between the first time import and next time import??
The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events