You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An HTTP endpoint for resetting "failures" and/or "exceptions". Currently you can send a POST request to http://locust-host/stats/reset but the "failures" and "exceptions" remain.
If it makes sense to have the existing endpoint also reset these then I am ok with that. Otherwise, having a new endpoint for this would also work. For consistency sake I can see keeping the POST method but DELETE might make more sense.
e.g. curl -X DELETE http://locust-host/failures
Thoughts?
I would be willing to submit a PR once we agree on the correct approach.
The text was updated successfully, but these errors were encountered:
Feature request
An HTTP endpoint for resetting "failures" and/or "exceptions". Currently you can send a POST request to
http://locust-host/stats/reset
but the "failures" and "exceptions" remain.If it makes sense to have the existing endpoint also reset these then I am ok with that. Otherwise, having a new endpoint for this would also work. For consistency sake I can see keeping the POST method but DELETE might make more sense.
e.g.
curl -X DELETE http://locust-host/failures
Thoughts?
I would be willing to submit a PR once we agree on the correct approach.
The text was updated successfully, but these errors were encountered: