LaunchKit · 2026
Back to Skills

newman

Automated API testing with Postman collections via Newman CLI.

0
498 downloads
by @1999azzar

Setup & Installation

openclaw skills install @1999azzar/newman

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install newman

What This Skill Does

Newman is the command-line runner for Postman collections. It executes API tests from exported collection files with support for environments, data-driven iteration, and multiple report formats. Runs anywhere Node.js is available, including CI/CD pipelines.

Unlike running tests manually in the Postman desktop app, Newman enables fully headless, scriptable execution that integrates directly into CI/CD pipelines without any GUI dependency.

When to use it

  • Running Postman API tests automatically on every pull request
  • Generating HTML and JUnit reports from collection runs for test dashboards
  • Data-driven testing across multiple user credentials from a CSV file
  • Regression testing API endpoints before deploying to staging
  • Load testing an endpoint with high iteration counts and custom request delays

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Run my Postman collection against staging and produce a test report

AGENT
  1. 1Export collection as collection.json and staging environment as staging.json from Postman desktop
  2. 2Run: newman run collection.json -e staging.json --reporters cli,html,junit
  3. 3Add output paths: --reporter-html-export ./reports/newman.html --reporter-junit-export ./reports/newman.xml --bail
  4. 4Check exit code and surface failed tests from CLI output
OUTPUT

HTML report at ./reports/newman.html and JUnit XML at ./reports/newman.xml with pass/fail status per request

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

newman CLI (npm install -g newman)