Eggplant Performance Test Controller:
GET Timing Counts Method

This method gets the cumulative timing counts over time.

URL

/test_controller/api/1.0/<workspace>/<project>/<test>/timings/counts

HTTP Method

GET: Get the cumulative timing counts 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 total number of timings that had passed and failed at that time.

Example Request

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

Example Response

{

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

"Buy (passed)": 1,

"Home (passed)": 1,

"Login (passed)": 1,

"Logout (passed)": 1,

"Search (passed)": 1,

"<COMBINED> (passed)": 5,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 2,

"Home (passed)": 3,

"Login (passed)": 2,

"Logout (passed)": 2,

"Search (passed)": 2,

"<COMBINED> (passed)": 11,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 3,

"Home (passed)": 4,

"Login (passed)": 4,

"Logout (passed)": 3,

"Search (passed)": 4,

"<COMBINED> (passed)": 18,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 5,

"Home (passed)": 5,

"Login (passed)": 5,

"Logout (passed)": 4,

"Search (passed)": 5,

"<COMBINED> (passed)": 24,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 6,

"Home (passed)": 6,

"Login (passed)": 6,

"Logout (passed)": 6,

"Search (passed)": 6,

"<COMBINED> (passed)": 30,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 7,

"Home (passed)": 8,

"Login (passed)": 7,

"Logout (passed)": 7,

"Search (passed)": 7,

"<COMBINED> (passed)": 36,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 9,

"Home (passed)": 9,

"Login (passed)": 9,

"Logout (passed)": 8,

"Search (passed)": 9,

"<COMBINED> (passed)": 44,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

},

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

"Buy (passed)": 10,

"Home (passed)": 10,

"Login (passed)": 10,

"Logout (passed)": 10,

"Search (passed)": 10,

"<COMBINED> (passed)": 50,

"Buy (failed)": 0,

"Home (failed)": 0,

"Login (failed)": 0,

"Logout (failed)": 0,

"Search (failed)": 0,

"<COMBINED> (failed)": 0

}

}

 

This topic was last updated on October 11, 2019, at 11:19:02 AM.

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