https://linen.dev logo
#help
Title
# help
b

Bas Dijkstra

12/06/2023, 12:43 PM
Quick question: I'm updating my
PostServeAction
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.
t

Tom

12/06/2023, 8:55 PM
Hmmmm…that sounds like a bug. Would you mind creating an issue on GH?
👍 1
b

Bas Dijkstra

12/07/2023, 6:53 AM
3 Views