locust_app/locustfile.py

7 lines
133 B
Python
Raw Normal View History

2023-10-24 16:00:55 +08:00
from locust import HttpUser, task
class HelloWorldUser(HttpUser):
@task
def hello_world(self):
self.client.get("/")