Skip to main content

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.

Response Parameters

TypeDescription
<string>Engine for which the pause factor was updated. For each engine there is a list containing two values: a <boolean> indicating whether the pause factor 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"]
}