Wiremock Stateful Behaviour
March 5, 2023
When working with third-party APIs, it’s not uncommon to receive different responses when calling the same endpoint. This can make it difficult to test the integration of our system with theirs. To simulate these behaviors and test our system’s response to them, we can use WireMock.