tomakehurst
Worth a look if you use Swagger/OpenAPI as it'll accept this as an import format.
[1]: http://mocklab.io
Mock your OAuth2 login for easier performance and integration testing
* The back-end API you depend on isn't ready yet
* The back-end test server is slow, flakey etc.
* You want to test scenarios you can't easily make happen on demand like slow responses, 503 errors, dropped connections etc.
Worth mentioning that even if you're not driving WireMock from Java (or another language binding), you can run it on your laptop or a server from a bunch of JSON files. This makes it usable with e.g. iOS apps.
Alternatively you can use https://www.mocklab.io, which is 100% compatible, but hosted, has a UI etc.
Lots of folks use WireMock for Android testing. Definitely worth checking out Sam Edwards' blog and conference presentations on this, e.g. https://handstandsam.com/2016/01/30/running-wiremock-on-andr...