Returns a JSON object with all the Test Step Statuses. Request
curl -H "Content-Type: application/json" -X GET -u admin:admin http://yourserver/rest/raven/1.0/api/settings/teststepstatuses |
Responses 200 OK : application/json : Successful. Returns a JSON with all the Test Step Statuses along with some information, including name, description, ranking and mapping to the Test (Run) Status. [
{
"id": 1,
"rank": 1,
"name": "PASS",
"description": "The test step has passed."
"testStatusId": 1
},
{
"id": 10,
"rank": 10,
"name": "SKIP",
"description": "The test step has been skipped."
"testStatusId": 1
}
...
]
|
400 BAD_REQUEST : text/plain : Returns the error. 401 UNAUTHORIZED : text/plain : The Xray license is not valid. 500 INTERNAL SERVER ERROR : text/plain : An internal error occurred getting the test step statuses. |