About Mocky
Mocky is a small application that produces custom HTTP responses on demand. Developers use it when the backend they depend on is still being built, when a single app needs a mocked backend reply, or when they want to exercise a web service client against a known response.
The project runs as a free online service at mocky.io. Its README points to an FAQ for allowed usage and states plainly that the author does not guarantee the sustainability or stability of the hosted application, so it suits testing and prototyping rather than anything that must stay up.
Under the hood the API is written in Scala on the HTTP4s server, and mocks are stored in a PostgreSQL database through Doobie. The frontend is a React and Redux application written in TypeScript. The code is released under the Apache License 2.0. The section on hosting your own instance is still marked as work in progress.
Key features
- Generate custom HTTP responses
- Mock a backend that is still being built
- Mock backend responses inside a single app
- Test web service clients against set responses
- API written in Scala with HTTP4s
- Mocks stored in PostgreSQL
- React and Redux frontend in TypeScript
Good fit for
- Mocking an unfinished backend
- Testing a web service client
- Front-end work before the API is ready
Mocky: questions and answers
- What is Mocky used for?
- Mocky lets developers generate custom HTTP responses so they can test web services and clients before a real backend exists. It is a good fit for mocking an unfinished backend, testing a web service client and front-end work before the API is ready.
- Is Mocky open source?
- Yes. Mocky is open source under the Apache-2.0 licence. Its source code is on GitHub at MockyAbstract/Mocky and is written mainly in TypeScript.
- Is Mocky free?
- Yes. Mocky is open source, so the software itself is free to use. A managed cloud version is also available.
- What is Mocky an alternative to?
- Mocky is an open-source alternative to Beeceptor, Webhook.site, WireMock Cloud and Mockaroo. Other open-source alternatives to Beeceptor include MockServer, Mockoon and Insomnia Mockbin.
- Is Mocky actively maintained?
- The most recent commit to Mocky was on 4 September 2023. The project has 2.1k stars on GitHub.
Open-source alternatives to Mocky
See all
MockServer
AI Tools
MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspec
Apache-2.0vs Webhook.site★ 5k
Mockoon
API Tools
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no
MITvs Beeceptor★ 8.5k
Insomnia Mockbin
API Tools
Insomnia Mockbin is the underlying backend for the API mocks capability of Insomnia. It is
OSSvs Beeceptor★ 2.1k
DummyJSON
API Tools
DummyJSON.com provides different types of REST Endpoints filled with JSON data which you c
OSSvs Mockaroo★ 3k
Microcks
API Tools
The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native
Apache-2.0vs Apidog★ 2.1k
Hoverfly
Testing & QA
Lightweight service virtualization/ API simulation / API mocking tool for developers and t
Apache-2.0vs Beeceptor★ 2.5k
SaaS alternatives to Mocky
See all
Beeceptor
API Tools
Hosted mock API server with request inspection and rule-based responses
SaaS
Webhook.site
API Tools
Gives temporary URLs for inspecting and testing incoming webhook requests
SaaS
WireMock Cloud
API Tools
Hosted API mocking and simulation service from the creators of WireMock
SaaS
Mockaroo
API Tools
Generates realistic test data and mock APIs exportable as JSON, CSV or SQL
SaaS
Mockerito
API Tools
Hosted mock REST API servers with 200+ endpoints across 9 domains for prototyping, testing and teaching
SaaS
CatchHook
API Tools
Webhook testing and debugging platform that captures, inspects, replays and forwards requests
SaaS
