The Locust is an alternate tool to the JMeter. Locust allow you to write load tests in python, this tutorial describes how from scratch make a simple load testing and see results. Let’s do the following steps:
- Install python on your system.
- Install Pip (package manager).
- Install Locust: pip install locust.
- Simple locust script.
- The simple script as the Hello World I’ve added to Github and you can utilize it.
- Download the scripts and put is to any folder, let’s say under the C:\LocustScript
- You should see the next files:
- locust.py (required file).
- loadtesting.sh (this one is optional).
- Run script: you can already execute the loadttesting.sh and see the next console window:

Please pay attention to the output url: http://0.0.0.0:8089, please adjust the address to the next: http://localhost:8089, (as the IP-format may not work) and paste to the browser, you should see the next:
Continue reading “Locust as a modern load testing framework”