Last active
April 8, 2017 21:06
-
-
Save tnachen/e6fb872c08a3dbcb9411149ee78b1531 to your computer and use it in GitHub Desktop.
exmaple locust file
This file contains hidden or 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
from locust import HttpLocust, TaskSet, task | |
class UserBehavior(TaskSet) | |
@task | |
def index(self): | |
self.client.get("/index.html") | |
class WebsiteUser(HttpLocust): | |
task_set = UserBehavior | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment