Skip to content

Commit

Permalink
Update configuration.rst to show minimalistic config example
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuehn authored Nov 18, 2024
1 parent fc993b2 commit eaccb41
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ You can specify an additional file using the ``--config`` flag.
$ locust --config custom_config.conf
Here's a minimalistic example of the configuration file supported by Locust:

No Options are selected which would make Locust run e.g. headless or distributed.
Have a look later in this article for :ref:`All available configuration options`

locust.conf
--------------

.. code-block:: ini
locustfile = locust_files/my_locust_file.py
host = https://target-system
users = 1
spawn-rate =
run-time = 1m
Here's a quick example of the configuration files supported by Locust:

locust.conf
Expand Down

0 comments on commit eaccb41

Please sign in to comment.