CLI

Run your API collections from the terminal and CI

The Requestarium CLI runs the requests and collections your team already keeps in Requestarium. Install it from npm, sign in once, and use the same command locally and in your pipeline.

One command for local runs and pipelines

Install with npm install -g @requestarium/cli, then run a collection against any environment with requestarium run-collection. In CI, set REQUESTARIUM_TOKEN instead of logging in.

  • Pick an environment per run, or run once per row of a CSV or JSON data file
  • Pre-request and test scripts run as in the app, including pm.* scripts
  • Cookies are kept between requests in a run

Reports your CI understands

Write JUnit XML for GitHub Actions, GitLab, Bitbucket Pipelines or Jenkins, and a standalone HTML report for people. Runs can be saved back to Requestarium so the team sees the history.

Import from Postman, OpenAPI or cURL

requestarium import turns a Postman collection, an OpenAPI spec or a cURL command into a Requestarium collection, so you can start running tests in minutes.

Free on every plan

The CLI is free on every plan, and sending requests or running collections is never limited.

Frequently asked questions

How do I install the Requestarium CLI?
Run npm install -g @requestarium/cli (Node.js 20.10 or later). It installs the requestarium command. You can also try it with npx @requestarium/cli.
Can I use it as a Newman replacement?
Yes. Import your Postman collection with requestarium import, then run it with requestarium run-collection. pm.* scripts run as they do in Postman and results can be written as JUnit XML.
Is the CLI free?
Yes. The CLI is free on every plan and running requests is never limited.