A population is a group of Virtual User types. Select an existing population to test and defines its load policy. The simulated load from a population is determined by a duration and a number of Virtual Users.
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
name | The name of the population from NeoLoad project | - | ✓ | |
constant_load | A load that generates a fixed number of Virtual Users. | - | - | |
rampup_load | A load that generates a number of Virtual Users that increases throughout the test. Useful for checking the server behavior under an increasing load. | - | - | |
peaks_load | A load that generates a fixed number of Virtual Users with periodic phases of high load. Useful for checking whether the server recovers its normal behavior after a load peak. | - | - | |
custom_load | A load that generates Virtual Users defined by custom steps. Useful for checking the server behavior in really specific circumstances | - | - | 7.6 |
A population must contain only one load policy among the constant, ramp-up, peaks and custom load.
populations
name MyPopulation1
constant_load
users500
name MyPopulation2
rampup_load
min_users10
increment_users10
increment_every 5s
name MyPopulation3
peaks_load
minimum
users100
duration 5m
maximum
users500
duration 3m
start minimum
name MyPopulation4
custom_load
steps
when 1m40s
users100
This load policy generates a load with a fixed number of Virtual Users.
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
users | The fixed number of Virtual Users | - | ✓ | |
duration | The duration of the load policy: unlimited, time or number of iterations. | - | - | |
start_after | Define how the population is started: the population starts at the start of the test, after a preset delay or after the end of the selected population. | - | - | |
rampup | Define how Virtual Users start: simultaneously or with a preset delay. | - | - | |
stop_after | Define how the population is stopped: the population immediately stop the executing of the current iteration, give a preset delay to finish the current iteration or allow the population to end the current iteration for each Virtual User. | - | - |
1 constant load of 500 Virtual Users during 15 iterations. The population starts after the end of the selected population. The Virtual Users start with 30 seconds. The population wait the executing of the current iteration.
xxxxxxxxxx
populations
name MyPopulation2
constant_load
users500
duration 15 iterations
start_after MyPopulation1
rampup 30s
stop_after current_iteration
This load policy generates a load with a number of Virtual Users that increases throughout the test. Useful for checking the server behavior under an increasing load.
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
min_users | The initial number of Virtual Users | - | ✓ | |
max_users | The maximum number of Virtual Users | - | - | |
increment_users | The number of Virtual Users to increment | - | ✓ | |
increment_every | The duration to increment: time or number of iterations. | - | ✓ | |
duration | The duration of the load policy: unlimited, time or number of iterations. | - | - | |
start_after | Define how the population is started: the population starts at the start of the test, after a preset delay or after the end of the selected population. | - | - | |
increment_rampup | Define how Virtual Users start: simultaneously or with a preset delay. This rule is used each time new Virtual Users are created, at each load increase for a ramp-up load policy. | - | - | |
stop_after | Define how the population is stopped: the population immediately stop the executing of the current iteration, give a preset delay to finish the current iteration or allow the population to end the current iteration for each Virtual User. | - | - |
1 ramp-up load of 100 initial Virtual Users in incrementing 50 Virtual Users every iteration during 30 iterations and limited at 1500 maximum Virtual Users. The population starts after the end of the selected population. The Virtual Users start with 5 seconds. The population stops in waiting the executing of the current iteration.
xxxxxxxxxx
populations
name MyPopulation2
rampup_load
min_users100
max_users1500
increment_users50
increment_every 1 iteration
duration 30 iterations
start_after MyPopulation1
increment_rampup 5s
stop_after current_iteration
This load policy generates a load with a fixed number of Virtual Users with periodic phases of low and high load. Useful for checking whether the server recovers its normal behavior after a load peak.
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
minimum | The phase of low load | - | ✓ | |
maximum | The phase of high load | - | ✓ | |
start | Select the phase to start | - | ✓ | |
duration | The duration of the load policy: unlimited, time or number of iterations. | - | - | |
start_after | Define how the population is started: the population starts at the start of the test, after a preset delay or after the end of the selected population. | - | - | |
step_rampup | Define how Virtual Users start: simultaneously or with a preset delay. This rule is used each time new Virtual Users are created, at each load peak for a peak load policy. | - | - | |
stop_after | Define how the population is stopped: the population immediately stop the executing of the current iteration, give a preset delay to finish the current iteration or allow the population to end the current iteration for each Virtual User. | - | - |
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
users | The fixed number of Virtual Users | - | ✓ | |
duration | The duration of the phase: time or number of iterations. | - | ✓ |
1 peaks load: a minimum load of 100 Virtual Users during 5 iterations and a maximum load of 500 Virtual Users during 3 iterations. The test starts with the minimum load. The duration of the test is 80 iterations. The population starts after the end of the selected population. The Virtual Users start with 15 seconds. The population stops in waiting the executing of the current iteration.
xxxxxxxxxx
populations
name MyPopulation2
peaks_load
minimum
users100
duration 5 iterations
maximum
users500
duration 3 iterations
start minimum
duration 80 iterations
start_after MyPopulation1
step_rampup 15s
stop_after current_iteration
This load policy generates a load defined by custom steps
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
start_after | Start policy for this population: at the start of the test, after a preset delay or after the end of another selected population | - | - | |
rampup | Simultaneously or with a preset delay.There are different behaviours depending on duration mode (unlimited, time, iterations) - unlimited/time: This rule is used each time Virtual Users count is updated - iterations: This rule is used each time a new step starts | - | - | |
stop_after | Stop policy for this population: immediate (the execution of current iteration is stopped), after a preset delay or the population is allowed to end current iteration for each Virtual User. | - | - | |
steps | Steps to define the Virtual Users count for a specific period | - | ✓ |
Name | Description | Accept variable | Required | Since |
---|---|---|---|---|
when | The moment when Virtual Users count will reach the specified number: time or number of iterations. | - | ✓ | |
users | The fixed number of Virtual Users at the specified moment | - | ✓ |
The specified moment must have the same duration type as the others steps. All steps must be ordered chronologically. The last step is defining the duration of the load policy
The population starts 30 seconds after the start of the test. Each ramp-up or ramp-down between 2 steps will be split with ramp-up/ramp-down of 10 seconds. The population Virtual users has 30 seconds to finish the current iteration.
Steps:
xxxxxxxxxx
populations
name MyPopulation14
custom_load
start_after 30s
rampup 10s
stop_after 30s
steps
when0
users50
when 1m40s
users100
when 2m
users150
when 2m
users200
when 3m
users200
when 4m
users0
All time specifications, including delays and durations, are always expressed in unit of seconds. Use special strings convention to make it human-readable.
h
for hours, m
for minutes, s
for seconds
90s
,5m
,2h30m30s
All iteration specifications, including durations, are always expressed in unit of iterations. Use special strings convention to make it human-readable.
iteration
or iterations
1 iteration
, 15 iterations