Delete a Test in Multi-Test
API Explorer /collections/{collectionId}/remove-tests-executions
To remove a test from a multi-test, you need to provide the index value of the test you want to remove. In the example to the right, the index value provided was 1, which references the second test in the multi-test with the collectionId of 12345678, is deleted from the multi-test.
Delete a Test in Multi-Test
curl 'https://a.blazemeter.com/api/v4/collections/12345678/remove-tests-executions' \
-X POST \
-H 'Content-Type: application/json' \
--user 'api_key_id:api_key_secret' \
-d '{"index": 1}'
Delete a Test in Multi-Test Request Attributes
Attributes
-
indexintegerrequired
Denotes which test will be updated. For example,
0will reference the first test attached to the multi-test
Delete a Test in Multi-TestDelete a Test in Multi-Test POST Body (JSON)
{
"index": 1
}
Delete a Test in Multi-Test Response Attributes
For the full details of all the attributes for the Performance Test, you can visit The Multi Test Object.
Response200 OK
{
"api_version": 4,
"error": null,
"result": {
"id": 12345678,
"name": "My Multi-Test",
"description": null,
"collectionType": "multiV4",
"userId": 123456,
"items": [],
"oldVersionId": null,
"lastRunTime": null,
"draftId": null,
"filesToSplit": [],
"dataFiles": [],
"creatorClientId": "api",
"testsForExecutions": [
{
"testId": 1234567,
"executions": [
{
"concurrency": 10,
"holdFor": "19m",
"rampUp": "1m",
"steps": 0,
"locations": {
"us-east-1": 10
},
"locationsPercents": {
"us-east-1": 100
},
"executor": "jmeter",
"testId": 1234567,
"scenario": "default-scenario-1234567"
}
],
"overrideExecutions": [
{
"concurrency": 10,
"executor": "jmeter",
"holdFor": "19m",
"locations": {
"us-east-1": 10
},
"locationsPercents": {
"us-east-1": 100
},
"rampUp": "1m",
"steps": 0,
"locationsWeighted": null
}
]
}
],
"migratedFromTestCollectionId": null,
"migratedToTestId": null,
"v4MigratedDate": null,
"underMigration": null,
"shouldSendReportEmail": true,
"created": 1552063283,
"updated": 1552081344,
"note": null,
"projectId": 167798,
"lastUpdatedById": null,
"kpiTrackingData": null,
"tests": [
{
"id": 6426953,
"isNewTest": true,
"lastRunTime": 1552060161,
"name": "New Dummy Test V4 2",
"userId": 344260,
"creatorClientId": "gui",
"overrideExecutions": [
{
"concurrency": 20,
"executor": "jmeter",
"holdFor": "19m",
"locations": {
"us-east-1": 20
},
"locationsPercents": {
"us-east-1": 100
},
"rampUp": "1m",
"steps": 0
}
],
"executions": [
{
"concurrency": 20,
"holdFor": "19m",
"rampUp": "1m",
"steps": 0,
"locations": {
"us-east-1": 20
},
"locationsPercents": {
"us-east-1": 100
},
"executor": "jmeter",
"scenario": "default-scenario-6426953"
}
],
"shouldSendReportEmail": false,
"created": 1542289535,
"updated": 1552060217,
"configuration": {
"type": "taurus",
"canControlRampup": false,
"targetThreads": 500,
"executionType": "taurusCloud",
"scriptType": "jmeter",
"threads": 500,
"filename": "Dummy.jmx",
"testMode": "",
"plugins": {
"jmeter": {
"version": "auto"
},
"thresholds": {
"thresholds": [],
"ignoreRampup": false,
"slidingWindow": false
}
}
},
"fileErrors": []
}
],
"masters": []
}
}