Eggplant Performance Test Controller:
Get Metrics Totals Method

This method gets the total passed and failed counts over time of a set of metrics. Note that you must specify at least one metric name in the query data.



HTTP Method

GET: Get the total passed and failed counts over time of a set of metrics.

URL Query Parameters

Parameter Description
metric The name of a custom metric. Note that you can specify more than one metric name.
after_time A time, expressed in milliseconds since Jan 1st 1970. Only transactions that are completed after this time are considered.
bucket_size A time interval, expressed in seconds. Returned data are resampled to this interval.

Response Parameters

The response is an object where the entries are timestamps. For each timestamp, there is an object specifying the total passed and failed counts at which the metrics were occurring at this point in time.

Example Request


Example Response


"2016-09-17T10:12:00.000Z": {

"widgetsCreated (passed)": 233,

"widgetsDestroyed (passed)": 284,

"<COMBINED> (passed)": 517,

"widgetsCreated (failed)": 0,

"widgetsDestroyed (failed)": 0,

"<COMBINED> (failed)": 0


"2016-09-17T10:12:30.000Z": {

"widgetsCreated (passed)": 338,

"widgetsDestroyed (passed)": 284,

"<COMBINED> (passed)": 622,

"widgetsCreated (failed)": 0,

"widgetsDestroyed (failed)": 0,

"<COMBINED> (failed)": 0


"2016-09-17T10:13:00.000Z": {

"widgetsCreated (passed)": 446,

"widgetsDestroyed (passed)": 486,

"<COMBINED> (passed)": 932,

"widgetsCreated (failed)": 8,

"widgetsDestroyed (failed)": 0,

"<COMBINED> (failed)": 8


"2016-09-17T10:13:30.000Z": {

"widgetsCreated (passed)": 689,

"widgetsDestroyed (passed)": 682,

"<COMBINED> (passed)": 1371,

"widgetsCreated (failed)": 4,

"widgetsDestroyed (failed)": 12,

"<COMBINED> (failed)": 16




This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant