pip install locust
create file locustfile.py
start with locust
open web using :
http://localhost:8089/
Sample user file:
from locust import HttpUser, taskclass LoadUser(HttpUser): @task def load(self): self.client.get("/sleep_30/")
No comments:
Post a Comment