mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
b7e86ed79b
+ move to waitress wsgi server + refactor dates utils + create locustfile for stress test
9 lines
230 B
Python
9 lines
230 B
Python
from locust import HttpUser, task
|
|
|
|
class HelloWorldUser(HttpUser):
|
|
host = "http://localhost:1980"
|
|
|
|
@task
|
|
def hello_world(self):
|
|
self.client.get("/getall/artists?start=0&limit=50&sortby=created_date&reverse=1")
|