Every time when I need to mock some http requests my first choise is WireMock (which is actually standard for that I think), but today I discovered some alternative tool - MockWebServer.
What are pros and cons of WireMock vs MockWebServer?
Every time when I need to mock some http requests my first choise is WireMock (which is actually standard for that I think), but today I discovered some alternative tool - MockWebServer.
What are pros and cons of WireMock vs MockWebServer?
Basically MockWebServer
was invented to run smoothly on Android devices. There were several problems with WireMock
setup on Android and thats why MockWebServer
was invented.
If you use mocking on your backend though then I recommend WireMock
since it's more feature rich.
There is nice article on the topic here:
https://handstandsam.com/2016/01/30/running-wiremock-on-android/
especially My recommendation section