Stop Virtual Users During Test Runs

At times in Eggplant Performance, you might find it useful to adjust the number of virtual users (VUs) in a test while the test is running. For example, if you find the current test is putting too much load on the system under test (SUT), you might choose to reduce the number of running VUs.

To stop VUs in a running test, click the Stop some virtual users button on the Test Controller toolbar to open the Stop virtual users dialog box:

Stopping VUs while a test is running in Eggplant Performance Test Controller

You have several options for choosing VUs and determining how they should stop, in addition to choosing how many to stop.

First, choose how you want the VUs to shut down by selecting one of these options:

  • Stop Virtual Users after the current iteration: This option takes longer to shut down the VUs, but lets them finish the current iteration.
  • Stop Virtual Users immediately: This option shuts down the VUs as soon as they finish their current process.

Select the Set stop type for all VU Groups checkbox if you want to use the same stop type for all VU groups in the test. After you select this option, you can choose the stop type from the drop-down list. If you don't select this option, you can select the stop type for each VU group individually in the list below so that you could use a different stop type for different groups.

Your choices for stop type are:

  • First: Stops the first x number of running VUs.
  • Last: Stops the last x number of running VUs.
  • Any: Stops a random selection of x number of VUs.
  • Range: Stops the range of VUs that you enter, based on the ID number.
  • All: Stops all VUs.

For First, Last, and Any, enter the total number of VUs you want to stop in the VUs To Stop column. When you select Range, the range sliders to the right become active for you to set the upper and lower limit (e.g., 5-10) For more complicated ranges, you can type in the field (e.g., 2-6, 9).

When you've selected the appropriate options, click OK. Running VUs are stopped according to the options you've selected.

 

This topic was last updated on August 19, 2021, at 03:30:52 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant