Files
Marco Verleun 7ec71d6feb first commit
2022-12-09 15:19:59 +01:00
..
2022-12-09 15:19:59 +01:00
2022-12-09 15:19:59 +01:00
2022-12-09 15:19:59 +01:00

= Nice tool to show multiple pod behavior.

Locust (https://https://docs.locust.io/) is a nice python based tool to do load testing. It can run as a commandline tool or start a (local) webserver with a nice GUI.
A small python file `locustfile.py` describes the basics. It connects to the mentioned endpoints on a server that is specified either in the GUI or from the command line, e.g.

[source,shell]
----
locust --host https://cursus-application-1-dev.apps.ocp4-vi.alliander.local --users 1
----

This will start a GUI at http://localhost:8089

== Installing

Installing locust is as easy is running `pip install -r requirements.yaml`.