Changing the number of virtual users during a run

During a run, you can increase or decrease the number of virtual users that was defined in the schedule. You can apply the change to the current stage or to all the remaining stages in the schedule.

Before you begin

You must run a schedule to change the number of virtual users.

Procedure

  1. In the Test Navigator view, double-click a schedule and click Run from the schedule editor.
  2. Click Execution Control > Change Number of Users.
  3. To add users, type the number of users to add. To remove users, click Remove users, and type the number of users to remove.
    Note:
    • If a schedule contains only percentage groups, the virtual users are added by proportion. Assume that your schedule contains three user groups, assigned at 20%, 30%, and 50%. If you add 10 virtual users, two are added to the first group, three are added to the second group, and five are added to the third group.
    • If a schedule contains both absolute and percentage groups, the absolute groups are assigned first. Assume that your schedule has one user group that is fixed at 10 users and only one virtual user is running in that group. You add 100 virtual users. Nine virtual users are added to the absolute group, and the remaining virtual users are apportioned among the percentage groups.
    • Users are removed proportionately from user groups according to each user group's percentage value. The time at which users are asked to stop is controlled by the change rate that you set in the schedule.
  4. Optional: To apply the change to all remaining stages in the schedule run, select the Apply to all remaining stages check box. Clear the check box to apply the change only to the current stage.
  5. Click OK. To see the number of users executed, check the Summary tab of the performance report.

Feedback