Eggplant Performance Test Controller:
POST/Stop Virtual Users Immediately Method

This method instructs some virtual users to stop immediately.

URL

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

HTTP Method

POST: Instructs some virtual users to stop immediately

POST Data Parameters

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

For example, to stop the first ten VUs in a group:

{

"<group name>": "1-10"

}

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/stop_virtual_users_immediately

 

POST Data

{

"demoScript": "1"

}

Example Response

{

"intel.win32.clr4_6.0": [true, "Virtual users instructed to stop immediately"]

}

 

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