The Test Object

The GUI Functional Test Object

All timestamps are in UNIX Epoch time.

Attributes

  • idinteger

    read-only

    The unique identifier of the test. This is known as the testId and cannot be modified

  • isNewTestboolean

    read-only

    Denotes this is a new test. Always True

  • namestring

    required

    The test name

  • descriptionstring

    A description of the test

  • userIdinteger

    read-only

    The unique identifier of the user

  • creatorClientIdstring

    read-only

    The ID of the creator client. For example, api, if created through an API, or gui, if created thorugh the GUI

  • overrideExecutionsarray

    The test settings used when running the test in BlazeMeter

  • executionsarray

    read-only

    Current execution settings configured for this test

  • shouldSendReportEmailboolean

    Sets the box for whether an email is sent upon completion of a test run.

  • dependenciesobject

    The virtual service and test data details to be used with this test.

  • createdinteger

    read-only

    The time that the test was created

  • updatedinteger

    read-only

    The time that the test was last updated

  • projectIdinteger

    required

    The projectId to which this test belongs

  • lastUpdatedByIdinteger

    read-only

    The ID of the last user that updated the test

  • configurationobject

    The configuration settings for this test

The GUI Functional Test Object

{
    "api_version": 4,
    "error": null,
    "result": {
        "id": 1234567,
        "isNewTest": true,
        "name": "GUI Functional Test",
        "description": "This test uses every GUI Functional test configuration we have.",
        "userId": 123456,
        "creatorClientId": "gui",
        "overrideExecutions": [{
                "executor": "selenium",
                "scenario": "default-scenario",
                "locations": {
                    "harbor-5ab3c64ec8589f914c7b25db": 1
                },
                "capabilities": {
                    "browserName": "chrome",
                    "browserVersion": "69",
                    "blazemeter_videoEnabled": true
                }
            },
            {
                "executor": "selenium",
                "scenario": "default-scenario",
                "locations": {
                    "harbor-5ab3c64ec8589f914c7b25db": 1
                },
                "capabilities": {
                    "browserName": "firefox",
                    "browserVersion": "65",
                    "blazemeter_videoEnabled": true
                }
            }
        ],
        "executions": [{
                "iterations": 1,
                "locationsWeighted": true,
                "executor": "selenium",
                "capabilities": {
                    "browserName": "chrome",
                    "browserVersion": "69",
                    "blazemeter_videoEnabled": true
                },
                "scenario": "demoblaze-Selenium",
                "locations": {
                    "harbor-5ab3c64ec8589f914c7b25db": 1
                },
                "concurrency": 1
            },
            {
                "iterations": 1,
                "locationsWeighted": true,
                "executor": "selenium",
                "capabilities": {
                    "browserName": "firefox",
                    "browserVersion": "65",
                    "blazemeter_videoEnabled": true
                },
                "scenario": "demoblaze-Selenium",
                "locations": {
                    "harbor-5ab3c64ec8589f914c7b25db": 1
                },
                "concurrency": 1
            }
        ],
        "shouldSendReportEmail": false,
        "dependencies": {
		    "data":{
                "schema": "http://blazemeter.com/blazedata/schema",
                "id": "datamodels/testParameters",
                "title": "Test Parameters",
                "description": "",
                "kind": "tdm",
                "type": "object",
                "entities": {
                    "user": {
                        "title": "user",
                        "type": "object",
                        "properties": {
                            "name": { "type": "string" }
                        },
                        "requirements": { "name": "\"John Doe\"" },
                        "targets": {
                            "defaultCsv": {
                                "type": "csv",
                                "file": "user.csv",
                                "isHeadless": false
                            }
                        }
                    }
                }
            },
            "services": [{
                "service": "BlazeDemo",
                "mock-service": "Entries Virtual Service",
                "mock-service-template": "Blazedemo Entries Template"
            }]
        },
        "created": 1592488617,
        "updated": 1592489934,
        "projectId": 123456,
        "lastUpdatedById": 123456,
        "configuration": {
            "type": "functionalGui",
            "dedicatedIpsEnabled": false,
            "canControlRampup": false,
            "targetThreads": 0,
            "enableMockServices": true,
            "scriptType": "taurus",
            "filename": "demoblaze--Selenium.yaml",
            "testMode": "script",
            "extraSlots": 0,
            "plugins": {
                "sharedFolders": [
                    "5e5552e75eed7c2c531142c5"
                ]
            }
        }
    },
    "request_id": "5eeb77dd31348"
}

The API Functional Test Object

Starting February 2022, the API Functional testing feature has been deprecated. Depending on your subscription plan, you may still be able to run existing tests but can no longer create new ones. Please use BlazeMeter API Monitoring to create and run your API Functional Tests going forward.
All timestamps are in UNIX Epoch time.

Attributes

  • idinteger

    read-only

    The unique identifier of the test. This is known as the testId and cannot be modified

  • isNewTestboolean

    read-only

    Denotes this is a new test. Always True

  • namestring

    required

    The test name

  • descriptionstring

    A description of the test

  • userIdinteger

    read-only

    The unique identifier of the user

  • creatorClientIdstring

    read-only

    The ID of the creator client. For example, api, if created through an API, or gui, if created through the GUI

  • overrideExecutionsarray

    The test settings used when running the test in BlazeMeter

  • executionsarray

    read-only

    The execution settings from the file or last test run for this test

  • shouldSendReportEmailboolean

    Sets the box for whether an email is sent upon completion of a test run

  • dependenciesobject

    The virtual service details to be used with this test

  • createdinteger

    read-only

    The time that the test was created

  • updatedinteger

    read-only

    The time that the test was last updated

  • projectIdinteger

    required

    The projectId to which this test belongs

  • lastUpdatedByIdinteger

    read-only

    The ID of the last user that updated the test

  • configurationobject

    Contains all the advanced BlazeMeter related configurations (i.e. running file, JMeter properties, etc.)

The API Functional Test Object

{
    "api_version": 4,
    "error": null,
    "result": {
        "id": 1234567,
        "isNewTest": true,
        "name": "API Functional Test",
        "description": "This test uses every API Functional test configuration we have.",
        "userId": 123456,
        "creatorClientId": "api",
        "overrideExecutions": [{
            "executor": "",
            "holdFor": "19m",
            "rampUp": "1m",
            "concurrency": 20,
            "locations": {
                "us-east4-a": 20
            },
            "locationsPercents": {
                "us-east4-a": 100
            },
            "steps": 0
        }],
        "executions": [{
            "concurrency": 20,
            "holdFor": "19m",
            "rampUp": "1m",
            "steps": 0,
            "locations": {
                "us-east4-a": 20
            },
            "locationsPercents": {
                "us-east4-a": 100
            },
            "scenario": "default-scenario-1234567"
        }],
        "shouldSendReportEmail": true,
        "dependencies": {
            "services": [{
                "service": "BlazeDemo",
                "mock-service": "Entries Virtual Service",
                "mock-service-template": "Blazedemo Entries Template"
            }]
        },
        "created": 1592489620,
        "updated": 1592489637,
        "projectId": 123456,
        "lastUpdatedById": 123456,
        "configuration": {
            "type": "functionalApi",
            "canControlRampup": false,
            "targetThreads": 500,
            "enableHostsOverride": true,
            "enableMockServices": true,
            "scriptType": "",
            "threads": 500,
            "filename": "demoblaze.yml",
            "testMode": "script",
            "extraSlots": 0,
            "plugins": {
                "hosts": [{
                    "hostname": "my.domain.com",
                    "ip": "10.10.10.10"
                }],
                "sharedFolders": [
                    "5e5552e75eed7c2c531142c5"
                ],
                "jmeter": {
                    "version": "auto"
                }
            }
        }
    },
    "request_id": "5eeb77024fe58"
}