Test Status History
This Eggplant Performance Test Controller REST method gets the test status over time.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/status_history
HTTP Method
GET: Gets the test status over time
URL Query Parameters
The following can be added to the URL as query parameters:
Parameter | Description |
---|---|
after_time | A time, expressed in milliseconds since Jan. 1 1970. Only values collected after this time will be returned. |
bucket_size | A time interval, expressed in seconds. Returned data will be resampled to this interval. |
Response Parameters
The response will be an object where each entry is a <timestamp>
. For each timestamp, there will be an object describing the state of the test at that time:
Parameter | Type | Description |
---|---|---|
error_count | Integer | The total number of errors that have occurred. |
warning_count | Integer | The total number of warnings that have occurred. |
pass_count | Integer | The total number of progress points that have passed. |
fail_count | Integer | The total number of progress points that have failed. |
vus_pending | Integer | The number of VUs in the pending state. |
vus_running | Integer | The number of VUs in the running state. |
vus_aborted | Integer | The number of VUs in the aborted state. |
vus_down | Integer | The number of VUs in the completed state. |
vus_in_error | Integer | The number of VUs in the error state. |
vus_unknown | Integer | The number of VUs whose state is unknown. |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/status_history?after_time=147409660000&bucket_size=30
Example Response
{
"2016-09-17T07:09:00.000Z": {
"error_count": 0,
"warning_count": 0,
"pass_count": 0,
"fail_count": 0,
"vus_pending": 0,
"vus_running": 1,
"vus_aborted": 0,
"vus_down": 0,
"vus_in_error": 0,
"vus_unknown": 0
},
"2016-09-17T07:09:30.000Z": {
"error_count": 0,
"warning_count": 0,
"pass_count": 0,
"fail_count": 0,
"vus_pending": 0,
"vus_running": 1,
"vus_aborted": 0,
"vus_down": 0,
"vus_in_error": 0,
"vus_unknown": 0
},
"2016-09-17T07:10:00.000Z": {
"error_count": 0,
"warning_count": 0,
"pass_count": 0,
"fail_count": 0,
"vus_pending": 0,
"vus_running": 1,
"vus_aborted": 0,
"vus_down": 0,
"vus_in_error": 0,
"vus_unknown": 0
},
"2016-09-17T07:10:30.000Z": {
"error_count": 0,
"warning_count": 0,
"pass_count": 0,
"fail_count": 0,
"vus_pending": 0,
"vus_running": 0,
"vus_aborted": 0,
"vus_down": 1,
"vus_in_error": 0,
"vus_unknown": 0
}
}