Tech riderRev. 4 Oct 2026
MockWebServer
- 1Runs onNot stated by the maker
- 2CostsFree plan
- 3Dynamic responsesYes
- 4Request matchingpath
- 5Local deploymentYes
- 6Supported protocolsHTTP, HTTPS, HTTP/2
5 lines stated Written from the maker's own pages: square.github.io, github.com

Overview
MockWebServer is ranked #18 of 27 in API mocking tools on Specifiction. There is a free plan.
MockWebServer plans and pricing
All plansCompared 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 All accessCh 01 Microcks Free planAPIBrowser Free to start7.6 All accessCh 02 Mockzilla Free planAPILinux from $10/mo7.6 All accessCh 03 Parasoft SOAtest Free trialAndroidAPI 7.6 All accessCh 04 WireMock Free planFree trialAPI Free to start7.6 All accessCh 05 Mockttp Free planLinuxMac Free to start7.4 All accessCh 06 Mockoon Free trialAPILinux from €10/mo7.3
Where it ranks on Specifiction
- Best API Mocking Tools in 2026#18 of 27
Is MockWebServer yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/square/okhttp/blob/master/mockwebserver· checked 4 Oct 2026
- github.com/square/okhttp· checked 4 Oct 2026



