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.
The 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.
To narrow down the data you want to look at, visit the advanced settings for the details on how to narrow down your data by scenario, location, or a specific time range.
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
-
summaryarrayread-only
The summary statistics for this test run
Show/Hide Child Attributes
-
avgfloatread-only
Average Response Time
-
bytesintegerread-only
Average Bandwidth
-
concurrencyintegerread-only
-
durationintegerread-only
Duration of Test Run
-
durationIsNotConfiguredbooleanread-only
Denotes whether the duration was not configured or not
-
failedintegerread-only
Total Number of Errors
-
firstintegerread-only
Timestamp (Epoch Time) of First Sample
-
hitsintegerread-only
Average Hits/Sec
-
idstringread-only
The
labelIdthe summary was pulled from. Will always beALL -
lastintegerread-only
Timestamp (Epoch Time) of Last Sample
-
lbstringread-only
Will always get the results from
"ALL"label (which contains the data for all requests and responses) -
tp90integerread-only
Max response time for 90% of samples
-
minintegerread-only
Minimum Response Time
-
maxintegerread-only
Max Response Time
-
-
maxUsersintegerread-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
}
}