From 49c2ee29589fc325fc31de7e98eae296db656d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Mach=C3=A1=C4=8Dek?= <xmachac5@fi.muni.cz> Date: Sun, 7 May 2023 19:53:52 +0200 Subject: [PATCH] scenario - basic user tasks --- locust-scenarios/locustfile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/locust-scenarios/locustfile.py b/locust-scenarios/locustfile.py index 59010aa..79a661f 100644 --- a/locust-scenarios/locustfile.py +++ b/locust-scenarios/locustfile.py @@ -116,3 +116,9 @@ class BasicUser(HttpUser): @task def generate_airplane_report(self): self.client.get(":8085/api/reports/airplane/1") + @task + def generate_airport_report(self): + self.client.get(":8085/api/reports/airport/1") + @task + def generate_flight_report(self): + self.client.get(":8085/api/reports/flight/1") -- GitLab