English Article · Software

Locust as a modern load testing framework

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:

  1. Install python on your system.
  2. Install Pip (package manager).
  3. Install Locust: pip install locust.
  4. Simple locust script.
  5. Run script: you can already execute the loadttesting.sh and see the next console window:
The console window after the run loadtesting.sh 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”