The Test Object
The GUI Functional Test Object
Attributes
-
id
integerread-only
The unique identifier of the test. This is known as the
testId
and cannot be modified -
isNewTest
booleanread-only
Denotes this is a new test. Always
True
-
name
stringrequired
The test name
-
description
stringA description of the test
-
userId
integerread-only
The unique identifier of the user
-
creatorClientId
stringread-only
The ID of the creator client. For example,
api
, if created through an API, orgui
, if created thorugh the GUI -
overrideExecutions
arrayThe test settings used when running the test in BlazeMeter
Show/Hide Child Attributes-
executor
stringThe script type you are running (similar to
executor
in Taurus). Will always beselenium
for GUI functional tests -
scenario
stringBlazeMeter scenario reference for this execution
-
locations
objectThe locations where the test will run
Show/Hide Child Attributes-
location Id
integerA
location Id
is 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 ORlocationsPercents
data, not both
-
-
capabilities
objectThe webdriver capabilities to be used with this test
Show/Hide Child Attributes-
browserName
stringThe type of browser you want to use. Can be either
chrome
, for Chrome, orfirefox
, for Firefox -
browserVersion
stringThe browser version you want to use. See the GUI Functional Capabilities section for details on the values that can go into this attribute
-
blazemeter_videoEnabled
booleanDenotes the GUI test will record a video of the test running
-
-
-
executions
arrayread-only
Current execution settings configured for this test
Show/Hide Child Attributes-
iterations
integerread-only
The number of iterations to run the test with. Will always be
1
for this test type. Same asiterations
in Taurus -
locationsWeighted
booleanread-only
Denotes if the values in the
locations
attribute are weighted values or not (same aslocationsWeighted
in Taurus) -
executor
stringread-only
The script type you are running. Includes the following:
gatling
grinder
jmeter
locust
pbench
selenium
siege
-
capabilities
objectread-only
The webdriver capabilities to be used with this test
Show/Hide Child Attributes-
browserName
stringread-only
The type of browser you want to use. Can be either
chrome
, for Chrome, orfirefox
, for Firefox -
browserVersion
stringread-only
-
blazemeter_videoEnabled
booleanread-only
-
-
scenario
stringread-only
BlazeMeter scenario reference for GUI reports
-
locations
objectread-only
Location details for this test
Show/Hide Child Attributes-
location Id
integerread-only
A
location Id
is 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 ORlocationsPercents
data, not both
-
-
concurrency
integerread-only
The number of concurrent virtual users simulated to run on this location. For example,
20
will set the test to run with 20 concurrent users. Minimum:1
. Same asconcurrency
in Taurus
-
-
shouldSendReportEmail
booleanSets the box for whether an email is sent upon completion of a test run.
-
dependencies
objectThe virtual service and test data details to be used with this test.
Show/Hide Child Attributes-
services
arrayThe list of virtual services to be used in this test.
Show/Hide Child Attributes-
service
stringThe name of the virtual service. Use the List Virtual Services API to find the name
-
mock-service
stringThe name of the running virtual service instance. Use the List Virtual Services API to find the virtual service
-
mock-service-template
stringThe name of the virtual service template. Use the List Virtual Service Templates API to find the template
-
-
data
arrayThe list of test data entities to be used in this test
Show/Hide Child Attributes-
entities
arrayThe list of Test Data Entities associated with this test. A Data Entity contains one or more Test Data Objects.
-
kind
stringThe kind of Test Data is "tdm".
-
type
stringThe type of Test Data is "object".
-
-
-
created
integerread-only
The time that the test was created
-
updated
integerread-only
The time that the test was last updated
-
projectId
integerrequired
The
projectId
to which this test belongs -
lastUpdatedById
integerread-only
The ID of the last user that updated the test
-
configuration
objectThe configuration settings for this test
Show/Hide Child Attributes-
type
stringThe test type. Must be
functionalGui
-
dedicatedIpsEnabled
booleanUse dedicated IPs for test (not used in this test type). Must have dedicated IPs for ALL locations configured
-
canControlRampup
booleanIf 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
-
targetThreads
integerThe target number of threads (not used in this test type). For example:
500
-
enableMockServices
booleanDenotes if Service Virtualization is enabled or not
-
scriptType
stringThe script types available. Includes:
apiritif
gatling
grinder
jmeter
locust
nose
pbench
pytest
robot
selenium
siege
taurus
-
filename
stringThe 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 -
testMode
stringThe mode this test was made with. Can only be
script
-
plugins
objectThe plugin details used for this test
Show/Hide Child Attributes-
sharedFolders
arrayList of
folderId
s 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
Attributes
-
id
integerread-only
The unique identifier of the test. This is known as the
testId
and cannot be modified -
isNewTest
booleanread-only
Denotes this is a new test. Always
True
-
name
stringrequired
The test name
-
description
stringA description of the test
-
userId
integerread-only
The unique identifier of the user
-
creatorClientId
stringread-only
The ID of the creator client. For example,
api
, if created through an API, orgui
, if created through the GUI -
overrideExecutions
arrayThe test settings used when running the test in BlazeMeter
Show/Hide Child Attributes-
executor
stringThe script type you are running (similar to
executor
in Taurus). Includes the following:gatling
grinder
jmeter
locust
pbench
selenium
siege
-
holdFor
stringThe length of time the test will run at the peak concurrency (same as
hold-for
in Taurus). Values can be provided inm
(minutes) only -
rampUp
stringThe length of time the test will take to ramp-up to full concurrency (same as
ramp-up
in Taurus). Values can be provided inm
(minutes) only -
concurrency
integerThe number of concurrent virtual users simulated to run on this location. For example,
20
will set the test to run with 20 concurrent users. Minimum:1
. Same asconcurrency
in Taurus -
locations
objectThe locations where the test will run
Show/Hide Child Attributes-
location Id
integerA
location Id
is 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 ORlocationsPercents
data, not both
-
-
locationsPercents
objectThe percentage of users each location gets
Show/Hide Child Attributes-
location Id
integerA
location Id
is 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 ORlocations
data, not both
-
-
steps
integerThe number of rampup steps (same as
steps
in Taurus). This can be empty
-
-
executions
arrayread-only
The execution settings from the file or last test run for this test
Show/Hide Child Attributes-
concurrency
integerread-only
The number of concurrent virtual users simulated to run on this location. For example,
20
will set the test to run with 20 concurrent users. Minimum:1
. Same asconcurrency
in Taurus -
holdFor
stringread-only
The length of time the test will run at the peak concurrency (same as
hold-for
in Taurus) -
rampUp
stringread-only
The length of time the test will take to ramp-up to full concurrency (same as
ramp-up
in Taurus) -
steps
integerread-only
The number of rampup steps (same as
steps
in Taurus) -
locations
objectread-only
The locations where the test will run
Show/Hide Child Attributes-
location Id
integerread-only
A
location Id
is 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 ORlocationsPercents
data, not both
-
-
locationsPercents
objectread-only
The percentage of users each location gets
Show/Hide Child Attributes-
location Id
integerread-only
A
location Id
is 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 ORlocations
data, not both
-
-
scenario
stringread-only
BlazeMeter scenario reference for this execution
-
-
shouldSendReportEmail
booleanSets the box for whether an email is sent upon completion of a test run
-
dependencies
objectThe virtual service details to be used with this test
Show/Hide Child Attributes-
services
arrayThe list of virtual services to be used in this test
Show/Hide Child Attributes-
service
stringThe name of the virtual service. Use the List Virtual Services API to find the name
-
mock-service
stringThe name of the running virtual service instance. Use the List Virtual Services API to find the virtual service
-
mock-service-template
stringThe name of the virtual service template. Use the List Virtual Service Templates API to find the template
-
-
-
created
integerread-only
The time that the test was created
-
updated
integerread-only
The time that the test was last updated
-
projectId
integerrequired
The
projectId
to which this test belongs -
lastUpdatedById
integerread-only
The ID of the last user that updated the test
-
configuration
objectContains all the advanced BlazeMeter related configurations (i.e. running file, JMeter properties, etc.)
Show/Hide Child Attributes-
type
stringThe test type. Must be
functionalApi
-
canControlRampup
booleanIf the user includes a Concurrency Thread Group in their JMX, this parameter indicates if the feature for pausing and resuming ramp-up is enabled
-
targetThreads
integerThe target number of threads (this has no effect on this test type). For example:
500
-
enableHostsOverride
booleanEnables the Hosts Override plugin
-
enableMockServices
boolean -
scriptType
stringThe script types available. Includes:
apiritif
gatling
grinder
jmeter
locust
nose
pbench
pytest
robot
selenium
siege
taurus
-
threads
integerThe number of threads each engine (serversCount) should use (this has no effect on this test type). For example,
250
.
Minimum:1
Maximum:1000
OR plan limit -
filename
stringThe 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 -
testMode
stringThe mode this test was made with. Can only be
script
-
plugins
objectContains settings for shared folders, JMeter properties, and DNS overrides
Show/Hide Child Attributes-
hosts
arrayContains an array of DNS override settings
Show/Hide Child Attributes-
hostname
stringThe host IP or DNS (i.e. my.hostname.com)
-
ip
stringThe host IP/DNS override (i.e. 127.0.0.1)
-
-
sharedFolders
arrayList of
folderId
s to be included -
jmeter
objectJMeter settings for this test
Show/Hide Child Attributes-
version
stringSet the JMeter version. Valid values:
auto
5.2.1
5.1
5.0
4.0
3.3
3.2
3.1
3.0
2.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"
}