Skip to content

Shapes

formatting...

Module contains step implementations that describes how the load for all scenarios in a feature will look like.

Spawn rate

Set rate in which locust shall swarm new user instances.

Example

And spawn rate is "5" users per second
And spawn rate is "1" user per second
And spawn rate is "0.1" users per second

Arguments

Name Type Description Default
value str

number of users locust should create, supports templating that renders to a float

required

User count

Set number of users that will generate load.

Example

Given "5" users
Given "1" user
Given "{{ user_count }}"

Arguments

Name Type Description Default
value str

number of users locust should create, supports templating that renders to an int

required