We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seq_task does not work, with following code and cmd, locust 0.9.0:
locust -f test.py --host=http://127.0.0.1:81 --no-web -c 1
from locust import HttpLocust, TaskSet, task from locust import seq_task class MyTaskSet(TaskSet): def on_start(self): print "start" @seq_task(1) def step1(self): print "step 1" @seq_task(2) @task(2) def setp2(self): print "step 2" @seq_task(3) @task(3) def step3(self): print "step 3" class MyLocust(HttpLocust): task_set = MyTaskSet
The text was updated successfully, but these errors were encountered:
sequence is random, no pattern, remove @task() with only @seq_task() left makes no difference
@Ramshell Cloud you help check? Thanks
Sorry, something went wrong.
I think you should use TaskSquence instead of TaskSet as the super class.
My mistake, thx, close this one.
No branches or pull requests
seq_task does not work, with following code and cmd, locust 0.9.0:
The text was updated successfully, but these errors were encountered: