Eggplant Performance Test Controller:
POST/Set Pause Factor Method
This method updates the pause factor for one or more VU groups.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/set_pause_factor
HTTP Method
POST: Updates the pause factor for one or more VU groups
POST Data Parameters
The POST data should be an object, mapping a VU group name to a pause factor
For example, to set the pause factor for a group to 50%:
"<group name>": 50 }
Response Parameters
The response is an object, containing one entry for each engine in the test. For each engine there is a list containing two values: a Boolean value indicating whether the request to stop was processed successfully, and a String containing a message.
Example Request
http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/set_pause_factor
POST Data
{
"demoScript": 50
}
Example Response
{
"intel.win32.clr4_6.0": [true, "Pause factor updated"]
}