Files
manifesti/stress-test/locustfile.py
2026-05-01 10:22:18 +02:00

16 lines
332 B
Python

from locust import HttpUser, task, between
class MojServisUser(HttpUser):
wait_time = between(1, 3)
def on_start(self):
# ignoriraj SSL probleme
self.client.verify = False
@task(10)
def root(self):
self.client.get("/")
@task(5)
def health(self):
self.client.get("/health")