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