Skip to main content

Eggplant PerformanceTest Controller:POST/Stop Virtual Users At End of Iteration Method

This method instructs some virtual users to stop at the end of the current iteration.

URL

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

HTTP Method

POST: Instructs some virtual users to stop at the end of the current iteration

POST Data Parameters

The POST data should be an object, mapping a VU group name to a range of virtual users to stop.

Response Parameters

TypeDescription
<string>Engine for which the Virtual Users were stopped. For each engine there is a list containing two values: a <boolean> 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/stop_virtual_users_at_end_of_iteration

# To stop the first two virtual users in the demoScript VU group:
POST Data
{
"demoScript": "1-2"
}

Example Response

{
"intel.win32.clr4_6.0": [true, "Virtual users instructed to stop at end of iteration"]
}