Skip to content

Instantly share code, notes, and snippets.

@EastResident
Created October 17, 2018 07:40
Show Gist options
  • Save EastResident/09c78b60fddc3582671b3c14a9817484 to your computer and use it in GitHub Desktop.
Save EastResident/09c78b60fddc3582671b3c14a9817484 to your computer and use it in GitHub Desktop.
inside-locust-02
import uuid
from datetime import datetime
from locust import HttpLocust, TaskSet, task
class MetricsTaskSet(TaskSet):
@task
def index(self):
self.client.get("/index")
class MetricsLocust(HttpLocust):
task_set = MetricsTaskSet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment