Track Status of a Test Run
API Explorer: /masters/{masterId}/status
To obtain the present status of a test run, use its masterId
and the status
endpoint. This endpoint returns the real-time status of a test during its start, run, and stopping phases. Use the endpoint without any parameters (other than authentication) to return a list of all events of INFO status 200
and above. The sample code returns the status of a test run with the masterId
of 17462719
. Use the actual masterId
in place of the 17462719
.
Track Status of a Test Run
curl 'https://a.blazemeter.com/api/v4/masters/12345678/status?level=DEBUG' \
--user 'api_key_id:api_key_secret'
Track Status of a Test Run Parameters
Parameters
-
level
stringOptional event level to return. Set to:
100
DEBUG200
INFO (default)
250
NOTICE
300
WARNING
400
ERROR
500
CRITICAL
550
ALERT
600
EMERGENCY -
events
booleanInclude complete list of events for the event level (and above). Set to
true
(default) orfalse
Track Status of a Test Run Response Attributes
Attributes
-
id
integerThe
masterId
of this master -
progress
integerThe current progress of this master. Can be one of the following values (the list will correspond with the
status
attribute list):0
5
10
14
15
20
25
40
45
50
60
70
71
80
90
99
100
120
130
135
136
140
150
-
status
stringThe current status of this master. Can be one of the following values (the list will correspond with the
status
attribute list):UNKNOWN
CREATE
CONFIGURING_DEPENDENCIES
PREPARING_PROVISIONING
INITIALIZING
RETRYING
BOOT_STARTING
BOOT_COMPLETE
INSTANCE_ALIVE
INIT_SCRIPT
FILES_DOWNLOADED
JMETER_ENGINE_INIT
TAURUS_ENGINE_INIT
JMETER_CONSOLE_INIT
TAURUS_ENGINE_READY
JETPACK_DATA_RECEIVED
DATA_RECEIVED
FINALIZING
TERMINATING
TAURUS_BZT_DONE
TAURUS_IMAGE_DONE
ENDED
NULL
-
sessions
arrayList of session details for this master
Show/Hide Child Attributes-
id
stringThe status of this session by
sessionId
-
name
stringThe name of the master this session is tied to
-
fileName
stringThe name of the file this master starts with
-
status
stringThe current status of this master. Can be one of the following values (the list will correspond with the
status
attribute list):UNKNOWN
CREATE
CONFIGURING_DEPENDENCIES
PREPARING_PROVISIONING
INITIALIZING
RETRYING
BOOT_STARTING
BOOT_COMPLETE
INSTANCE_ALIVE
INIT_SCRIPT
FILES_DOWNLOADED
JMETER_ENGINE_INIT
TAURUS_ENGINE_INIT
JMETER_CONSOLE_INIT
TAURUS_ENGINE_READY
JETPACK_DATA_RECEIVED
DATA_RECEIVED
FINALIZING
TERMINATING
TAURUS_BZT_DONE
TAURUS_IMAGE_DONE
ENDED
NULL
-
progress
integerThe current progress of this master. Can be one of the following values (the list will correspond with the
status
attribute list):0
5
10
14
15
20
25
40
45
50
60
70
71
80
90
99
100
120
130
135
136
140
150
-
readyStatus
objectThe ready status of this master
Show/Hide Child Attributes-
servers
arrayThe servers that are being used for this session
Show/Hide Child Attributes-
server_type
stringWill always be
console
-
-
plannedServersCount
integerThe number of servers planned for this session
-
isDelayedStart
booleanDenotes if delayed start was used or not for this session
-
-
locationId
stringThe
location Id
where this session is running -
dedicatedIpsEnabled
booleanDenotes if dedicated IPs were used for this session or not
-
-
statuses
objectA percentage breakdown of all the session status for this master
Show/Hide Child Attributes-
pending
integerPercent of machines that are still being provisioned
-
booting
integerPercent of machines that are booting
-
downloading
integerPercent of machines that are downloading necessary files
-
ready
integerPercent of machines that are ready to start
-
ended
integerPercent of machines that have finished running
-
-
isDataAvailable
booleanDenotes if there is data available for this master or not
-
events
arrayList of events that occurred while the master is active
Show/Hide Child Attributes-
t
integerThe timestamp when this event occurred
-
source
stringThe source of this event. Can be one of the following:
system
user
-
message
stringThe message returned for this event
-
level
stringThe logging level of this event. Can be any of the following:
DEBUG
INFO
NOTICE
WARNING
ERROR
CRITICAL
ALERT
EMERGENCY
-
session_id
stringThe
sessionId
where this event occurred
-
Response200 OK
{
"api_version": 4,
"error": null,
"result": {
"id": 12345678,
"progress": 140,
"status": "ENDED",
"jmeterLogSummary": [],
"jmeterLogTypeSummary": [],
"sessions": [
{
"id": "r-v4-5f50ecd1568ef",
"name": "Assertions in V4",
"fileName": "my-script.jmx",
"status": "ENDED",
"progress": 140,
"readyStatus": {
"servers": [
{
"server_id": "3924139065929978424",
"server_type": "console"
}
],
"plannedServersCount": 1,
"isDelayedStart": false
},
"locationId": "us-east4-a",
"dedicatedIpsEnabled": false,
"overrideLocationId": null
}
],
"statuses": {
"pending": 0,
"booting": 0,
"downloading": 0,
"ready": 0,
"ended": 100
},
"isDataAvailable": true,
"events": [
{
"t": 1599142726,
"from": 0,
"source": "system",
"message": "Status changed to ENDED (140)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142726,
"from": -6,
"source": "system",
"message": "Terminate command sent",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142725,
"from": -6,
"source": "system",
"message": "Status changed to TAURUS_IMAGE_DONE (136)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142725,
"from": -6,
"source": "system",
"message": "Taurus completed (Exit: 0)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142725,
"from": -6,
"source": "system",
"message": "0 seconds until process run completion",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142725,
"from": -6,
"source": "system",
"message": "Finished file upload",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142724,
"from": -6,
"source": "system",
"message": "Artifacts zip files generated [/tmp/artifacts/artifacts.zip, /tmp/artifacts/artifacts.zip.tail.bz]",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142723,
"from": -6,
"source": "system",
"message": "Zipping path /tmp/artifacts",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142723,
"from": -6,
"source": "system",
"message": "Zipping artifacts into file /tmp/artifacts/artifacts.zip",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/effective.json",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/jetlag.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/cloud-launcher.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/network_checking.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/jetlag-download.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/effective.yml",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/merged.json",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/final-overrides.yml",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/exported.jetlag.ldjson",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Zipping artifacts into file /tmp/artifacts/admin-artifacts.zip",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Zipping path /tmp/artifacts/admin",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142722,
"from": -6,
"source": "system",
"message": "Admin artifacts zip files generated [/tmp/artifacts/admin-artifacts.zip, /tmp/artifacts/admin-artifacts.zip.tail.bz]",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Collecting atop.binlog - saving to log file",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving admin artifacts and creating zip",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/taurus-custom-config.yml",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/merged.yml",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "File /tmp/artifacts/taurus-base-config.yml not found on disk",
"level": "WARNING",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/jetpack-download.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "File /tmp/artifacts/taurus_start.log not found on disk",
"level": "WARNING",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/jetpack.log",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142721,
"from": -6,
"source": "system",
"message": "Moving file /tmp/artifacts/jetpack.properties",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142720,
"from": -6,
"source": "system",
"message": "Starting cloud shutdown",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142720,
"from": -6,
"source": "system",
"message": "Status changed to TAURUS_BZT_DONE (135)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142720,
"from": -6,
"source": "system",
"message": "Process cleanup completed",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142720,
"from": -6,
"source": "system",
"message": "Running process cleanup",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599142711,
"from": -6,
"source": "system",
"message": "Status changed to TERMINATING (130)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139123,
"from": null,
"source": "system",
"message": "Status changed to DATA_RECEIVED (100)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139103,
"from": -6,
"source": "system",
"message": "Status changed to TAURUS_ENGINE_INIT (71)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139103,
"from": -6,
"source": "system",
"message": "Status changed to TAURUS_ENGINE_READY (90)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139090,
"from": -6,
"source": "system",
"message": "Jetpack: Starting jetpack...",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139090,
"from": -6,
"source": "system",
"message": "Jetpack: Version 5.0.1",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139086,
"from": -6,
"source": "system",
"message": "Jetpack: Download process completed",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139086,
"from": -6,
"source": "system",
"message": "Jetpack: Downloading skipped (https://s3.amazonaws.com/blazemeter/install/artifacts/jetpack/stable/jetpack-5.0.1-c01510ee5a.jar)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139084,
"from": -6,
"source": "system",
"message": "Jetlag: Download process completed",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139084,
"from": -6,
"source": "system",
"message": "Jetlag: Skip download ()",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139084,
"from": -6,
"source": "system",
"message": "Running command: atop ('-a', '-w', '/tmp/artifacts/admin/atop.binlog', '15')",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139080,
"from": -6,
"source": "system",
"message": "verify_ssl value: ",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139080,
"from": -6,
"source": "system",
"message": "Downloading the custom configuration file from https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/custom-config",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139080,
"from": -6,
"source": "system",
"message": "Status changed to INIT_SCRIPT (50)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139080,
"from": -6,
"source": "system",
"message": "Cloud-launcher is running in a Linux environment - setting iptables",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139080,
"from": -6,
"source": "system",
"message": "Running BZT...",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139079,
"from": -6,
"source": "system",
"message": "Data is not a yaml. Closing original config file as empty.",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139079,
"from": -6,
"source": "system",
"message": "Downloading the configuration file from https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/original-config",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139079,
"from": -6,
"source": "system",
"message": "Getting base configuration from configuration file https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/original-config and additional configuration from the custom configuration https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/custom-config",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Running Taurus update",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Prepare: Verify file path /usr/local/bztcloud",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Prepare: file path created",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Starting Taurus Cloud - Cloud Launcher",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Testing Operation System: ***linux***",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "[Init Info: Before init variables] \n\t\t\t\t\t\t\toriginal_config: https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/original-config \n\t\t\t\t\t\t\tcustom_config: https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/custom-config \n\t\t\t\t\t\t\tEVENTS_URL: https://data.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/events \n\t\t\t\t\t\t\tFILE_NAME: my-script.jmx \n\t\t\t\t\t\t\tSCRIPT_TYPE: jmeter \n\t\t\t\t\t\t\tINSTANCE ID: None",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Session id is set",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Starting Taurus update",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Taurus update complete",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "[Init Info: After init variables] \n\t\t\t\t\t\t\toriginal_config: https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/original-config \n\t\t\t\t\t\t\tcustom_config: https://a.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/custom-config \n\t\t\t\t\t\t\tEVENTS_URL: https://data.blazemeter.com/api/v4/taurus/r-v4-5f50ecd1568ef/events \n\t\t\t\t\t\t\tFILE_NAME: my-script.jmx \n\t\t\t\t\t\t\tSCRIPT_TYPE: jmeter \n\t\t\t\t\t\t\tINSTANCE ID: None",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Running blacklist check",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139078,
"from": -6,
"source": "system",
"message": "Blacklist check completed (Check: 0)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: file path created",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: Verify file path /usr/local/taurus-cloud/files",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: file path created",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: Verify file path /tmp/artifacts/admin",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: file path created",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: Verify file path /tmp/artifacts",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: file path created",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: Verify file path /usr/local",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139077,
"from": -6,
"source": "system",
"message": "Prepare: Preparing test launcher environment",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139029,
"from": 0,
"source": "system",
"message": "Status changed to PREPARING_PROVISIONING (14)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139026,
"from": 0,
"source": "system",
"message": "Status changed to PREPARING_PROVISIONING (14)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
},
{
"t": 1599139026,
"from": 0,
"source": "system",
"message": "Status changed to CONFIGURING_DEPENDENCIES (10)",
"level": "INFO",
"session_id": "r-v4-5f50ecd1568ef"
}
]
},
"request_id": "5f51086221649"
}