Skip to content

Commit

Permalink
Merge pull request #2990 from vkuehn/document-minimalistic-config
Browse files Browse the repository at this point in the history
Update configuration.rst to show minimalistic config example
  • Loading branch information
cyberw authored Nov 19, 2024
2 parents 813f0f2 + c2bf0a6 commit dac692d
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:

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
headless = true
host = https://target-system
run-time = 1m
spawn-rate =
users = 1
Here's a quick example of the configuration files supported by Locust:

locust.conf
Expand Down

0 comments on commit dac692d

Please sign in to comment.