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.
32 articles in CLIClear 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.
What each Requestarium CLI exit code means, which failures should block a deploy and which shouldn't, and how to tell a broken API from a broken pipeline in your CI script.
requestarium export --format curl turns a folder of requests into a shell script, one curl command per request. Useful for runbooks, bug reports and people who don't use an API client. What's included, what isn't, and how to keep secrets out.
requestarium import brings in Postman, OpenAPI, Insomnia, Bruno, HAR and curl from a file, a URL or stdin. Preview first, pick only some folders, merge into an existing collection, and handle secrets and scripts, all from a terminal or a script.
Values that scripts set during a run are gone when it ends. When you really need one in the next run (a created account, a cursor, a last-seen id), save it on purpose with the CLI, and when you don't, make each run start clean.
One paragraph in CLAUDE.md, AGENTS.md or Cursor rules makes your AI coding agent run the matching Requestarium collection after it changes an endpoint, fix what fails, and add tests for new behaviour.
The Requestarium MCP server ships four ready-made prompts that most AI clients show as slash commands. What each one asks the agent to do, where it stops to ask you, and when to write your own prompt instead.
Cloud agents, a shared team machine or a web page can reach the Requestarium MCP server over HTTP. The token, host and origin options, how to put it behind HTTPS, and the mistakes that expose your collections.
Why "latest" in CI turns a CLI release into a surprise, how to pin @requestarium/cli in GitHub Actions, GitLab, Docker and package.json, and a simple routine for upgrading.
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.
Every Requestarium CLI command you'll use day to day, on one page. Sign in, run requests and collections, reports, environments, import and export, sync, MCP and the local agent.
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.
Fast pipelines run only what they need. How to run a single folder, a single request or a test suite with the Requestarium CLI, and how to lay out folders so that's easy.
List environments, read and change variables, store a secret from standard input and create a new environment for a preview, all with requestarium env. Handy for scripts, CI setup and keeping secrets out of shell history.
Tab completion, request paths instead of ids, quiet and verbose output, colours in CI logs, cookie jars between commands, update checks and more. Small CLI habits that save time every day.
Every Requestarium CLI run can write a stable JSON report. Use jq to list failures, find the slowest requests, spot unresolved variables, and feed results into your own tools.
Keep a work login, a personal one and a self-hosted server side by side with CLI profiles, switch with one command or one environment variable, and never mix up which account a CI job uses.
--html writes one self-contained file with totals, every request, its tests, headers and response, failures first. Attach it to a CI run, a ticket or an email, and anyone can open it in a browser.
What counts as a conflict when a collection is synced with Git, how Requestarium merges everything else field by field, and how to settle real conflicts in the app or the CLI.
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.
requestarium sync validate checks collection YAML, duplicate ids and typed credentials offline, so a broken request file never reaches main. Plus a CI check that nothing was left unpushed.
How to check that your API's rate limit actually kicks in, answers 429 with the right headers, and recovers, without hammering production or making CI flaky.
Run your saved API collections on every pull request with the Requestarium CLI. A working GitHub Actions workflow with secrets, JUnit reports, job summaries and run history.
Run one API collection against many inputs: valid and invalid users, edge cases, every locale. How to write the data file, read it in requests and tests, and run it in the app or in CI.
Get API requests working on a locked-down corporate network. HTTP proxies with authentication, TLS inspection and custom certificate authorities, VPN-only hosts, and what never to do.
Run your API collections in Azure DevOps with the Requestarium CLI. Secret pipeline variables mapped the right way, PublishTestResults for the Tests tab, and Azure Key Vault secrets.
Run saved API collections in Bitbucket Pipelines with the Requestarium CLI. Secured variables, test reports on the pipeline's Tests tab, and run history with links back to the pipeline.
A CircleCI config that runs saved API collections on every push, stores JUnit results for the Tests tab, keeps an HTML report as an artifact and runs a nightly schedule.
A working .gitlab-ci.yml that runs your saved API collections on every merge request, with masked variables, JUnit results on the merge request and scheduled pipelines.
A Jenkinsfile that runs your API collections with the Requestarium CLI, reads credentials from the Jenkins credentials store, publishes JUnit results and archives an HTML report.
Paste a curl command from docs, a teammate or your browser's Copy as cURL and get a saved, editable request. Import a whole file of curl commands, and go back from a request to curl.
How mutual TLS works, and how to call and test mTLS-protected APIs from the command line and CI with a client certificate, a private key, a passphrase and a custom CA.