logo AWS Technology Partner

API: Percentiles

API Endpoint
https://www.redline13.com/Api/Percentiles

Retrieve percentiles for a set of tests, up to 5
The results will be JSON array of endpoints and their percentiles, each item in array is array of

loadTestId
LoadTestId for this metric.
label
Full label stored for endpoint.
data points
The remainder of the data will be each percentile either the full set or limited to the requested percentiles.

API Parameters

Parameter Type Required Details
loadTestId GET Yes

ID of load test or comma separated list of up to 5 load test ids.

filter GET Optional, if not specified all are returned.

Name of the label or URL, can be partial. No wildcards.

p GET Optional, if not specified all percentiles are returned.

Single percentile or comma separated list for example p=90,95,99.

Response

For a request such as

curl -s "https://www.redline13.com/Api/Percentiles?loadTestId=33,26&filter=google&p=50,75,95" -H "X-Redline-Auth: YOUR_KEY" | jq .
[
  [
    "33",
    "https://www.google.com/",
    0.9475,
    0.982,
    0.982
  ],
  [
    "33",
    "https://www.google.com/async/bgasy",
    0.1535,
    0.154,
    0.154
  ],
  [
    "33",
    "https://www.google.com/client_204",
    0.144,
    0.145,
    0.145
  ],
...