Bas Dijkstra
12/06/2023, 12:43 PMPostServeAction
to a ServeEventListener
, but it no longer respects / passes the `Parameter`s I pass in. Here's the test registering the extension and firing it: https://github.com/basdijkstra/wiremock-workshop/blob/main/src/test/java/answers/WireMockAnswers6dot3Test.java and here's the definition of my extension: https://github.com/basdijkstra/wiremock-workshop/blob/main/src/test/java/answers/extensions/LogRequestWithTimestamp.java
Debugging shows the Parameters
inside the extension definition is empty, even though I've defined it. The extension itself is triggered correctly, when I replace the parameter with a hard-coded value it does print the logging statement. Any ideas?
With PostServeAction
this used to work fine.Tom
12/06/2023, 8:55 PMBas Dijkstra
12/07/2023, 6:53 AM