Wiremock admin api use on pcf multiple instance/containers
We have hosted Wiremock standalone on PCF and using admin api to add stub mappings dynamically. This works great when there is only single instance. However, when it is scaled up and admin mapping is used, the stubs are available only on one instance.
Is there a way I can replicate this on all instances?
Wiremock ignores mutipart/form-data matchers
In my tests, I want to mock external API (Twilio). I have the following mapping config for Wiremock (version 3.8.0, run as Docker container):
WireMock scenario to store data across requests
Using WireMock 3.3.1 but can upgrade if new features are available to achieve my goal.
I need to store the value received with a request and reuse it in a subsequent request (to define a dynamic response).
Wiremock could not find helper: ‘jwt’ {{{jwt maxAge=’12 days’}}}
I tried to use the jwt
in JSON tag as declared in wiremock documentation with no luck.
I have ; in my URL and somehow wiremock is constructing it as %3B and the request is going wrongly
my URL is: https://aaaa.com/key=Fb75Q&client=login&tab=xVRQGWF08aY and wire mock is processing it as
Wiremock customization of attributes
I have an API A which is used by UI to display some data. There are some internal APIs called and the data is collected and returned by API A. So, the flow is something like this: