GET Test Run ID Method
This method returns a single test run by ID.
Syntax:
GET /api/test_run/<id>
Curl
$> curl 'http://localhost:8080/api/test_run/58f6a1dd44455326381e0000' -H 'Authorization: Basic YWRtaW46YWRtaW4='
Raw Request
GET /api/test_run/58f6a1dd44455326381e0000 HTTP/1.1
Host: localhost:8080
Authorization: Basic YWRtaW46YWRtaW4=
Read Keys
Parameter | Type |
---|---|
_id | Id |
created_at | Datetime |
updated_at | Datetime |
test_run_number | Integer |
test_id | Id |
status_code | Status Code |
test_run_instances | Hash List |
test_cases | Hash List |
Response Body
{
"_id": "58f6a1dd44455326381e0000",
"created_at": "2017-04-18T23:31:41.568Z",
"updated_at": "2017-04-18T23:32:12.712Z",
"test_run_number": 373,
"test_id": "58c27861444553252c110000",
"status_code": 400,
"test_cases": [< omitted >],
"test_run_instances": [
{
"_id": "58f6a1de4445532638200000"
}
]
}