Docker of Locust for distributed mode.
8.0K
Docker of Locust for distributed mode. Automatically downloading scenario files from AWS S3
export S3_SCENARIO_PATH=locust/api_a
export S3_RESULT_PATH=locust/api_a/result
export TARGET_URL=http://host.docker.internal:8080
export AWS_ACCESS_KEY_ID=aaa
export AWS_SECRET_ACCESS_KEY=bbb
export LOCUST_USER_COUNT=99
export LOCUST_RUN_TIME=5s
export LOCUST_NO_WEB=true
Upload Locust scenario file locustfile.py to S3 ($S3_SCENARIO_PATH)
docker-compose up
Multiple slave:
docker-compose up --scale slave=3 # 1 master + 3 slave
Content type
Image
Digest
Size
131.2 MB
Last updated
about 7 years ago
docker pull mapler/distributed-locust