Get the Scenario ID

To retrieve the Scenario ID from a test report, use the Masters API, which will retrieve various test report details in a JSON format. See Get the Master ID.

URL

https://a.blazemeter.com/api/v4/masters/<masterId>

cURL (Master)

curl -X GET https://a.blazemeter.com/api/v4/masters/<masterId> -H "Content-Type: application/json" --user 'id:secret'

Example Response

In the response message, look for the scenariosMapping section, then note the ID associated with the scenario name you want to reference. The relevant segment of the response will appear similar to the following example, in which one scenario is a JMeter test and the other is an End User Experience Monitoring test:

 "scenariosMapping": [
{
"id": "xxxxxx",
"name": "JMX",
"isEndUserExperience": false
},
{
"id": "xxxxxx",
"name": "EUX",
"isEndUserExperience": true
}