Eggplant Performance Test Controller:
POST/Add Virtual Users Method

This method gets a list of the available tests and series within a specified project.

URL

/test_controller/api/1.0/<workspace>/<project>/<test>/add_virtual_users

HTTP Method

POST: Adds additional virtual users to the currently executing test run

POST Data Parameters

The POST data should be an object, with an entry for each VU group you want to add virtual users to. For each group, the entry should be an object mapping the required number of users to each injector.

Response Parameters

Parameter Type Description
dataConfigurationCheck Object Whether or not the test data was configured correctly
injectorConfigurationCheck Object Whether or not all injectors have been configured correctly
licenseCheck Object Whether or not you have sufficient licenses to run the test
injectorFamilies Object

Details of the new injectors and engines that are started to run the new virtual users

Example Request

http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/add_virtual_users

 

POST Data

# To add one virtual user to the demoScript VU group, on injector localhost:

{

"demoScript": {

"localhost": 1

}

}

Example Response

{

"dataConfigurationCheck": {

"message": "Data configuration OK",

"success": true

},

"injectorFamilies": {

"This machine": {

"localhost": [

{

"name": "intel.win32.clr4_6.1",

"groups": [

{

"minIndex": 2,

"name": "demoScript",

"maxIndex": 2

}

],

"port": 30052

}

]

}

},

"licenseCheck": {

"message": "License is valid",

"success": true

},

"injectorConfigurationCheck": {

"message": "Injector configuration is valid",

"success": true

}

}

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant