Skip to content

Strategy

The default user load strategy is a ramp-up followed by a peak of concurrent users. You can edit the maximum number of simulated users by editing the Maximum concurrent users field and change the test duration by updating the field Total duration.

Scale User load

Note

Changing these values will update all the steps. The load curve will remain identical but aligned with the new max duration and max concurrent user settings.

Strategy Curve Edition

You can also change the shape of the curve (to create multiple steps or add a starting delay) by:

Reset strategy

At any time you can reset to one one the basic ramp up/down load policies using the Reset strategy section:

Edit point

It is also a good way to add a specific number of steps by clicking the + button as many times as required.

This can be an easy way to get something close to your needs that you can then edit.

Add a point

Add point

Note

You cannot drag a point before its predecessor or after its successor. But you place arbitrarily change its value by clicking on it.

Move a point

You can drag and drop points to quickly edit the user load curve.

Move point

Edit a point

When you click on a point, the Step edition panel is displayed:

Edit point

The current step position can be updated by changing the values of the Concurrent users and Time fields.

The button lets you go back to the user load scale configuration.

The Previous and Next button allows you to quickly navigate through the steps of the user load strategy.

The Delete button removes the current step. The first step (at time 0) cannot be removed. Your curve must also have at least two points.

Tip

Press CTRL and click on a point to quickly remove the associated step.

Advanced configuration

User load advanced configuration

Several options are available by clicking on the Advanced Configuration button:

On Sample Error policy

Error policy

The error policy defines what to do when an error occurs (i.e. an assertion failed):

  • Continue: the error is ignored and the test goes on.
  • Start next VU Iteration: the current Virtual User iteration is stopped and a new one is started.
  • Stop VU: The current Virtual User execution is completely stopped.
  • Stop Test: The all load test is stopped gracefully.
  • Stop Test Now: The all load test is stopped immediately.

Iterations

Iterations

The iterations field lets you limit the Virtual Users execution to a number of iterations.

You still need to set up a duration for the User Profile, so make sure that the execution of all iterations wil not take more time than the specified duration.

Think times

You can also override think times for all actions of the selected Virtual User in this tab:

Click on the Override all HTTP Request actions think times toggle to activate the think times override.

Then you can switch between 3 different modes by clicking on the left green arrow button:

  • Constant: All think times have the same value.

Think Time Constant

  • Range: Think times vary between a lower bound and an upper bound.

Think Time Range

  • Hits: Think times are set in order to execute a certain number of requests (hits) per second per concurrent user.

Warning

This option is incompatible with the Download resources option. You might want to deactivate it from the Device tab.

Think Time Hits

  • Text: All think times have the same value defined in milliseconds.

Think Time Text