diff --git a/docs/configuration.rst b/docs/configuration.rst index 701594a1f5..abb1b99046 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -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