Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible import a sub test execution through /rest/raven/1.0/import/execution?

Carlo Colanta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 11, 2018

Greetings, I'm quite new here and I'm not sure If I am on the right section.

 

My question is that would it be possible to import a sub test execution?

The documentation from https://confluence.xpand-addons.com/display/XRAY/Import+Execution+Results+-+REST states that this is the format when importing a test execution that does not exists yet.

{
"info" : {
"summary" : "Execution of automated tests for release v1.3",
"description" : "This execution is automatically created when importing execution results from an external source",
"project": "TESTPROJECT",
"version" : "v1.3",
"user" : "admin",
"revision" : "1.0.42134",
"startDate" : "2014-08-30T11:47:35+01:00",
"finishDate" : "2014-08-30T11:53:00+01:00",
"testPlanKey" : "DEMO-100",
"testEnvironments": ["iOS", "Android"]
},
"tests": []
}

Sub test execution links to the parent test execution through the ticket key. How do I adjust the request body so that it will be imported as a sub test execution?

1 answer

0 votes
José Domingues _Xray_
Atlassian Partner
July 16, 2018

Hi Carlo,

The current endpoints don't support the creation of sub-test executions.

We do have an improvement in our backlog though: https://jira.xpand-addons.com/browse/XRAY-1649 

Please review it and "vote" on it, to be notified on changes and so that we can track your interest on it. 

 

Best regards,

Xray Team

Suggest an answer

Log in or Sign up to answer