Load profile
Warning
Starting July 1, 2026, Load Testing will be discontinued. For more information, see Yandex Load Testing shutdown.
To figure out the load to be generated on the server when creating a test, a load profile is used. The profile determines how the load will be modified and maintained.
Most tools have their own formats for load profiles. When configuring a test via the UI, you can get the final profile by adding sections in the correct order.
Load profiles
line
Linearly increases the load in a given range over a certain period of time.
Example:
{duration: 180s, type: line, from: 1, to: 10000} # load increase from 1 to 10,000 requests per second in 180 seconds
const
Maintains the specified load for a certain time.
Example:
{duration: 300s, type: const, ops: 10000} # supplying 10,000 requests per second for 300 seconds
step
Increases the load with the specified increment size from one value to another for a certain time.
Example:
{duration: 30s, type: step, from: 10, to: 100, step: 5} # load increase from 10 to 100 requests per second in increments of 5 and with a step duration of 30 seconds
once
Sends the specified number of requests once and completes the test. There are no restrictions on the number of requests.
Example:
{type: once, times: 133} # sending 133 requests at the start of this test section and completing the test
unlimited
Note
You can set the unlimited load profile only using a configuration file.
Sends as many requests as the target can accept within the established connections without restrictions during the specified time.
Example:
{type: unlimited, duration: 30s} # unlimited load for 30 seconds
line
Linearly increases the load in a given range over a certain period of time.
Example:
line(1, 10000, 180) # load increase from 1 to 10,000 requests per second in 180 seconds
const
Maintains the specified load for a certain time.
Example:
const(10000, 300) # load of 10,000 requests per second for 300 seconds
step
Increases the load with the specified increment size from one value to another for a certain time.
Example:
step(10, 100, 5, 30) # load increase from 10 to 100 requests per second in increments of 5 and with a step duration of 30 seconds