Index page with a simple HTTP GET and a simulated user wait time between pages.
This test requests your index page with a simple HTTP GET. It has a simulated user wait time between pages of
between 5 and 9 seconds.
You can easily add additional urls by duplicating the "self.client.get" line.
from locust import HttpUser, task, between
wait_time = between(5, 9)
This guide is part of the LoadForge Directory, an index of locustfile's for use with LoadForge website and API load tests.
We also provide a wizard to generate tests, and onboarding assistance for clients. Contact us should you have any questions.
LoadForge provides load testing and stress tests for websites, APIs and servers. It uses your cloud account to rapidly scale large numbers of simulated users
to load test your website, store, API, or application for cheap - just cents per test!