from locust import HttpUser, task, between
import random
URLS = [
"/",
"/about",
"/products",
"/contact",
"/blog/page1",
"/blog/page2",
]
class WebsiteUser(HttpUser):
wait_time = between(1, 3)
@task
def browse(self):
url = random.choice(URLS)
self.client.get(url)
here is the sample video of this
https://www.youtube.com/watch?v=6fotO30YmkQ&t=3s
you can create a free cloud vm to rule all workers