GET Test Run Method
This method returns a list of all test runs.
Syntax:
GET /api/test_run
Curl
$> curl 'http://localhost:8080/api/test_run' -H 'Authorization: Basic YWRtaW46YWRtaW4='
Raw Request
GET /api/test_run 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
{
"limit": 100,
"offset": 0,
"count": 1,
"test_runs": [
{
"_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"
}
]
}
]
}