locust_app/locustfile.py

7 lines
134 B
Python

from locust import HttpUser, task
class Hello(HttpUser):
@task
def hello(self):
self.client.get("/pzx/v1/api/hello")