The Test Object
The GUI Functional Test Object
All timestamps are in UNIX Epoch time.
Attributes
-
idintegerread-only
The unique identifier of the test. This is known as the
testIdand cannot be modified -
isNewTestbooleanread-only
Denotes this is a new test. Always
True -
namestringrequired
The test name
-
descriptionstringA description of the test
-
userIdintegerread-only
The unique identifier of the user
-
creatorClientIdstringread-only
The ID of the creator client. For example,
api, if created through an API, orgui, if created thorugh the GUI -
overrideExecutionsarrayThe test settings used when running the test in BlazeMeter
Show/Hide Child Attributes
-
executorstringThe script type you are running (similar to
executorin Taurus). Will always beseleniumfor GUI functional tests -
scenariostringBlazeMeter scenario reference for this execution
-
locationsobjectThe locations where the test will run
Show/Hide Child Attributes
-
location IdintegerA
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the number of users you want to run on that location. Use this ORlocationsPercentsdata, not both
-
-
capabilitiesobjectThe webdriver capabilities to be used with this test
Show/Hide Child Attributes
-
browserNamestringThe type of browser you want to use. Can be either
chrome, for Chrome, orfirefox, for Firefox -
browserVersionstringThe browser version you want to use. See the GUI Functional Capabilities section for details on the values that can go into this attribute
-
blazemeter_videoEnabledbooleanDenotes the GUI test will record a video of the test running
-
-
-
executionsarrayread-only
Current execution settings configured for this test
Show/Hide Child Attributes
-
iterationsintegerread-only
The number of iterations to run the test with. Will always be
1for this test type. Same asiterationsin Taurus -
locationsWeightedbooleanread-only
Denotes if the values in the
locationsattribute are weighted values or not (same aslocationsWeightedin Taurus) -
executorstringread-only
The script type you are running. Includes the following:
gatlinggrinderjmeterlocustpbenchseleniumsiege -
capabilitiesobjectread-only
The webdriver capabilities to be used with this test
Show/Hide Child Attributes
-
browserNamestringread-only
The type of browser you want to use. Can be either
chrome, for Chrome, orfirefox, for Firefox -
browserVersionstringread-only
-
blazemeter_videoEnabledbooleanread-only
-
-
scenariostringread-only
BlazeMeter scenario reference for GUI reports
-
locationsobjectread-only
Location details for this test
Show/Hide Child Attributes
-
location Idintegerread-only
A
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the number of users you want to run on that location. Use this ORlocationsPercentsdata, not both
-
-
concurrencyintegerread-only
The number of concurrent virtual users simulated to run on this location. For example,
20will set the test to run with 20 concurrent users. Minimum:1. Same asconcurrencyin Taurus
-
-
shouldSendReportEmailbooleanSets the box for whether an email is sent upon completion of a test run.
-
dependenciesobjectThe virtual service and test data details to be used with this test.
Show/Hide Child Attributes
-
servicesarrayThe list of virtual services to be used in this test.
Show/Hide Child Attributes
-
servicestringThe name of the virtual service. Use the List Virtual Services API to find the name
-
mock-servicestringThe name of the running virtual service instance. Use the List Virtual Services API to find the virtual service
-
mock-service-templatestringThe name of the virtual service template. Use the List Virtual Service Templates API to find the template
-
-
dataarrayThe list of test data entities to be used in this test
Show/Hide Child Attributes
-
entitiesarrayThe list of Test Data Entities associated with this test. A Data Entity contains one or more Test Data Objects.
-
kindstringThe kind of Test Data is "tdm".
-
typestringThe type of Test Data is "object".
-
-
-
createdintegerread-only
The time that the test was created
-
updatedintegerread-only
The time that the test was last updated
-
projectIdintegerrequired
The
projectIdto which this test belongs -
lastUpdatedByIdintegerread-only
The ID of the last user that updated the test
-
configurationobjectThe configuration settings for this test
Show/Hide Child Attributes
-
typestringThe test type. Must be
functionalGui -
dedicatedIpsEnabledbooleanUse dedicated IPs for test (not used in this test type). Must have dedicated IPs for ALL locations configured
-
canControlRampupbooleanIf the user includes a Concurrency Thread Group in their JMX, this parameter indicates if the feature for pausing and resuming ramp-up is enabled. Not used in this test type
-
targetThreadsintegerThe target number of threads (not used in this test type). For example:
500 -
enableMockServicesbooleanDenotes if Service Virtualization is enabled or not
-
scriptTypestringThe script types available. Includes:
apiritifgatlinggrinderjmeterlocustnosepbenchpytestrobotseleniumsiegetaurus -
filenamestringThe name of the file to start test with. For example,
BlazeDemoTest.jmx. Note: You must also upload the file - see Upload or Update Asset Files -
testModestringThe mode this test was made with. Can only be
script -
pluginsobjectThe plugin details used for this test
Show/Hide Child Attributes
-
sharedFoldersarrayList of
folderIds to be included
-
-
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
All timestamps are in UNIX Epoch time.
Attributes
-
idintegerread-only
The unique identifier of the test. This is known as the
testIdand cannot be modified -
isNewTestbooleanread-only
Denotes this is a new test. Always
True -
namestringrequired
The test name
-
descriptionstringA description of the test
-
userIdintegerread-only
The unique identifier of the user
-
creatorClientIdstringread-only
The ID of the creator client. For example,
api, if created through an API, orgui, if created through the GUI -
overrideExecutionsarrayThe test settings used when running the test in BlazeMeter
Show/Hide Child Attributes
-
executorstringThe script type you are running (similar to
executorin Taurus). Includes the following:gatlinggrinderjmeterlocustpbenchseleniumsiege -
holdForstringThe length of time the test will run at the peak concurrency (same as
hold-forin Taurus). Values can be provided inm(minutes) only -
rampUpstringThe length of time the test will take to ramp-up to full concurrency (same as
ramp-upin Taurus). Values can be provided inm(minutes) only -
concurrencyintegerThe number of concurrent virtual users simulated to run on this location. For example,
20will set the test to run with 20 concurrent users. Minimum:1. Same asconcurrencyin Taurus -
locationsobjectThe locations where the test will run
Show/Hide Child Attributes
-
location IdintegerA
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the number of users you want to run on that location. Use this ORlocationsPercentsdata, not both
-
-
locationsPercentsobjectThe percentage of users each location gets
Show/Hide Child Attributes
-
location IdintegerA
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the percentage of users you want to run on that location. Use this ORlocationsdata, not both
-
-
stepsintegerThe number of rampup steps (same as
stepsin Taurus). This can be empty
-
-
executionsarrayread-only
The execution settings from the file or last test run for this test
Show/Hide Child Attributes
-
concurrencyintegerread-only
The number of concurrent virtual users simulated to run on this location. For example,
20will set the test to run with 20 concurrent users. Minimum:1. Same asconcurrencyin Taurus -
holdForstringread-only
The length of time the test will run at the peak concurrency (same as
hold-forin Taurus) -
rampUpstringread-only
The length of time the test will take to ramp-up to full concurrency (same as
ramp-upin Taurus) -
stepsintegerread-only
The number of rampup steps (same as
stepsin Taurus) -
locationsobjectread-only
The locations where the test will run
Show/Hide Child Attributes
-
location Idintegerread-only
A
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the number of users you want to run on that location. Use this ORlocationsPercentsdata, not both
-
-
locationsPercentsobjectread-only
The percentage of users each location gets
Show/Hide Child Attributes
-
location Idintegerread-only
A
location Idis needed to reference the correct location. You can add more locations as key-pair values as needed. The value will be the percentage of users you want to run on that location. Use this ORlocationsdata, not both
-
-
scenariostringread-only
BlazeMeter scenario reference for this execution
-
-
shouldSendReportEmailbooleanSets the box for whether an email is sent upon completion of a test run
-
dependenciesobjectThe virtual service details to be used with this test
Show/Hide Child Attributes
-
servicesarrayThe list of virtual services to be used in this test
Show/Hide Child Attributes
-
servicestringThe name of the virtual service. Use the List Virtual Services API to find the name
-
mock-servicestringThe name of the running virtual service instance. Use the List Virtual Services API to find the virtual service
-
mock-service-templatestringThe name of the virtual service template. Use the List Virtual Service Templates API to find the template
-
-
-
createdintegerread-only
The time that the test was created
-
updatedintegerread-only
The time that the test was last updated
-
projectIdintegerrequired
The
projectIdto which this test belongs -
lastUpdatedByIdintegerread-only
The ID of the last user that updated the test
-
configurationobjectContains all the advanced BlazeMeter related configurations (i.e. running file, JMeter properties, etc.)
Show/Hide Child Attributes
-
typestringThe test type. Must be
functionalApi -
canControlRampupbooleanIf the user includes a Concurrency Thread Group in their JMX, this parameter indicates if the feature for pausing and resuming ramp-up is enabled
-
targetThreadsintegerThe target number of threads (this has no effect on this test type). For example:
500 -
enableHostsOverridebooleanEnables the Hosts Override plugin
-
enableMockServicesboolean -
scriptTypestringThe script types available. Includes:
apiritifgatlinggrinderjmeterlocustnosepbenchpytestrobotseleniumsiegetaurus -
threadsintegerThe number of threads each engine (serversCount) should use (this has no effect on this test type). For example,
250.
Minimum:1
Maximum:1000OR plan limit -
filenamestringThe name of the file to start test with. For example,
BlazeDemoTest.jmx. Note: You must also upload the file - see Upload or Update Asset Files -
testModestringThe mode this test was made with. Can only be
script -
pluginsobjectContains settings for shared folders, JMeter properties, and DNS overrides
Show/Hide Child Attributes
-
hostsarrayContains an array of DNS override settings
Show/Hide Child Attributes
-
hostnamestringThe host IP or DNS (i.e. my.hostname.com)
-
ipstringThe host IP/DNS override (i.e. 127.0.0.1)
-
-
sharedFoldersarrayList of
folderIds to be included -
jmeterobjectJMeter settings for this test
Show/Hide Child Attributes
-
versionstringSet the JMeter version. Valid values:
auto5.2.15.15.04.03.33.23.13.02.13
-
-
-
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"
}