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
Attributes
-
testCasesResults
arrayThe summary stats for all the test case results
Show/Hide Child Attributes-
sessionId
stringThe
sessionId
for the test case -
sessionName
stringThe name of the session for this test case
-
testSuiteName
stringThe name of the test suite
-
testCaseName
stringThe name of the test case
-
testSuiteUniqueAlias
stringThe unique alias for the test suite
-
testCaseUniqueAlias
stringThe unique alias for the test case
-
status
stringDenotes if the test case
passed
orfailed
-
browserName
stringThe name of the browser used for this test case
-
browserVersion
stringThe browser version used for this test case
-
definedStatus
stringDenotes if the test case
passed
orfailed
or isbroken
or isundefined
-
-
gridSummary
objectA summary of the counts for the GUI Functional test run
Show/Hide Child Attributes-
uniqueTestCasesCount
integerThe unique number of test cases in this test
-
uniqueSuitesCount
integerThe unique number of test suties in this test
-
passedTestCasesCount
integerThe number of test cases that are in a
passed
state -
failedTestCasesCount
integerThe number of the test cases that are in a
failed
state -
brokenTestCasesCount
integerThe number of test cases that are in a
broken
state -
undefinedTestCasesCount
integerThe number of test cases that are in a
undefined
state -
testCasesCount
integerThe number of test cases in this test
-
passedPercent
floatThe percentage of test cases that passed (
1
being 100 percent) -
started
floatThe timestamp for when this test began
-
ended
floatThe timestamp for when this test ended
-
-
uniqueLocationNames
arrayList 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"
}