GUI Functional Summary Statistics
API Explorer: /masters/{masterId}/xbt-summary
To get GUI functional summary statistics, use the masterId. The sample code returns the summary stats for the masterId of 12345678. Use the masterId of the actual test run in place of 12345678.
GUI Functional Summary Statistics
curl 'https://a.blazemeter.com/api/v4/masters/12345678/xbt-summary' \
--user 'api_key_id:api_key_secret'
GUI Functional Summary Statistics Response Attributes
All timestamps are in UNIX Epoch Time.
Attributes
-
testCasesResultsarrayThe summary stats for all the test case results
Show/Hide Child Attributes
-
sessionIdstringThe
sessionIdfor the test case -
sessionNamestringThe name of the session for this test case
-
testSuiteNamestringThe name of the test suite
-
testCaseNamestringThe name of the test case
-
testSuiteUniqueAliasstringThe unique alias for the test suite
-
testCaseUniqueAliasstringThe unique alias for the test case
-
statusstringDenotes if the test case
passedorfailed -
browserNamestringThe name of the browser used for this test case
-
browserVersionstringThe browser version used for this test case
-
definedStatusstringDenotes if the test case
passedorfailedor isbrokenor isundefined
-
-
gridSummaryobjectA summary of the counts for the GUI Functional test run
Show/Hide Child Attributes
-
uniqueTestCasesCountintegerThe unique number of test cases in this test
-
uniqueSuitesCountintegerThe unique number of test suties in this test
-
passedTestCasesCountintegerThe number of test cases that are in a
passedstate -
failedTestCasesCountintegerThe number of the test cases that are in a
failedstate -
brokenTestCasesCountintegerThe number of test cases that are in a
brokenstate -
undefinedTestCasesCountintegerThe number of test cases that are in a
undefinedstate -
testCasesCountintegerThe number of test cases in this test
-
passedPercentfloatThe percentage of test cases that passed (
1being 100 percent) -
startedfloatThe timestamp for when this test began
-
endedfloatThe timestamp for when this test ended
-
-
uniqueLocationNamesarrayList of unique locations used in this test
Response200 OK
{
"api_version": 4,
"error": null,
"result": {
"testCasesResults": [
{
"sessionId": "r-sg-5e0a77876335f",
"sessionName": "My Session",
"testSuiteName": "Test Suite #1",
"testCaseName": "Test Case #1",
"testSuiteUniqueAlias": "Test Suite #1-1",
"testCaseUniqueAlias": "Test Case #1-1",
"status": "passed",
"browserName": "chrome",
"browserVersion": "69.0.3497.92",
"platformName": null,
"platformVersion": null,
"definedStatus": "passed"
},
{
"sessionId": "r-sg-5e0a77876335f",
"sessionName": "My Session",
"testSuiteName": "Test Suite #2",
"testCaseName": "Test Case #2",
"testSuiteUniqueAlias": "Test Suite #2-0",
"testCaseUniqueAlias": "Test Case #2-0",
"status": "failed",
"browserName": "chrome",
"browserVersion": "69.0.3497.92",
"platformName": null,
"platformVersion": null,
"definedStatus": "failed"
},
{
"sessionId": "r-sg-5e0a77876335f",
"sessionName": "My Session",
"testSuiteName": "Test Suite #2",
"testCaseName": "Test Case #3",
"testSuiteUniqueAlias": "Test Suite #2-0",
"testCaseUniqueAlias": "Test Case #3-0",
"status": "broken",
"browserName": "chrome",
"browserVersion": "69.0.3497.92",
"platformName": null,
"platformVersion": null,
"definedStatus": "broken"
}
],
"gridSummary": {
"uniqueTestCasesCount": 3,
"uniqueSuitesCount": 2,
"passedTestCasesCount": 1,
"failedTestCasesCount": 1,
"brokenTestCasesCount": 1,
"undefinedTestCasesCount": 0,
"testCasesCount": 3,
"passedPercent": 0.33333333333333331,
"started": 1577744282.0903354,
"ended": 1577744299.1121609
},
"uniqueLocationNames": [
"US East (Virginia) - Functional GUI Test"
],
"reportUrl": null
},
"request_id": "5e0a7a4876086"
}