changes.mady.by.user Unknown User (fspe)
Saved on Jan 09, 2018
...
Return a json with the exported test sets.
Request
key
- Test Key
curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/test/{key}/testsets
200 OK : text/plain : Successful. Return a json.
[ { "id":13602, "key":"CALC-50", "summary":"Test Set for all tests", "self":"http://JIRASERVER/testJira/rest/api/2/issue/CALC-50", "environments" : [ "IOS", "Android" ] }, { "id":13600, "key":"CALC-51", "summary":"Test Set of v2.0", "self":"http://JIRASERVER/testJira/rest/api/2/issue/CALC-51", "environments" : [ "IOS", "Android" ] } ]
400 BAD_REQUEST : text/plain : Returns the error.
401 UNAUTHORIZED : text/plain : The Xray for JIRA license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred getting the test stepsprec-conditions.