Run Predefined Task after Another #3077
nicholaswkc34
started this conversation in
General
Replies: 2 comments
|
You can use SequentialTaskSet, but usually it is easier and more flexible to just have a single task with all the steps https://docs.locust.io/en/stable/tasksets.html#sequentialtaskset-class |
0 replies
|
First of all, Thanks for your reply. I'm appreciated it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear all forumers, I had coded load test using locust. I have two api endpoint to test which are register and login.
In the execution, during register, email will be generate random using pattern and this will be read from csv file in login. My questions is How to run register @task all first and then run login task? Is there any method to do it? I know how to define higher priority but this does not guarantee all users has register first.
Please help. Thanks in advance.
All reactions