Skip to content

Instantly share code, notes, and snippets.

@franko4don
Created November 9, 2023 02:29
Show Gist options
  • Select an option

  • Save franko4don/85d17a712f859d34e9db3239734d4170 to your computer and use it in GitHub Desktop.

Select an option

Save franko4don/85d17a712f859d34e9db3239734d4170 to your computer and use it in GitHub Desktop.
from locust import HttpUser, between, task
class WebsiteUser(HttpUser):
wait_time = between(5, 10)
@task
def index(self):
self.client.get("/")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment