Transaction Response Times
This Eggplant Performance Test Controller REST method gets the transaction response times over time.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/transactions/response_times
HTTP Method
GET: Gets the transaction response times 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 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 object specifying the response times of each transaction at the timestamp (resampled to this interval). |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/transactions/response_times?after_time=147409660000&bucket_size=30
Example Response
{
"2016-09-17T09:35:00.000Z": {
"Buy": 5.904,
"Home": 9.115,
"Login": 6.874,
"Logout": 9.703,
"Search": 6.715,
"<COMBINED>": 7.662
},
"2016-09-17T09:36:00.000Z": {
"Buy": 8.263,
"Home": 7.769,
"Login": 8.566,
"Logout": 7.784,
"Search": 9.573,
"<COMBINED>": 8.287
},
"2016-09-17T09:37:00.000Z": {
"Buy": 5.875,
"Home": 7.981,
"Login": 6.77,
"Logout": 8.923,
"Search": 8.97,
"<COMBINED>": 7.751
},
"2016-09-17T09:38:00.000Z": {
"Buy": 7.731,
"Home": 6.64,
"Login": 8.043,
"Logout": 9.111,
"Search": 7.97,
"<COMBINED>": 7.854
},
"2016-09-17T09:39:00.000Z": {
"Buy": 9.895,
"Home": 6.357,
"Login": 5.014,
"Logout": 6.376,
"Search": 9.935,
"<COMBINED>": 7.326
},
"2016-09-17T09:40:00.000Z": {
"Buy": 6.707,
"Home": 7.732,
"Login": 8.468,
"Logout": 5.453,
"Search": 8.953,
"<COMBINED>": 7.508
},
"2016-09-17T09:41:00.000Z": {
"Buy": 5.458,
"Home": null,
"Login": 6.953,
"Logout": null,
"Search": 7.394,
"<COMBINED>": 6.602
}
}