Brandon Chatham
04/04/2025, 11:48 PM"postServeActions": {
"reset-scenarios": {
"parameters": {}
}
}
But this didn't work.
Thanks in advance for any helpLee Turner
04/07/2025, 2:37 PMBrandon Chatham
04/07/2025, 3:48 PMLee Turner
04/07/2025, 6:17 PMPostServeActions
are definitely deprecated and replaced with ServeEventListener
. I had just never seen the reset-scenarios
part before.
Also, I am not sure what you mean when you say you can't use listeners in config. By config do you mean wiremock json?
If so, you can definitely use ServeEventListeners in the json format. That is how webhooks are configured. See the json example here - https://wiremock.org/docs/webhooks-and-callbacks/#creating-a-simple-single-webhookBrandon Chatham
04/07/2025, 6:17 PMLee Turner
04/07/2025, 6:20 PMBrandon Chatham
04/07/2025, 6:23 PMLee Turner
04/07/2025, 6:27 PMLee Turner
04/07/2025, 6:28 PMBrandon Chatham
04/07/2025, 6:41 PMLee Turner
04/07/2025, 7:09 PM