Skip to content

Commit 5d5ea60

Browse files
committed
- add performance tests with locust
1 parent e7b24d5 commit 5d5ea60

File tree

4 files changed

+675
-9
lines changed

4 files changed

+675
-9
lines changed

performance/__init__.py

Whitespace-only changes.

performance/locustfile.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from locust import HttpUser, task, between
2+
3+
4+
class Stuff(HttpUser):
5+
wait_time = between(1, 3)
6+
7+
@task
8+
def test_find(self):
9+
self.client.get("/v1/stuff/string")
10+
11+
@task
12+
def test_find_pool(self):
13+
self.client.get("/v1/stuff/pool/string")

0 commit comments

Comments
 (0)