About Mocky
Mocky is a simple application for generating custom HTTP responses, aimed at developers who need to test a web service client before the real backend exists, or who want to mock a specific response for a single test case. It lets a developer define a response and get a URL back that returns exactly that response when requested.
It is offered as a free and unlimited hosted service at mocky.io, with a FAQ describing allowed usage, though the maintainer does not guarantee the sustainability or stability of the service. The README notes that self-hosting a private instance was a work in progress at the time of writing, so self-hosting support may be limited or incomplete.
The backend API is written in Scala using the HTTP4s server, with mocks stored in a PostgreSQL database via Doobie, while the frontend is a TypeScript React and Redux application. Mocky is released under the Apache-2.0 license and is currently hosted on Clever Cloud.
Key features
- Generate custom HTTP mock responses
- Free hosted service at mocky.io
- Scala/HTTP4s backend with PostgreSQL storage
- React and Redux frontend
- Useful for testing WS clients before a backend is ready
Good fit for
- →Mocking an API response before the backend is built
- →Testing a web service client against a fixed response
- Tags
- mock-api
- testing
- http
- api-tools
- ci
- scala
- developer-tools
Open-source alternatives to Mocky
See all
Mockoon
API Tools
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no
MITvs Beeceptor★ 8.4k
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★ 2.9k
Karate
Testing & QA
Test Automation Made Simple
MITvs Postman★ 9kATAC
API Tools
A simple API client (postman like) in your terminal
MITvs Postman★ 3.7k
Hoppscotch
API Tools
Helps you create requests faster, saving precious time on development.
MITvs Postman★ 81k
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
Hookdeck
API Tools
Webhook and event gateway for receiving, queuing and retrying webhooks
SaaS
Apidog
API Tools
All-in-one tool for API design, debugging, testing and mocking
SaaS
