This automation requires you to install Docker. Kindly install based on your OS:
https://www.docker.com/products/docker-desktop
Run in your terminal build.sh
to create the docker image. Make sure you have stable internet connection as it will download the required dependencies.
Run Specific Locust File
locust -f script/file.py --headless --csv reports/locust_report --html reports/locust_report.html -u 2 -t 3 -r 4 --processes 1
Run Locust Specific Tags
locust -f script/file.py --headless --csv reports/locust_report --html reports/locust_report.html --tags special -u 3 -t 3 -r 4 --processes 1
Run using the Docker Image
docker run -t --rm -v ${PWD}:/app locust_io_engine locust -f /app/script --headless --csv reports/locust_report --html reports/locust_report.html --tags special -u 2 -t 3 -r 4 --processes 1
This automation requires you to install Docker. Kindly install based on your OS:
https://hub.docker.com/repository/docker/fandratt/locust_io_engine