A WireMock alternative for practice, not for stubbing a contract
WireMock is a mature HTTP mock server — a Java library, a standalone process and a Docker image — built for stubbing third-party APIs in automated tests. Stubs match requests on method, URL, headers and body, and return the responses you define; it can record real traffic and replay it, inject faults such as delays and dropped connections, and simulate stateful scenarios.
At a glance
WireMock compared with this playground, checked 2026-09.
WireMock
Fun API Playground
What it is
A configurable mock server and Java library
A ready-made simulated API catalog
Who defines responses
You, with stubs and mappings
The playground
Setup
Library, standalone JAR or Docker, plus stubs
None
Reproduce a specific vendor API
Yes — its main purpose
No
Stateful behaviour
Scenarios you script
Built in: stock, versions, seats, tokens
Fault injection
Delays, resets, malformed bodies
Fault Injection API plus status on demand
Request verification
Yes
No
Best for
Isolating your code from a dependency in CI
Learning and rehearsing against an API you do not control
Where it stops
Every response it gives is one you wrote. That is its strength when you need to reproduce a specific contract inside CI, and the limit when the goal is to learn or rehearse: the API cannot surprise you, its rules are as complete as your stubs, and setting it up for anything beyond a handful of endpoints is real engineering work.
What is different here
This playground is the opposite trade. There is nothing to define, and the behaviour — conflicts, version checks, rate limits, async jobs, token expiry — follows rules you did not write, the way a real third-party API does. It is a place to practise and to learn what to stub, not a replacement for stubbing your own dependencies in CI.
What WireMock does better
Reproduces one specific third-party contract exactly, including undocumented quirks you have observed.
Runs inside your test process or CI with no external dependency.
Record-and-playback captures a real API's responses as stubs.
Request verification: assert that your code called the dependency the way it should.
What this playground does better
Zero setup — no stubs, JVM, container or configuration.
A wide, ready-made surface: 55 APIs with persistent state and real constraints.
Rules written by someone else, so tests discover client behaviour rather than confirm your stubs.
Interactive docs and generated code in nine languages for learning and demos.
Which to use
For stubbing a real dependency in your test suite, WireMock is the right tool and this is not. For learning API testing, building a practice suite or demonstrating client behaviour against realistic rules, this is ready with no setup.
Checked against WireMock as of 2026-09.
Official sources and scope
This compares a training playground with the documented use case of the other tool. Plans, limits and hosted features can change. For current terms, use the official sources below.
JSONPlaceholder — JSONPlaceholder fakes its writes. If you need a POST that a later GET can find, that is the difference.
httpbin — httpbin shows you the request. This shows you an API. They answer different questions.
ReqRes — Choose between a hosted test backend with account-backed collections and a no-signup training playground with themed scenarios.
json-server — json-server turns a JSON file into a REST API in seconds. It does not push back — and that is the difference.
Mockoon — Mockoon is for designing your own mock API. This one is an API already designed, with rules you have to discover.
Beeceptor — Beeceptor gives you a hosted endpoint to inspect and mock. This gives you finished APIs that behave like real ones.
DummyJSON — DummyJSON has rich sample data and a JWT login. Its writes are simulated; here they persist.
Postman mock servers — A Postman mock server replays the examples saved in a collection. This one runs an API with state and rules.
PokeAPI — PokeAPI is the real Pokémon database, read-only. This Pokémon API is invented data you can write to and break.
SWAPI — SWAPI serves Star Wars data, read-only. This Star Wars API is invented practice data you can change.
Restful Booker — Restful Booker is one booking API built for testing practice. This is 55 APIs with the failure paths built in.
Swagger Petstore — Petstore is the reference sample for an OpenAPI document. This is a set of APIs whose behaviour is the thing you test.
GoRest — GoRest needs a token from a social login before you can write. This needs no account at all.
FakeStoreAPI — FakeStoreAPI returns a fake id for your POST and saves nothing. Here the cart, coupon and checkout keep their state.
Practice Software Testing — Toolshop is a full web shop with seeded bugs for UI and API testing. Fun API is many small APIs built around HTTP behaviour.
balldontlie — balldontlie serves real league data behind an API key and a free tier of a few requests a minute. This serves invented leagues you can drive yourself.
the HAPI FHIR public test server — The HAPI public server is a full FHIR implementation shared by everyone and purged regularly. This is a small, isolated, synthetic subset for practising tests.
the National Weather Service API — api.weather.gov is real, free US government weather data. This is a deterministic weather API for tests that need the same forecast every time.
local LLM mock servers — mockllm, llmock and similar packages run a fake OpenAI/Anthropic server on your machine. This is the same idea, hosted, with failure scenarios chosen by model name.
the free mock API landscape — Six free options, what each is genuinely for, and how to tell which one your problem needs.