Duplicate a Multi-Test
API Explorer: /multi-tests/{collectionId}/duplicate
To duplicate a test suite, a collectionId
is required. The sample code duplicates the test suite with the collectionId
of 12345678
. Use the actual ID value for the test suite to return the detail of that test suite.
Caution: If you do not know the collectionId
of the test suite to duplicate, use List Multi-Tests to return a list of your created test suites.
Duplicate a Multi-Test
curl 'https://a.blazemeter.com/api/v4/multi-tests/12345678/duplicate' \
-X POST \
-H 'Content-Type: application/json' \
--user 'api_key_id:api_key_secret'
Duplicate a Multi-Test Response Attributes
For the full details of all the attributes for the test suite (multi-test), you can visit The Multi-Test Object.
Response201 Created
{
"api_version": 4,
"error": null,
"result": {
"id": 23456789,
"name": "A Full Test Settings Example - Copy",
"description": "A Full Test Settings Example",
"collectionType": "multiV4",
"userId": 123456,
"items": [],
"lastRunTime": 1598556724,
"filesToSplit": [
"colors.csv"
],
"dataFiles": [
"colors.csv"
],
"creatorClientId": "gui",
"testsForExecutions": [
{
"testId": 1234567,
"executions": [
{
"concurrency": 20,
"usersNotConfigured": false,
"holdFor": "19m",
"durationIsNotConfigured": false,
"rampUp": "1m",
"steps": 0,
"throughput": 10,
"locations": {
"us-east4-a": 10,
"us-east1-b": 10
},
"locationsPercents": {
"us-east4-a": 50,
"us-east1-b": 50
},
"executor": "jmeter",
"testId": 1234567,
"scenario": "default-scenario-1234567"
},
{
"concurrency": 1,
"holdFor": "1200s",
"executor": "selenium",
"testId": 1234567,
"executionSource": "endUserExperience",
"scenario": "End User Experience for Full Test Example"
}
],
"overrideExecutions": null,
"enableLoadConfiguration": true
},
{
"testId": 2345678,
"executions": [
{
"concurrency": 20,
"usersNotConfigured": false,
"holdFor": "19m",
"durationIsNotConfigured": false,
"rampUp": "1m",
"iterations": 50,
"steps": 0,
"throughput": 10,
"locations": {
"us-east4-a": 20
},
"locationsPercents": {
"us-east4-a": 100
},
"executor": "jmeter",
"testId": 2345678,
"scenario": "default-scenario-2345678"
},
{
"concurrency": 1,
"holdFor": "1200s",
"executor": "selenium",
"testId": 2345678,
"executionSource": "endUserExperience",
"scenario": "End User Experience for Full Test Example 2"
}
],
"overrideExecutions": [
{
"concurrency": 20,
"serversCount": null,
"iterations": 50,
"rampUp": "1m",
"steps": 0,
"throughput": 10,
"locations": {
"us-east4-a": 20
},
"locationsPercents": {
"us-east4-a": 100
}
},
null
],
"enableLoadConfiguration": true
}
],
"shouldSendReportEmail": true,
"created": 1599161013,
"updated": 1599161013,
"projectId": 123456,
"lastUpdatedById": 123456
},
"request_id": "5f5142b5af38b"
}
For the full details of all the attributes for the test suite (multi-test), you can visit The Multi Test Object.