Initialize, Run, or Stop Vuser Groups - Use-Case Scenario

This use-case scenario describes how David can manipulate the behavior of the Vuser groups during the scenario run, irrespective of their defined schedules. The examples will show how he can initialize, run, and stop all the Vusers in a Vuser group simultaneously.

Initialize a Vuser group

If David wants to initialize all the Vusers in Script_C simultaneously, he selects the script in the Scenario Groups pane and clicks the Initialize Vusers button on the Controller toolbar. All Vusers that are still in the Down state are immediately initialized (in this case, only five). Their status changes from Down to Pending to Initializing to Ready. They then run according to their defined schedules.

Note: Only Vusers that are in the Down state can be initialized. Vusers that have been initialized already are unaffected.

Run a Vuser group

If David wants to run all the Vusers in Script_C simultaneously, he selects the script in the Scenario Groups pane and clicks the Run Vusers button on the Controller toolbar. All Vusers in the group that have not yet started running move to the Run state and begin executing their scripts.

Stop a Vuser Group

If David wants to stop all the Vusers in Script_C from running, he has two options:

  • To stop them immediately

  • He selects the script in the Scenario Groups pane and clicks the Stop Vusers button on the Controller toolbar. All Vusers that have been initialized, or are already running, stop executing their scripts immediately and move directly to the Stopped state.

  • To stop them gradually

  • He selects the script in the Scenario Groups pane and clicks the Gradual Stop button on the Controller toolbar. All Vusers that have been initialized, or are already running, move to the Gradual Exiting state and then exit the scenario gradually as per their defined schedules.

    Note: The group can only be stopped gradually if Wait for the current iteration to end before exiting or Wait for the current action to endbefore exiting have been selected in the RuntimeSetting tab of the Options dialog box. For more information, see Options > Runtime Settings Tab.

Back to top