Developer tools · api testing tool
mock API mocking utility
A command-line utility for creating, scripting and automating mock APIs, which simplifies setting up mock services for local testing in any language. No recurring criticism appears in the quotes.
Summarized from 7 comments.
A command-line utility for creating, scripting and automating mock APIs, which simplifies setting up mock services for local testing in any language. No recurring criticism appears in the quotes.
- recommend
- 5
- criticize
- 0
- months recommended
- 3 of 13
Why people love it
Scriptable mock APIs from the command line · 2
What a great tool! Writing simple scriptable mock apis all for the command line.
Nov 2025 · commentWith it I can create and automate APIs easily.
Apr 2026 · commentSimplifies local test setup · 2
streamlines the process of setting up mock services for testing
Nov 2025 · commentIt greatly simplifies the local setup
Dec 2025 · comment
What hackers pick instead
- SchemathesisDevelopers use it to generate tests from API schemas that find input validation bugs and unhandled edge cases.7recommend
- Tusk DriftOpen-source tool that records production API traffic and replays it as tests, capturing database and cache calls too. People recommend it as a more realistic alternative to synthetic tests.7recommend
- HurlPeople recommend Hurl as a free tool that works as a declarative layer over curl, making HTTP requests easier to write and run.5recommend
Every quote
The 6 most detailed of 7 comments. Each links to the original.
What a great tool! Writing simple scriptable mock apis all for the command line.
Recommends · Nov 2025 · in “Mock – An API creation and testing utility: Examples”
streamlines the process of setting up mock services for testing
Recommends · Nov 2025 · in “An overly aggressive mock can work fine, but break much later”
With it I can create and automate APIs easily.
Recommends · Apr 2026 · in “Ask HN: What dev tools do you rely on that nobody talks about?”
It greatly simplifies the local setup
Recommends · Dec 2025 · in “Debian's Git Transition”
Mock lets you accomplish this without telling you which language you should use.
Recommends · Nov 2025 · in “Mock – An API creation and testing utility: Examples”
I'm not saying it's on par with linux, I'm just saying it's usable
Mixed · Nov 2025 · in “Mock – An API creation and testing utility: Examples”
Counts from 1,795,640 Hacker News comments, Nov 2025 to Nov 2026. How we count · Report a mistake