Relative Content

Tag Archive for wiremock

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 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 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: