myzhan / locust4j

Locust4j is a load generator for locust, written in Java.
MIT License
81 stars 30 forks source link

wait_time support #29

Closed vilkg closed 3 years ago

vilkg commented 3 years ago

Hey!

Does locust4j support waiting between tasks? An equivalent to wait_time = between(1000, 3000) that's supported by locust?

myzhan commented 3 years ago

Not supported currently, you can call Thread.sleep in your task.

vilkg commented 3 years ago

Thanks, was wondering if there's a more elegant way that doesn't require recompiling the project to change the value. Could you plase deploy master? I see that AbstractTask has new methods which could be helpful for that.

myzhan commented 3 years ago

OK, I will find some time to release the master branch.

myzhan commented 3 years ago

Version 1.0.13 has been released.