Request Statistics
API Explorer: /masters/{masterId}/reports/{reportId}/data
To get high level ("labelName": "ALL"
) and per label statistics, use the masterId
and /masters/{masterId}/reports/aggregatereport/data
endpoint. The sample code returns stats for each request with a masterId
of 12345678
. Use the masterId
of the actual master in place of 12345678
.
reportId
mentioned in the API explorer is aggregatereport
for this case. Each report in the master has its own reportId
, which will be noted in their respective sections.The response contains an array of objects, one for each request (label) and its corresponding data.
All time values are in milliseconds (ms).
Request Statistics
curl 'https://a.blazemeter.com/api/v4/masters/12345678/reports/aggregatereport/data' \
--user 'api_key_id:api_key_secret'
Request Statistics Response Attributes
Attributes
-
avgBytes
floatread-only
Average Bandwidth
-
avgLatency
integerread-only
Average Latency
-
avgResponseTime
floatread-only
Average Response Time
-
avgThroughput
floatread-only
Average Hits/s
-
duration
integerread-only
Duration of test in seconds
-
errorsCount
integerread-only
Total Number of Errors
-
errorsRate
integerread-only
Error Percentage
-
labelId
stringread-only
The labelId for this label
-
labelName
stringread-only
Name of the label
-
90line
integerread-only
Max Response Time for 90% of samples
-
95line
integerread-only
Max Response Time for 95% of samples
-
99line
integerread-only
Max Response Time for 99% of samples
-
maxResponseTime
integerread-only
Maximum Response Time
-
medianResponseTime
integerread-only
Maximum Response Time for 50% of samples
-
minResponseTime
integerread-only
Minimum Response Time
-
samples
integerread-only
Number of Samples
-
stDev
floatread-only
Standard Deviation (a measure of variation) of the sample elapsed time
-
concurrency
integerread-only
Response200 OK
{
"api_version": 4,
"error": null,
"result": [
{
"avgBytes": 3.9289999999999998,
"avgLatency": 0,
"avgResponseTime": 607.20296093084858,
"avgThroughput": 17.647746243739565,
"duration": 1198,
"errorsCount": 0,
"errorsRate": 0,
"geoMeanResponseTime": null,
"hasLabelPassedThresholds": null,
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"labelName": "bzm - Parallel Controller Dummy",
"90line": 611,
"95line": 611,
"99line": 611,
"maxResponseTime": 619,
"medianResponseTime": 611,
"minResponseTime": 600,
"samples": 21142,
"stDev": 2.7349000955906688,
"concurrency": 20
},
{
"avgBytes": 7.5170000000000003,
"avgLatency": 16.561672462217466,
"avgResponseTime": 282.59748227898888,
"avgThroughput": 49.888240200166805,
"duration": 1199,
"errorsCount": 0,
"errorsRate": 0,
"geoMeanResponseTime": null,
"hasLabelPassedThresholds": null,
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"labelName": "ALL",
"90line": 611,
"95line": 611,
"99line": 611,
"maxResponseTime": 619,
"medianResponseTime": 108,
"minResponseTime": 100,
"samples": 59816,
"stDev": 240.23588800646482,
"concurrency": 40
},
{
"avgBytes": 3.5939999999999999,
"avgLatency": 25.615478098981228,
"avgResponseTime": 105.14469669545431,
"avgThroughput": 32.28213689482471,
"duration": 1198,
"errorsCount": 0,
"errorsRate": 0,
"geoMeanResponseTime": null,
"hasLabelPassedThresholds": null,
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"labelName": "Dummy Sample",
"90line": 110,
"95line": 110,
"99line": 111,
"maxResponseTime": 117,
"medianResponseTime": 105,
"minResponseTime": 100,
"samples": 38674,
"stDev": 3.1836156424647122,
"concurrency": 20
}
]
}