Skip to content

Welcome

aiolocust

Usage:

aiolocust [OPTIONS] [FILENAME]

Options:

  [FILENAME]                      The test to run  [default: locustfile.py]
  -u, --users INTEGER             Number of concurrent VUs (peak)  [default:
                                  1]
  -d, --duration INTEGER          Time to run the test (seconds)
  -r, --rate FLOAT                Number of users to spawn (per second)
  -i, --iterations INTEGER        Max total number of iterations to run
  --instrument                    Capture aiohttp traces and metrics using
                                  AioHttpClientInstrumentor().instrument()
  --log-level [debug|info|warning|error]
                                  Set the logging level  [default: info]
  --config JSON                   JSON string or path to JSON file, e.g.

                                  {"stages": [{"duration": 10, "target": 10},
                                  {"duration": 5, "target": 0}]}
  --event-loops INTEGER           Set the number of aio event loops
  --version                       Show the version and exit.
  --help                          Show this message and exit.

For a proper intro, see the README