Skip to content

Commit

Permalink
Merge pull request #925 from chanzuckerberg/locust-class-docs
Browse files Browse the repository at this point in the history
clarifying locust class usage when no classes specified on CLI
  • Loading branch information
aldenpeterson-wf authored Dec 4, 2018
2 parents 79cd5a1 + 8170dee commit 69f94b8
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 69f94b8

Please sign in to comment.