GUI Functional Full Report

API Explorer: /sessions/{sessionId}/xbt-report

To get GUI functional full report, use the sessionId from the masterId of the test run. The sample code returns the full report for the sessionId of r-sg-5e0a77876335f. Use the sessionId of the actual test run in place of r-sg-5e0a77876335f.

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 Full Report

curl 'https://a.blazemeter.com/api/v4/sessions/r-sg-5e0a77876335f/xbt-report' \
    --user 'api_key_id:api_key_secret'

GUI Functional Full Report Response Attributes

All timestamps are in UNIX Epoch Time.

Attributes

  • sessionIdstring

    The sessionId for this test run

  • gridSessionIdstring

    The Selenium grid session ID

  • browserNamestring

    The browser name that was used

  • browserVersionstring

    The browser version that was used

  • testCasesarray

    A list of the test cases run in the test

  • videostring

    The download link for the video file. This link remains active for 20 minutes

  • metadataobject

    The metadata details from this test case

Response200 OK

{
    "api_version": 4,
    "error": null,
    "result": {
        "sessionId": "r-sg-5e0a77876335f",
        "gridSessionId": "f712ba1c53715e6cef4468d6a39d7909",
        "browserName": "chrome",
        "browserVersion": "69.0.3497.92",
        "platformName": null,
        "platformVersion": null,
        "testCases": [
            {
                "testCaseResult": null,
                "testSuiteName": "Test Suite #1",
                "offset": 8.5753750801086426,
                "testCaseUniqueAlias": "Test Case #1-1",
                "start": 1577744282.0903354,
                "testSuiteUniqueAlias": "Test Suite #1-1",
                "screenshots": [
                    {
                        "ts": 1577744286.1594784,
                        "filename": "wdc-5e0a779c1cf36.png",
                        "commandId": "wdc-5e0a779c1cf36",
                        "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/screenshots/wdc-5e0a779c1cf36.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=0175374ee3b9136a5dec8f974aaa63464221f658b5edd7d268edc6daf47df528"
                    }
                ],
                "commands": [
                    {
                        "result": {
                            "value": {
                                "locationContextEnabled": true,
                                "cssSelectorsEnabled": true,
                                "webStorageEnabled": true,
                                "acceptInsecureCerts": true,
                                "networkConnectionEnabled": false,
                                "takesHeapSnapshot": true,
                                "takesScreenshot": true,
                                "browserConnectionEnabled": false,
                                "javascriptEnabled": true,
                                "applicationCacheEnabled": false,
                                "acceptSslCerts": true,
                                "goog:chromeOptions": {
                                    "debuggerAddress": "localhost:46693"
                                },
                                "version": "69.0.3497.92",
                                "browserName": "chrome",
                                "platform": "Linux",
                                "hasTouchScreen": false,
                                "setWindowRect": true,
                                "rotatable": false,
                                "mobileEmulationEnabled": false,
                                "handlesAlerts": true,
                                "nativeEvents": true,
                                "unexpectedAlertBehaviour": "ignore",
                                "databaseEnabled": false,
                                "pageLoadStrategy": "normal",
                                "chrome": {
                                    "userDataDir": "/tmp/.org.chromium.Chromium.ZqPzbT",
                                    "chromedriverVersion": "2.44.609551 (5d576e9a44fe4c5b6a07e568f1ebc753f1214634)"
                                },
                                "webdriver_remote_sessionid": "f712ba1c53715e6cef4468d6a39d7909"
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a779452afc",
                        "offset": 2.8531484603881836,
                        "method": "POST",
                        "isTestCaseDefined": false,
                        "start": 1577744276.3681087,
                        "args": {
                            "desiredCapabilities": {
                                "browserVersion": "69.0.3497.92",
                                "acceptInsecureCerts": true,
                                "browserName": "chrome",
                                "proxy": {
                                    "sslProxy": "127.0.0.1:8081",
                                    "ftpProxy": "127.0.0.1:8081",
                                    "proxyType": "manual",
                                    "httpProxy": "127.0.0.1:8081",
                                    "noProxy": ""
                                },
                                "blazemeter_projectId": 429821,
                                "blazemeter_videoEnabled": "True",
                                "blazemeter_sessionName": "My Session"
                            },
                            "capabilities": {
                                "alwaysMatch": {
                                    "browserVersion": "69.0.3497.92",
                                    "browserName": "chrome",
                                    "acceptInsecureCerts": true
                                }
                            }
                        },
                        "duration": 4,
                        "command": "new session"
                    },
                    {
                        "result": {
                            "value": {
                                "y": 0,
                                "width": 1920,
                                "height": 1058,
                                "x": 0
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a779b3e998",
                        "offset": 9.7519135475158691,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744283.2668738,
                        "args": {
                            "windowHandle": "current",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 0,
                        "command": "window/current/maximize"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a779c1cf36",
                        "offset": 10.614964246749878,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744284.1299245,
                        "args": {
                            "url": "https://demoblaze.com",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 2,
                        "command": "url"
                    },
                    {
                        "result": {
                            "value": {
                                "ELEMENT": "0.6739307236473044-1"
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a779f3e87d",
                        "offset": 13.75328254699707,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744287.2682428,
                        "args": {
                            "value": "login2",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "using": "id"
                        },
                        "duration": 0,
                        "command": "element"
                    },
                    {
                        "result": {
                            "value": {
                                "ELEMENT": "0.6739307236473044-2"
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a779febf11",
                        "offset": 14.467318058013916,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744287.9822783,
                        "args": {
                            "value": "loginusername",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "using": "id"
                        },
                        "duration": 0,
                        "command": "element"
                    },
                    {
                        "result": {
                            "value": {
                                "ELEMENT": "0.6739307236473044-3"
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a09f1b8",
                        "offset": 15.157343864440918,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744288.6723042,
                        "args": {
                            "value": "loginpassword",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "using": "id"
                        },
                        "duration": 0,
                        "command": "element"
                    },
                    {
                        "result": {
                            "value": {
                                "ELEMENT": "0.6739307236473044-4"
                            },
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a14b16f",
                        "offset": 15.80281400680542,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744289.3177743,
                        "args": {
                            "value": "#logInModal > div:nth-child(1) > div:nth-child(1) > div:nth-child(3) > button:nth-child(2)",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "using": "css selector"
                        },
                        "duration": 0,
                        "command": "element"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a1efbc4",
                        "offset": 16.476950168609619,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744289.9919105,
                        "args": {
                            "id": "0.6739307236473044-1",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 0,
                        "command": "element/0.6739307236473044-1/click"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a2b3003",
                        "offset": 17.232360363006592,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744290.7473207,
                        "args": {
                            "id": "0.6739307236473044-2",
                            "value": [
                                "j",
                                "a",
                                "m",
                                "e",
                                "s",
                                "_",
                                "t",
                                "e",
                                "s",
                                "t"
                            ],
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "text": "james_test"
                        },
                        "duration": 0,
                        "command": "element/0.6739307236473044-2/value"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a3967b1",
                        "offset": 18.112419366836548,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744291.6273797,
                        "args": {
                            "id": "0.6739307236473044-3",
                            "value": [
                                "t",
                                "e",
                                "s",
                                "t"
                            ],
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909",
                            "text": "test"
                        },
                        "duration": 0,
                        "command": "element/0.6739307236473044-3/value"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a45e957",
                        "offset": 18.886352300643921,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744292.4013126,
                        "args": {
                            "id": "0.6739307236473044-4",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 0,
                        "command": "element/0.6739307236473044-4/click"
                    }
                ],
                "message": "Look! It passed!",
                "status": "passed",
                "testCaseName": "Test Case #1",
                "duration": 11.249434232711792,
                "index": 0,
                "browserName": "chrome",
                "browserVersion": "69.0.3497.92",
                "platformName": null,
                "platformVersion": null,
                "sessionId": "r-sg-5e0a77876335f",
                "id": "5e0a77a2a82909964e47fa50",
                "har": {
                    "filename": "1577744293iiiuer.har",
                    "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/hars/1577744293iiiuer.har?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=5ef27eb4ea7f5be7d468d2e11fddfb2c27ca5d0d8dcff7fda8a8d7ced2f86d6c"
                }
            },
            {
                "testCaseResult": null,
                "testSuiteName": "Test Suite #2",
                "offset": 20.345702171325684,
                "testCaseUniqueAlias": "Test Case #2-0",
                "start": 1577744293.8606625,
                "testSuiteUniqueAlias": "Test Suite #2-0",
                "screenshots": [
                    {
                        "ts": 1577744294.4810586,
                        "filename": "wdc-5e0a77a60e261.png",
                        "commandId": "wdc-5e0a77a60e261",
                        "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/screenshots/wdc-5e0a77a60e261.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=fc5cc5d43798dfd71f39d6a8a130cec611010b9291c52f834be5c603b7ab04a9"
                    }
                ],
                "commands": [
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a60e261",
                        "offset": 20.555941581726074,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744294.0709019,
                        "args": {
                            "url": "https://demoblaze.com",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 0,
                        "command": "url"
                    }
                ],
                "message": "Uh-oh! It failed!",
                "status": "failed",
                "testCaseName": "Test Case #2",
                "duration": 1.7311861515045166,
                "index": 1,
                "browserName": "chrome",
                "browserVersion": "69.0.3497.92",
                "platformName": null,
                "platformVersion": null,
                "sessionId": "r-sg-5e0a77876335f",
                "id": "5e0a77a7a82909964e485252",
                "har": {
                    "filename": "1577744295croccl.har",
                    "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/hars/1577744295croccl.har?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=e8db91fc4367fd9562ec35f05aef56612a70eb92db13de68466d491505eaf249"
                }
            },
            {
                "testCaseResult": null,
                "testSuiteName": "Test Suite #2",
                "offset": 22.596968173980713,
                "testCaseUniqueAlias": "Test Case #3-0",
                "start": 1577744296.1119285,
                "testSuiteUniqueAlias": "Test Suite #2-0",
                "screenshots": [
                    {
                        "ts": 1577744296.8084586,
                        "filename": "wdc-5e0a77a862596.png",
                        "commandId": "wdc-5e0a77a862596",
                        "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/screenshots/wdc-5e0a77a862596.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=0d7a87f807f458764f31c4254d8ab367524645bb86cd23eaba6b5cdb413ca300"
                    }
                ],
                "commands": [
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77a862596",
                        "offset": 22.910663366317749,
                        "method": "POST",
                        "isTestCaseDefined": true,
                        "start": 1577744296.4256237,
                        "args": {
                            "url": "https://demoblaze.com",
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "duration": 0,
                        "command": "url"
                    },
                    {
                        "result": {
                            "value": null,
                            "status": 0,
                            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
                        },
                        "id": "wdc-5e0a77aa3748c",
                        "offset": 24.724010944366455,
                        "method": "DELETE",
                        "isTestCaseDefined": false,
                        "start": 1577744298.2389712,
                        "args": null,
                        "duration": 0,
                        "command": "close"
                    }
                ],
                "message": "It broke!",
                "status": "broken",
                "testCaseName": "Test Case #3",
                "duration": 3.000232458114624,
                "index": 2,
                "browserName": "chrome",
                "browserVersion": "69.0.3497.92",
                "platformName": null,
                "platformVersion": null,
                "sessionId": "r-sg-5e0a77876335f",
                "id": "5e0a77aaa82909964e488018",
                "har": {
                    "filename": "1577744299nivwvc.har",
                    "link": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/hars/1577744299nivwvc.har?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=8b063b8b9de7851bc9c842c727a7c5d6efc6b330e2477376143435df6c35fbde"
                }
            }
        ],
        "video": "https://blazemeter.s3.amazonaws.com/users/344260/tests/7554583/reports/r-sg-5e0a77876335f/videos/selenium_test_video.mp4?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJPZOF6U7I33QK2CQ%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T223145Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=c3c0317e21c4a30f585f2ef30228fffff477255349d9740d53ae63866232c07c",
        "vnc": null,
        "metadata": {
            "value": {
                "locationContextEnabled": true,
                "cssSelectorsEnabled": true,
                "webStorageEnabled": true,
                "acceptInsecureCerts": true,
                "networkConnectionEnabled": false,
                "takesHeapSnapshot": true,
                "takesScreenshot": true,
                "browserConnectionEnabled": false,
                "javascriptEnabled": true,
                "applicationCacheEnabled": false,
                "acceptSslCerts": true,
                "goog:chromeOptions": {
                    "debuggerAddress": "localhost:46693"
                },
                "version": "69.0.3497.92",
                "browserName": "chrome",
                "platform": "Linux",
                "hasTouchScreen": false,
                "setWindowRect": true,
                "rotatable": false,
                "webdriver.remote.sessionid": "f712ba1c53715e6cef4468d6a39d7909",
                "mobileEmulationEnabled": false,
                "handlesAlerts": true,
                "nativeEvents": true,
                "unexpectedAlertBehaviour": "ignore",
                "databaseEnabled": false,
                "pageLoadStrategy": "normal",
                "chrome": {
                    "userDataDir": "/tmp/.org.chromium.Chromium.ZqPzbT",
                    "chromedriverVersion": "2.44.609551 (5d576e9a44fe4c5b6a07e568f1ebc753f1214634)"
                }
            },
            "status": 0,
            "sessionId": "f712ba1c53715e6cef4468d6a39d7909"
        }
    },
    "request_id": "5e0a7ad19bc58"
}