from locust import HttpLocust, TaskSet, task

class WebsiteTasks(TaskSet):
    @task
    def bcrypt(self):
        headers = { "Content-type": "application/json" }
        payload = '{"message":"hello world"}'
        self.client.post("/SHOUTCLOUD", payload, headers = headers)
        
class WebsiteUser(HttpLocust):
    task_set = WebsiteTasks
    min_wait = 1
    max_wait = 1

from locust import HttpLocust, TaskSet, task

class WebsiteTasks(TaskSet):
    @task
    def bcrypt(self):
        headers = { "Content-type": "application/json" }
        payload = '{"message":"hello world"}'
        self.client.post("/SHOUTCLOUD", payload, headers = headers)
        
class WebsiteUser(HttpLocust):
    task_set = WebsiteTasks
    min_wait = 1
    max_wait = 1
