Created
October 17, 2018 07:40
-
-
Save EastResident/09c78b60fddc3582671b3c14a9817484 to your computer and use it in GitHub Desktop.
inside-locust-02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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