Skip to content
Snippets Groups Projects
Commit 99b8d380 authored by Anesa Fazlagić's avatar Anesa Fazlagić
Browse files

added locust description

parent f3388eaa
No related branches found
No related tags found
1 merge request!79Final merge to main
Pipeline #
......@@ -96,3 +96,17 @@ Sign up with adminer with this config.:
You should see this dashboard (the read square depicts the place you browse metrics for particular microservice):
![](images/GrafanaDashboard.png)
## Locust stress testing:
Python script for stress testing the system using locust library is in the locustScript folder.
The script (locustfile.py) is written to show the performance of the electricity price microservice.
Add a Python interpreter in IntelliJ IDEA and install package locust (or with the command pip3 install locust).
You can stress test yourself (port 8090), from the locustScript folder in the terminal, with the command:
locust
The stress testing report is in the folder reports.
After starting the test, the process should look like this:
![](images/locustTesting.png)
images/locustTesting.png

89.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment