diff --git a/README.md b/README.md index 343dd16bdc112f35f93447d256bb5e475d874212..36492dddd27efddb92c399134ebdc7afbe1b6429 100644 --- a/README.md +++ b/README.md @@ -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):  + + ## 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: + +  diff --git a/images/locustTesting.png b/images/locustTesting.png new file mode 100644 index 0000000000000000000000000000000000000000..124adcc60f883c0155b9e6da8b8c232ed04035d2 Binary files /dev/null and b/images/locustTesting.png differ