Run API smoke tests before every git push
A git pre-push hook that runs a quick Requestarium smoke folder against your local API and stops the push when it fails. Plain git hooks, Husky and lefthook, plus how to keep it fast and skippable.
Product updates, migration guides and API testing tips from the Requestarium team.
11 articles in Local developmentClear filters
A git pre-push hook that runs a quick Requestarium smoke folder against your local API and stops the push when it fails. Plain git hooks, Husky and lefthook, plus how to keep it fast and skippable.
Browser API clients start instantly but hit CORS, cookie and localhost limits. Desktop clients don't. What each can and can't send, and how to get both in one tool.
Let the Requestarium web app reach localhost, VPN and internal hosts without keeping a terminal open. Install the CLI agent as a login item on macOS, Linux or Windows, approve sites, read its logs and remove it.
Run the Requestarium CLI from the official Node.js image, against a service in docker compose, on a CI runner with nothing installed. Commands, a compose file and a small Dockerfile.
The Requestarium browser extension opens your collections in a side panel next to the docs or app you're looking at, and sends requests from the browser itself, so CORS doesn't get in the way and localhost works. What it can do, what permissions it asks for, and its limits.
The Requestarium Chrome extension adds a DevTools panel that lists the API calls a page makes. Pick one and save it to a collection, or copy it as cURL, without the browser-only headers.
The web app sends requests through the Requestarium server, which can't reach your laptop. With the browser extension installed, it can send them from your browser instead, so localhost, VPN and internal hosts work.
Keep a collection as YAML files in a local folder, edit requests in your own editor, and pull and push with a three-way merge, without connecting a Git provider.
Build the frontend before the backend is ready. Save example responses, get a hosted mock URL with open CORS, match paths with parameters, and switch the app between mock and real API with one variable.
Point the same collection at a service on localhost, inside docker-compose or behind a VPN. Which Requestarium apps reach local hosts, local environments and overrides, and running tests against a local stack in CI.
Make an API return a 404, a 500 or a validation error on demand, slow it down to test loading states, and keep tests away from real third-party APIs, with example-based mock servers.