Sign inSign up

justonecommand/python-locust

By justonecommand

•Updated about 7 years ago

contains locust command

Image
0

970

justonecommand/python-locust repository overview

Build from: https://medium.com/locust-io-experiments/locust-io-experiments-running-in-docker-cae3c7f9386e⁠

| Variable               | Description                                       | Default       | Example            |
|------------------------|---------------------------------------------------|---------------|--------------------|
|LOCUST_FILE             | Sets the `--locustfile` option.                   | locustfile.py |                    |
|ATTACKED_HOST           | The URL to test. Required.                        | -             | http://example.com |
|LOCUST_MODE             | Set the mode to run in. Can be                    | standalone    | master             |
|                        | `standalone`, `master` or `slave`.                |               |                    |
|LOCUST_MASTER           | Locust master IP or hostname.                     | -             | 127.0.0.1          |
|                        | Required for `slave` mode.                        |               |                    |
|LOCUST_MASTER_BIND_PORT | Locust master port for communication with slaves. | 5557          | 6666               |
|                        | Used in distributed mode.                         |               |                    |
|                        | For master: which port master should bind to.     |               |                    |
|                        | For slave: port to connect on master.             |               |                    |
|LOCUST_OPTS             | Additional locust CLI options.                    | -             | "-c 10 -r 10"      |

Tag summary

Content type

Image

Digest

Size

59.8 MB

Last updated

about 7 years ago

docker pull justonecommand/python-locust:slim-0.11.0