Created
March 15, 2023 17:50
-
-
Save noahgift/9b143d0a772ea50a2b7e09c83b162918 to your computer and use it in GitHub Desktop.
This file contains hidden or 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, 5) | |
@task | |
def hello_world(self): | |
self.client.get("/") | |
self.client.get("/fruit") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment