Dirk Bolte07/11/2023, 2:12 PM
in the state extension. A PR is available at: https://github.com/wiremock/wiremock-extension-state/pull/4 for you to give feedback and see it in use.
Some things I stumbled upon:
• I could only get response templating to work when both
was set to
• For one functionality I had in mind it would be great if a request gets a unique ID . What do you think?
• I'm currently at 4 classes I have to add for the whole set. It hardly makes sense to register them in isolation, so I wonder whether we can add a "collection" extension which can register multiple events + extensions in one shot (similar to what is already done with
. I can provide an proposal + PR if this something you see as beneficial
Tom07/11/2023, 3:36 PM
element to your stub when you declared it?
• ServeEvents already have an
(UUID) field, is this sufficient for what you’re trying?
• You can use
for exactly this purpose, and be able to inject core WireMock services while you’re doing it. Alternatively you can have one class that implements all the extension interfaces you need to support.
Dirk Bolte07/11/2023, 3:38 PM
Tom07/12/2023, 9:41 AM
Dirk Bolte07/17/2023, 3:01 PM
to also get the
so that I can access the ID?
Tom07/17/2023, 3:09 PM
Dirk Bolte07/17/2023, 3:11 PM