Mercurial
view load_test/main.py @ 90:1aeee370837b
simple locust file to use.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Thu, 01 Jan 2026 14:47:28 -0800 |
| parents | |
| children |
line wrap: on
line source
from locust import HttpUser, task, between class WebsiteUser(HttpUser): wait_time = between(1, 5) @task(3) def index_page(self): self.client.get("/")