myzhan / locust4j

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

Adding onStart and onStop method in tasks #25

Closed sunnychanwork closed 3 years ago

sunnychanwork commented 3 years ago

onStart and onStop allows tasks to have intialization and clean up code. Notice that there are a number of tests that needs to be updated in order to prevent interference