Skip to content
SPECIFICTION
Get listed

Mocki vs MockWebServer

Mocki

mocki.io

MockWebServer

square.github.io

Side by side

FigureMockiMockWebServer
Price from$15/moFree
Free plan—Yes
Free trialYes—
Open source——
WebYes—
Android—Yes
APIYes—
Self-hostedYes—
Plans published12
Spec score · API Mocking Tools8.0 (#9)7.7 (#14)
PurposeMocki lets users create, run, and deploy mock APIs for development and testing.MockWebServer is a library for testing HTTP, HTTPS, and HTTP/2 clients.
SecurityMocki's privacy policy says it uses commercially acceptable means to protect personal information but cannot guarantee absolute security.The docs state that MockWebServer can test HTTP, HTTPS, and HTTP/2 clients; they do not state security certifications or compliance claims.
SupportThe site offers prioritized support with the Starter plan and says users can contact the maker through the site's chat.The project directs users to report issues encountered on GraalVM, but does not state a MockWebServer support plan or response time.

Plans

Mocki

  • Starter$15 a month

Mocki pricing →

MockWebServer

  • MockWebServerFree
  • Open sourceFree

MockWebServer pricing →

In their own words

Mocki

Mocki has no write-up on Specifiction yet; its figures are above.

Visit mocki.io

MockWebServer

MockWebServer is a free, open-source Android test library for developers checking HTTP clients. It provides a scriptable local server where tests supply canned responses and inspect requests made during HTTP, HTTPS, or HTTP/2 calls. Recorded requests expose method, path, HTTP version, body, headers, and chunk sizes for verification. Responses can be queued in sequence or generated by a Dispatcher that applies a request-by-request policy. Tests can throttle responses to imitate slow networks, and socket policies can keep connections open, disconnect during request or response bodies, or send no response. The README includes Java and Kotlin examples. The documented dependency is com.squareup.okhttp3:mockwebserver3:5.5.0, available through Maven Central. MockWebServer is licensed under Apache License 2.0 and is intended for internal and basic testing of apps using OkHttp. The project says it is not a full-featured standalone HTTP testing library and is not actively developed for new features; it suggests MockServer when requirements exceed its scope.

Visit square.github.io