Join Slack
Powered by
<How to Mock requests only for certain tests and f...
# stackoverflow
r
rss
03/23/2024, 1:12 AM
How to Mock requests only for certain tests and for certain APIs with WireMock
When I run WireMock to a test class, it is applied to all tests and all APIs
https://i.stack.imgur.com/1mrnx.png
▾
RestResponse { code=404, body=No response could be served as there are no stub mappings in this WireMock instance. } How to Mock requests only for certain tests and for certain APIs with WireMock?
4
Views
Open in Slack
Previous
Next