Loop
This task executes the wraped tasks for all values in provided list.
All task created between step_task_loop_start and step_task_loop_end will be wrapped in this instance and executed for all values in the provided list (must be in JSON format).
Step implementations
Statistics
Executions of this task will be visible in locust
request statistics with request type LOOP
and name
is suffixed with (<n>)
, where n
is the number of wrapped tasks. Each wrapped task will have its own entry in the statistics, see respective Tasks documentation.
Arguments
-
name
str: name of the for loop, used inlocust
statistics -
values
str: Templating string which must be valid json and render to a list of values -
variable
str: name of variable that a value frominput_list
will be accessible in