Get aggregate action data

Queries action-related metrics (such as HTTP messages or database actions) from a result with grouping/aggregation by location, time in seconds or minutes, network profile, element type, or element name. Use this to get the number of HTTP 404 errors or compute the average response time or determine which assets contained the largest number of bytes.

Path Params
integer
required

Uniquely identifies each result.

Query Params
string
enum
Defaults to elementType

Enum One or more groups to aggregate metrics by. Multiple groups are specified in two ways 1) groupBy=location&groupBy=elementType or 2) groupBy=location,elementType.

boolean
Defaults to false

When enabled, returns only elements that had an error.

integer

Start of the range of element start times to query for. The range is specified as the number of seconds since the effective start of the test.

integer

End of the range of element start times to query for. The range is specified as the number of seconds since the effective end of the test.

string

Name of the annotation that defines the start of the range to query for. If a range type annotation then this may also specify the range end. The system generates Annotations automatically for ramping and the steady state phases of a test. It is also possible to create user created annotations.

string

Name of the annotation that defines the end of the range to query for.

string

Location filter. Specify multiple locations as follows location=Amazon%20EC2%20Mumbai&location=Amazon%20EC2%20US%20East.

string

NetworkProfile filter. Multiple profiles are specified as follows networkProfile=XXXX&networkProfile=YYYYY.

string
enum

Enum Element type filter, either message, script, or databaseAction. A message refers to HTTP messages, script refers to JavaScript elements, databaseAction refers to database actions.

Allowed:
Headers
string
required

All calls to this API require that you pass in the token you get from the Generate a token operation as an X-Auth-Token request header. See Get started for help to initially call the API.

Responses

400

Bad request. The URL or JSON request object is invalid.

401

Unauthorized. The security token is missing or invalid. See Get started for help initially running the API.

404

Not found. The requested object doesn't exist.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json