MockWebServer

No phone app

5.0No. 23 of 25
in API Mocking Tools
  • Recognised40% of the score12
  • Phone app26% of the score0
  • Documented20% of the score45
  • Free plan14% of the score30
Free plan
Yes

Summary

MockWebServer is ranked #23 of 25 in API mocking tools on Samsung Mobile US Press. There is a free plan.

MockWebServer plans and pricing

All plans
Open source Free Apache License 2.0 github.com · 4 Oct 2026

Compared on API mocking tools

Dynamic responses
Yessquare.github.io
Request matching
pathsquare.github.io
Local deployment
Yessquare.github.io
Supported protocols
HTTP, HTTPS, HTTP/2square.github.io

Facts

Purpose
MockWebServer is a scriptable web server for testing HTTP clients.github.com · 4 Oct 2026
Test coverage
It lets developers specify responses and verify requests made by an app during HTTP and HTTPS calls.github.com · 4 Oct 2026
Protocols
OkHttp describes MockWebServer as a library for testing HTTP, HTTPS, and HTTP/2 clients.github.com · 4 Oct 2026
Request verification
Recorded requests can be checked by method, path, HTTP version, body, and headers.github.com · 4 Oct 2026
Response scripting
Responses can be queued in order or generated by a Dispatcher that applies a policy to each request.github.com · 4 Oct 2026
Simulated network conditions
Mock responses can be throttled to simulate a slow network for timeout and interactive testing.github.com · 4 Oct 2026
Test languages
The README provides example tests in both Java and Kotlin.github.com · 4 Oct 2026
Installation
The README lists the test dependency as com.squareup.okhttp3:mockwebserver3:5.5.0.github.com · 4 Oct 2026
Integrations
The project documentation describes using MockWebServer to test apps that use the OkHttp client.github.com · 4 Oct 2026
License
The MockWebServer README states that the library is licensed under Apache License, Version 2.0.github.com · 4 Oct 2026
Scope limit
The OkHttp project says MockWebServer is intended for internal and basic client testing, is not a full-featured standalone HTTP testing library, and is not actively developed for new features.github.com · 4 Oct 2026
Alternative
The project documentation suggests MockServer for users whose needs outgrow MockWebServer.github.com · 4 Oct 2026

Best MockWebServer alternatives

See all 20

Where it ranks on Samsung Mobile US Press

Is MockWebServer yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources