Created
July 7, 2023 08:53
-
-
Save u1i/a4a8ca0d7722455f525bda8d33757abb to your computer and use it in GitHub Desktop.
Locust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from locust import HttpUser, task, between | |
class QuickstartUser(HttpUser): | |
wait_time = between(1, 2) | |
@task | |
def index_page(self): | |
self.client.get("/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment