'Locust - Split equal number if users across workers

I am running locust in distributed mode with 3 workers with configuration file.

Master conf:

enter image description here

Worker conf:

enter image description here

My Use case is If I am running 15 users then I have run 5 users in each worker. Is there a way to do this?



Solution 1:[1]

Set users to 15. Users are automatically distributed as evenly as possible across workers.

You could/should also set expect-workers to 3, to ensure the load doesnt start until all workers are connected.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Cyberwiz