-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
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
calling taskset and tasks on if else conditions #504
Comments
I don't understand your first question.
You can make multiple HTTP requests within a single task. I think you've misunderstood what TaskSets' |
@heyman Thanks for the quick reply. I will try to explain my scenario clearly below.
in the above sample, Take test is a single task with multiple flows and it almost covers the entire business flow. I cannot split this into different tasks as they are sequence of flows and user cannot bypass the flow. can I use time.sleep() between each request or is it possible to split the sequence into different tasks and it will execute in a sequence? I am new to performance testing and locust, pardon me if I miss something. |
Sleeping between each request is fine (you could also call |
I am using Locust for doing performance test for Test taking App.
There are so many conditions in the app, on each condition I would follow the separate flow.
taking test is a single task but it will have so many conditions and http requests,
whether I have break this into different task?
if Yes how can I do it?
can I call multiple http request on single task?
if yes, how to set the minimum wait time and maximum wait for requests inside the task.
The text was updated successfully, but these errors were encountered: