Mockfly
7.4#3 in api mocking toolsFrom €150 a yearFree planWebAPIExtensionLinux
Visit| Fact | Mockfly | MockWebServer |
|---|---|---|
| Integrations | The Chrome extension captures browser requests and adds selected endpoints to a Mockfly project. | Optional artifacts provide JUnit 4 and JUnit 5 integrations, while the core mockwebserver3 module has no JUnit dependency. |
| Purpose | Mockfly creates hosted mock REST API endpoints so teams can build and test before a backend is ready. | MockWebServer is a library for testing HTTP, HTTPS, and HTTP/2 clients. |
Mockfly suits frontend, backend, mobile, QA, and testing engineers who need shared mock APIs. It is also useful for teams that want to import API definitions, automate mock management, or serve projects locally offline.
It suits developers writing internal or basic tests for apps that use OkHttp. Java and Kotlin test examples are provided.