adjust locust file

This commit is contained in:
2023-10-24 16:21:32 +08:00
parent 4b0ca4a68d
commit 864a76f63c
3 changed files with 165 additions and 3 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
from locust import HttpUser, task
class HelloWorldUser(HttpUser):
class Hello(HttpUser):
@task
def hello_world(self):
self.client.get("/")
def hello(self):
self.client.get("/pzx/v1/api/hello")