Error Rates
This Eggplant Performance Test Controller REST method gets the error rate over time.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/error_rates
HTTP Method
GET: Gets the error rate over time
URL Query Parameters
Parameter | Description |
---|---|
after_time | A time, expressed in milliseconds since Jan. 1 1970. Only transactions that completed after this time will be considered. |
bucket_size | A time interval, expressed in seconds. Returned data will be resampled to this interval. |
Response Parameters
Type | Description |
---|---|
<timestamp> | A timestamp object which includes an error rate (<integer> ) at that time (in errors/s). |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/error_rates?after_time=147409660000&bucket_size=30
Example Response
{
"2016-09-17T10:04:00.000Z": {
"rate": 0
},
"2016-09-17T10:04:30.000Z": {
"rate": 0.033
},
"2016-09-17T10:05:00.000Z": {
"rate": 0.033
},
"2016-09-17T10:05:30.000Z": {
"rate": 0.033
},
"2016-09-17T10:06:00.000Z": {
"rate": 0.033
}
}