Skip to content

Instantly share code, notes, and snippets.

@wowi42
Created June 13, 2021 14:56
Show Gist options
  • Save wowi42/539de2c73aa3e38c4307c1183a406bb9 to your computer and use it in GitHub Desktop.
Save wowi42/539de2c73aa3e38c4307c1183a406bb9 to your computer and use it in GitHub Desktop.
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