2024-05-12 19:52:51 +02:00

14 lines
275 B
Python

from locust import HttpUser, task, between
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")