Created
July 18, 2021 05:36
-
-
Save agusrichard/7e9132fbc04ad8aedb0881475d4fa7fb 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
from locust import HttpUser, task, between | |
class HelloWorldUser(HttpUser): | |
wait_time = between(0.5, 2.5) | |
@task | |
def hello_world(self): | |
self.client.get('/hello') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment