Skip to content

Commit

Permalink
clarifying locust class usage when no classes specified on CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
smadness committed Dec 4, 2018
1 parent 79cd5a1 commit 8170dee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/writing-a-locustfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ The *min_wait* and *max_wait* attributes can also be overridden in a TaskSet cla
The *weight* attribute
----------------------

You can run two locusts from the same file like so:
If more than one locust class exists in the file, and no locusts are specified on the command line,
each new spawn will choose randomly from the existing locusts. Otherwise, you can specify which locusts
to use from the same file like so:

.. code-block:: console
Expand Down

0 comments on commit 8170dee

Please sign in to comment.