Summary Statistics
API Explorer: /masters/{masterId}/reports/{reportId}/summary
To get high level summary statistics, use the masterId
and /masters/{masterId}/reports/default/summary
endpoint. The sample code returns summary stats for the masterId
of 12345678
. Use the masterId
of the actual test run in place of 12345678
.
reportId
mentioned in the API explorer is always default
for this case.The response contains an array that contains the full summary of the master.
All time values are in milliseconds (ms) and times provided are in Epoch Time.
Summary Statistics
curl 'https://a.blazemeter.com/api/v4/masters/12345678/reports/default/summary' \
--user 'api_key_id:api_key_secret'
Summary Statistics Response Attributes
Attributes
-
summary
arrayread-only
The summary statistics for this test run
Show/Hide Child Attributes-
avg
floatread-only
Average Response Time
-
bytes
integerread-only
Average Bandwidth
-
concurrency
integerread-only
-
duration
integerread-only
Duration of Test Run
-
durationIsNotConfigured
booleanread-only
Denotes whether the duration was not configured or not
-
failed
integerread-only
Total Number of Errors
-
first
integerread-only
Timestamp (Epoch Time) of First Sample
-
hits
integerread-only
Average Hits/Sec
-
id
stringread-only
The
labelId
the summary was pulled from. Will always beALL
-
last
integerread-only
Timestamp (Epoch Time) of Last Sample
-
lb
stringread-only
Will always get the results from
"ALL"
label (which contains the data for all requests and responses) -
tp90
integerread-only
Max response time for 90% of samples
-
min
integerread-only
Minimum Response Time
-
max
integerread-only
Max Response Time
-
-
maxUsers
integerread-only
The maximum concurrency the test reached
Response200 OK
{
"api_version": 4,
"error": null,
"result": {
"summary": [
{
"avg": 125.41050552890562,
"bytes": 30524070,
"concurrency": 60,
"duration": 1200,
"durationIsNotConfigured": false,
"failed": 93395,
"first": 1551801914,
"histogram": {
"mean": 83
},
"hits": 246613,
"id": "ALL",
"last": 1551803114,
"lb": "ALL",
"tp90": 110,
"min": 50,
"max": 647
}
],
"jmeterLogSummary": [],
"jmeterLogTypeSummary": [],
"maxUsers": 60
}
}