Load test profiles

This topic explains how to set the load profile for scripts, including the scheduling mode and load generator location for each script.

For information on how to schedule an entire load test, see Schedule a test run.

Create a load test profile

Create a profile for your test in the Load profile pane.

To create a load test profile:

  1. Add scripts. Click the Add from Assets button Add from assets button to select scripts for your test from existing assets. For details, see Scripts.

  2. Choose a scheduling mode. For details, see Scheduling modes.

  3. Select a location for the run: Cloud or On-premises.

  4. Set the basic settings from the script list pane. For details, see Basic settings.

  5. Set additional details about the Vusers and the run. For details, see Additional settings.

Scheduling modes

The available scheduling modes depend on the load test's run mode.

Run mode Scheduling mode
Duration

The following script scheduling modes are available:

  • Simple: Configure the Vuser's start and stop times, at a consistent rate.

  • Manual: Configure ramp-up and tear-down values for a specific number of Vusers in given time intervals.

  • Advanced: Configure a schedule with multiple instances of Vusers starting and stopping during the test.

Iteration Simple mode only.
Goal Oriented Scheduling modes are not available.

To set a scheduling mode, expand the Scheduling list in the script's row and select Simple, Manual, or Advanced as described below.

Schedule mode settings

Basic settings

You can customize settings for each script either in the table columns or in the script's Details pane.

The visible columns depend on the script's run mode: Duration, Iterations, or Goal Oriented. The following table lists which columns are visible for each run mode.

Column name Description and remarks Run mode
Vusers

Number of Vusers that run the script.

Note:

  • TruClient - Native Mobile scripts support only one Vuser.

  • Editable in Manual and Advanced Scheduling modes.

Duration, Iterations
% of Vusers

Percentage of total test Vusers assigned to this script.

Note: Percentages across all scripts must total 100%.

Goal Oriented
Start time

Time delay before the script starts after the test begins (hh:mm:ss). If not specified, the script starts at test launch.

Tip: Use different start times to stagger multiple scripts.

Duration, Iterations
Ramp up

Time taken to gradually start Vusers (hh:mm:ss). Displayed graphically in the schedule profile pane.

Note: Editable in Manual and Advanced Scheduling modes.

Duration (Simple scheduling mode), Iterations

Duration

Total length of the test (hh:mm:ss).

Note: Not configurable in Advanced mode (calculated automatically). Editable only in Manual Scheduling mode.

Duration

Tear down

Time taken to stop Vusers (hh:mm:ss). Displayed graphically in the schedule profile pane.

Note: Editable in Manual and Advanced Scheduling modes.

Duration (Simple scheduling mode)
Iterations

Number of times the script runs during the test.

Iterations

Max duration

Maximum time allowed to complete all iterations (hh:mm:ss).

Note: Vusers stop if this limit is reached before completion.

Iterations

Location

Load generator location: Cloud or On-premises.

Note:

  • Only supported locations are available.

  • Switching from On-premises removes any specific load generator assignment.

All

Activate or Deactivate a script toggle <Activate/Deactivate script>

Activates or deactivates the script for the test run..

Tip: Useful for temporarily excluding a script.

All

After setting values in the Load profile page, you can configure additional settings in the script's Details pane.

Script profile pane

A graph in the Details pane displays a visual representation of the script schedule with the number of Vusers, duration, ramp up, and tear down. (A smaller version of the graph is also displayed in the row of the script.)

Simple mode settings

Simple mode is the default schedule mode and enables you to configure a time during which Vusers are started or stopped, at a consistent rate. For example, if you assign ten Vusers for a script and a ramp-up time of ten minutes, one Vuser is started each minute.

Simple mode scheduling example

Configure the following additional settings directly in the row of the selected script.

Action Task
Define the ramp up

Specify the ramp-up time to start Vusers at a consistent rate.

  1. Click the Ramp up column.

  2. Enter hours, minutes, seconds (hh:mm:ss).

Note: For TruClient - Native Mobile scripts, only one Vuser runs, so there is no ramp up.

Define the tear down

Specify the tear-down time to stop Vusers at a consistent rate.

  1. Click the Tear down column.

  2. Enter hours, minutes, and seconds (hh:mm:ss).

Note: For TruClient - Native Mobile scripts, only one Vuser runs, so there is no tear down.

Manual mode settings

Note: The Manual scheduling mode is only enabled for load tests configured to run in Duration mode.

Manual mode enables you to simulate a slightly more complex scenario by configuring ramp-up and tear-down values for a specific number of Vusers in time intervals. For example, you can configure three Vusers to be started every two minutes until all Vusers for the test have started.

Manual scheduling mode example

Select Manual scheduling mode, and configure the following additional settings in the schedule profile pane.

Action Task
Define the ramp up, the rate at which Vusers are added.

Specify how many Vusers are added and at what time intervals.

  1. Specify the time interval.

  2. Specify the number of Vusers to start in each time interval.

Define the tear down, the pace at which Vusers are stopped.

Specify how many Vusers are stopped and in what time intervals.

  1. Specify the time interval.

  2. Specify the number of Vusers to stop in each time interval.

Advanced mode settings

Note: The Advanced scheduling mode is only enabled for load tests configured to run in Duration mode.

Advanced mode enables you to configure a schedule that more accurately reflects a real-life scenario, with multiple instances of Vusers starting and stopping during the test.

Advanced scheduling mode example

Select Advanced scheduling mode. In the schedule profile pane, configure multiple steps using the following settings.

Action Task
Define the ramp up, the rate at which Vusers are added.

Click Add ramp up to add a Ramp Up step and specify how many Vusers are added and in what time intervals.

  1. Specify the time interval.

  2. Specify the number of Vusers to start in each time interval.

  3. Specify the total number of Vusers to start in the step.

For example, you can configure two Vusers to be started every four minutes until a total of twelve Vusers have been started.

Set a duration.

Click Add duration to add a Duration step and specify the time the test runs before executing the next scheduling step.

Duration does not include ramp up and tear down times.

Define the tear down, the pace at which Vusers are stopped.

Click Add tear down to add a Tear Down step and specify how many Vusers are stopped and in what time intervals.

  1. Specify the time interval.

  2. Specify the number of Vusers to stop in each time interval.

  3. Specify the total number of Vusers to stop in the step.

For example, you can configure three Vusers to be stopped every two minutes until a total of nine Vusers have been stopped.

Note:  

  • Advanced mode is unavailable for:

    • Scripts in a load test configured for the iterations run mode.

    • TruClient - Native Mobile scripts.

    • Scripts with the Test settings > Add Vusers option selected. For details, see Configure test settings.

  • The first step must be a Ramp up.

  • The last step must be a Tear down.

  • The schedule must include at least one Ramp up step, one Duration step, and one Tear down step.

  • You can include a maximum of forty steps in the schedule.

Additional settings

For all scheduling modes, you can configure the following additional settings.

Action Task
Set pacing

Controls the time between iterations. The pace tells the Vuser how long to wait between iterations of your actions. You can control pacing either from Load test > Load profile or Runtime settings > Pacing.

To set pacing in the Load profile tab:

  1. In the schedule profile pane for the script, turn on the Local pacing switch.
  2. Enter time in seconds.

    Tip: To set the time in milliseconds, enter the time in decimals. For example, 250 milliseconds = 0.250.

    Pacing defaults to 1 second.

For VuGen scripts, if your script contains fixed pacing, pacing defaults to the script value. You can manually change the value.

To set pacing using runtime settings:

See Open the runtime settings.

Note: If local pacing is turned off, the runtime settings values are used by default.

Next steps