Created
June 13, 2021 14:56
-
-
Save wowi42/539de2c73aa3e38c4307c1183a406bb9 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 | |
from locust.contrib.fasthttp import FastHttpUser | |
class QuickstartUser(FastHttpUser): | |
wait_time = between(0.1, 1.1) | |
@task | |
def get_root(self): | |
self.client.get("/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment