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 #24

Closed sunnychanwork closed 3 years ago

sunnychanwork commented 3 years ago

Adding onStart and onStop method, which allows Tasks to have specific initialization and shtudown code.

myzhan commented 3 years ago

@sunnychanwork It's ready to be merged?

sunnychanwork commented 3 years ago

I have created another pull request as I wasn't able to squash the commit - so I re-apply it in a fresh branch instead.