<reponame>drednout/locust_on_meetup
from locust import HttpLocust, TaskSet, task

class HttpPingTasks(TaskSet):
    @task
    def ping(self):
        self.client.get("/")

class HttpPingLocust(HttpLocust):
    task_set = HttpPingTasks
    min_wait = 100
    max_wait = 500

from locust import HttpLocust, TaskSet, task

class HttpPingTasks(TaskSet):
    @task
    def ping(self):
        self.client.get("/")

class HttpPingLocust(HttpLocust):
    task_set = HttpPingTasks
    min_wait = 100
    max_wait = 500