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
-
levelstringOptional event level to return. Set to:
100DEBUG200INFO (default)
250NOTICE
300WARNING
400ERROR
500CRITICAL
550ALERT
600EMERGENCY -
eventsbooleanInclude complete list of events for the event level (and above). Set to
true(default) orfalse
Track Status of a Test Run Response Attributes
All timestamps are in UNIX Epoch Time.
Attributes
-
idintegerThe
masterIdof this master -
progressintegerThe current progress of this master. Can be one of the following values (the list will correspond with the
statusattribute list):051014152025404550607071809099100120130135136140150 -
statusstringThe current status of this master. Can be one of the following values (the list will correspond with the
statusattribute list):UNKNOWNCREATECONFIGURING_DEPENDENCIESPREPARING_PROVISIONINGINITIALIZINGRETRYINGBOOT_STARTINGBOOT_COMPLETEINSTANCE_ALIVEINIT_SCRIPTFILES_DOWNLOADEDJMETER_ENGINE_INITTAURUS_ENGINE_INITJMETER_CONSOLE_INITTAURUS_ENGINE_READYJETPACK_DATA_RECEIVEDDATA_RECEIVEDFINALIZINGTERMINATINGTAURUS_BZT_DONETAURUS_IMAGE_DONEENDEDNULL -
sessionsarrayList of session details for this master
Show/Hide Child Attributes
-
idstringThe status of this session by
sessionId -
namestringThe name of the master this session is tied to
-
fileNamestringThe name of the file this master starts with
-
statusstringThe current status of this master. Can be one of the following values (the list will correspond with the
statusattribute list):UNKNOWNCREATECONFIGURING_DEPENDENCIESPREPARING_PROVISIONINGINITIALIZINGRETRYINGBOOT_STARTINGBOOT_COMPLETEINSTANCE_ALIVEINIT_SCRIPTFILES_DOWNLOADEDJMETER_ENGINE_INITTAURUS_ENGINE_INITJMETER_CONSOLE_INITTAURUS_ENGINE_READYJETPACK_DATA_RECEIVEDDATA_RECEIVEDFINALIZINGTERMINATINGTAURUS_BZT_DONETAURUS_IMAGE_DONEENDEDNULL -
progressintegerThe current progress of this master. Can be one of the following values (the list will correspond with the
statusattribute list):051014152025404550607071809099100120130135136140150 -
readyStatusobjectThe ready status of this master
Show/Hide Child Attributes
-
serversarrayThe servers that are being used for this session
Show/Hide Child Attributes
-
server_typestringWill always be
console
-
-
plannedServersCountintegerThe number of servers planned for this session
-
isDelayedStartbooleanDenotes if delayed start was used or not for this session
-
-
locationIdstringThe
location Idwhere this session is running -
dedicatedIpsEnabledbooleanDenotes if dedicated IPs were used for this session or not
-
-
statusesobjectA percentage breakdown of all the session status for this master
Show/Hide Child Attributes
-
pendingintegerPercent of machines that are still being provisioned
-
bootingintegerPercent of machines that are booting
-
downloadingintegerPercent of machines that are downloading necessary files
-
readyintegerPercent of machines that are ready to start
-
endedintegerPercent of machines that have finished running
-
-
isDataAvailablebooleanDenotes if there is data available for this master or not
-
eventsarrayList of events that occurred while the master is active
Show/Hide Child Attributes
-
tintegerThe timestamp when this event occurred
-
sourcestringThe source of this event. Can be one of the following:
systemuser -
messagestringThe message returned for this event
-
levelstringThe logging level of this event. Can be any of the following:
DEBUGINFONOTICEWARNINGERRORCRITICALALERTEMERGENCY -
session_idstringThe
sessionIdwhere 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"
}