Eggplant Performance Test Controller:
GET Transaction Rates Method

This method gets the transaction rates over time.

URL

/test_controller/api/1.0/<workspace>/<project>/<test>/transactions/rates

HTTP Method

GET: Gets the transaction rates 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 rate of each transaction at that time.

Example Request

http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/transactions/rates?after_time=147409660000&bucket_size=60

Example Response

{

"2016-09-17T09:35:00.000Z": {

"Buy": 0.017,

"Home": 0.017,

"Login": 0.017,

"Logout": 0.017,

"Search": 0.017,

"<COMBINED>": 0.083

},

"2016-09-17T09:36:00.000Z": {

"Buy": 0.017,

"Home": 0.033,

"Login": 0.017,

"Logout": 0.017,

"Search": 0.017,

"<COMBINED>": 0.1

},

"2016-09-17T09:37:00.000Z": {

"Buy": 0.017,

"Home": 0.017,

"Login": 0.033,

"Logout": 0.017,

"Search": 0.033,

"<COMBINED>": 0.117

},

"2016-09-17T09:38:00.000Z": {

"Buy": 0.033,

"Home": 0.017,

"Login": 0.017,

"Logout": 0.017,

"Search": 0.017,

"<COMBINED>": 0.1

},

"2016-09-17T09:39:00.000Z": {

"Buy": 0.017,

"Home": 0.017,

"Login": 0.017,

"Logout": 0.033,

"Search": 0.017,

"<COMBINED>": 0.1

},

"2016-09-17T09:40:00.000Z": {

"Buy": 0.017,

"Home": 0.033,

"Login": 0.017,

"Logout": 0.017,

"Search": 0.017,

"<COMBINED>": 0.1

},

"2016-09-17T09:41:00.000Z": {

"Buy": 0.033,

"Home": 0.017,

"Login": 0.033,

"Logout": 0.017,

"Search": 0.033,

"<COMBINED>": 0.133

},

"2016-09-17T09:42:00.000Z": {

"Buy": 0.017,

"Home": 0.017,

"Login": 0.017,

"Logout": 0.033,

"Search": 0.017,

"<COMBINED>": 0.1

}

}

 

This topic was last updated on March 16, 2020, at 02:14:19 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant