myzhan / locust4j

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

Reset StatsError occurrences to fix counting failures multiple times #37

Closed ferristseng closed 2 years ago

ferristseng commented 2 years ago

Fix #31

myzhan commented 2 years ago

Nice! What about creating a new errors map after reporting to the master? Then it will behave more like locust https://github.com/locustio/locust/blob/master/locust/stats.py#L717

ferristseng commented 2 years ago

Good call! I will try that

ferristseng commented 2 years ago

Nice! What about creating a new errors map after reporting to the master? Then it will behave more like locust https://github.com/locustio/locust/blob/master/locust/stats.py#L717

Good call! Can you take a look again?

myzhan commented 2 years ago

LGTM! Thanks @ferristseng