load_pattern section
load_pattern:
- !load_pattern_type
[parameters]
If a root level
load_patternis not specified then each endpoint must specify its ownload_pattern.
The load_pattern section defines the "shape" that the generated traffic will take over the course of the test.
Individual endpoints can choose to specify their own load_pattern (see the endpoints section).
load_pattern is an array of load_pattern_types specifying how generated traffic for a segment of the test will scale up,
down or remain steady. Currently the only load_pattern_type is linear.
Example:
load_pattern:
- !linear
to: 100%
over: 5m
- !linear
to: 100%
over: 2m
linear
The linear load_pattern_type allows generated traffic to increase or decrease linearly. There are three parameters which can be specified for each linear segment:
-
fromOptional - A V-Template indicating the starting point to scale from, specified as a percentage. Defaults to0%if the current segment is the first entry inload_pattern, or thetovalue of the previous segment otherwise.A valid percentage is any unsigned number, integer or decimal, immediately followed by the percent symbol (
%). Percentages can exceed100%but cannot be negative. For example15.25%or150%. -
to- A V-Template indicating the end point to scale to, specified as a percentage. -
over- The duration for how long the current segment should last.