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.

If you do not know the ID of the master to start, use List Masters to return a list of your created masters.

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

  • testCasesResultsarray

    The summary stats for all the test case results

  • gridSummaryobject

    A summary of the counts for the GUI Functional test run

  • uniqueLocationNamesarray

    List 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"
}