from locust import HttpUser, task, between

class WebsiteUser(HttpUser):
    wait_time = between(1, 5)
    host = "http://localhost:43007"  # Definindo o host para a URL completa

    @task
    def load_home(self):
        self.client.get("/")  # Isso agora acessará "http://localhost:43007/"