Eggplant Performance Test Controller:
GET Error Counts Method
This method gets the cumulative error count over time.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/error_counts
HTTP Method
GET: Gets the cumulative error count 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
The response will be an object where the entries are timestamps. For each timestamp, there will be an object specifying the error count at that time
Example Request
http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/error_counts?after_time=147409660000&bucket_size=30
Example Response
{
"2016-09-17T10:04:00.000Z": {
"count": 0
},
"2016-09-17T10:04:30.000Z": {
"count": 4
},
"2016-09-17T10:05:00.000Z": {
"count": 6
},
"2016-09-17T10:05:30.000Z": {
"count": 10
},
"2016-09-17T10:06:00.000Z": {
"count": 13
},
"2016-09-17T10:06:30.000Z": {
"count": 15
},
"2016-09-17T10:07:00.000Z": {
"count": 19
},
"2016-09-17T10:07:30.000Z": {
"count": 20
}
}