mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
16 lines
360 B
Python
16 lines
360 B
Python
from locust import HttpUser, task
|
|
|
|
|
|
class HelloWorldUser(HttpUser):
|
|
host = "http://localhost:1980"
|
|
|
|
# @task
|
|
# def get_all_artists(self):
|
|
# self.client.get(
|
|
# "/getall/artists?start=0&limit=50&sortby=created_date&reverse=1"
|
|
# )
|
|
|
|
@task
|
|
def get_album_info(self):
|
|
self.client.get("/artist/9e6781427eab4934")
|