2025-03-08 17:26:09 +01:00

14 lines
275 B
Python

from locust import HttpUser, between, task
class Stuff(HttpUser):
wait_time = between(1, 3)
@task
def find_stuff(self):
self.client.get("/v1/stuff/string")
@task
def find_stuff_with_pool(self):
self.client.get("/v1/stuff/pool/string")