Requests.reset_request_journal()
doesn't work with Wiremock V3
#95
Labels
Milestone
Requests.reset_request_journal()
doesn't work with Wiremock V3
#95
Apologies if this is considered in scope for #91, but I wanted to call out a specific bug.
The class method
Requests.reset_request_journal()
(code) throws a404 NotFoundException
after upgrading to Wiremock V3, because thePOST __admin/requests/reset
endpoint was deleted: wiremock/wiremock@47d4201#diff-629cfdfeca71797a13d4138932081242b849e382a194fd6784736ce83c310350L84I believe this method should call
DELETE __admin/requests
instead, since this endpoint fires the newResetRequestsTask
: https://github.com/wiremock/wiremock/blob/master/src/main/java/com/github/tomakehurst/wiremock/admin/AdminRoutes.java#L84Reproduction steps
Start up wiremock and call
Requests.reset_request_journal()
References
No response
The text was updated successfully, but these errors were encountered: