Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Newman

$ newman Official Med Risk
Postman · Browser & Web · Apache-2.0 · macos / linux / windows

Newman executes Postman Collection v2 JSON files directly from the command line or CI pipelines. Using --reporters cli,json and --reporter-json-export, agents can run existing API test suites and inspect assertion failures cleanly.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install newman
CLI vs MCP Decision CLI Only

Executes existing Postman collections deterministically in CI/shell without needing a Postman MCP server.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports --reporters json, --reporter-json-export, --color off, and --bail, though JSON reports can be verbose and collections may run arbitrary pre-request JS.

  • Supports --reporters json, --reporter-json-export, and --color off
Trust & Safety 19 / 25

Executes Postman JavaScript pre-request/test scripts inside Node and sends whatever HTTP methods are defined in the collection.

  • Collection JSON files can invoke arbitrary pre-request JS and mutating HTTP calls
Setup & Portability 13 / 15

Cross-platform via npm, npx, brew, and official Docker image.

  • Distributed on npm and Homebrew
Utility & Efficiency 13 / 15

Essential when teams already maintain Postman .postman_collection.json suites; for net-new agent tests, hurl is lighter.

  • Full Postman Collection v2 compatibility
Maintenance & Lineage 9 / 10

Official Postman Labs project (postmanlabs/newman) under Apache-2.0.

  • Official postmanlabs/newman repository
Docs & Verifiability 8 / 10

Comprehensive Postman docs and --help reference.

  • Official docs at learning.postman.com

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Reads secrets from environment files (-e env.json) or --env-var CLI flags; stores no credentials.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, Apache-2.0 open-source Node.js CLI.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Newman Agent Rules
- Always pass `--color off` and `--timeout-request <ms>` when running collections in agent shells.
- Avoid printing `--env-var` secrets to stdout and audit collection scripts before running against live environments.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run a Postman collection with clean CLI output
newman run collection.json --color off --bail --timeout-request 10000

Disables ANSI colors (--color off), stops on first error (--bail), and bounds request timeouts.

Controlled Writes & Previews

Run collection and export JSON test report
newman run collection.json -e staging.env.json --reporters json --reporter-json-export newman-report.json --color off

Applies an environment file and writes structured JSON execution results to newman-report.json.

Strengths for Agents

  • + Runs existing Postman collections unchanged in headless CI and agent loops.
  • + --reporters json plus --color off yields clean machine-readable results.

Caveats & Pitfalls

  • ! Exported JSON reports can be large if full response bodies are included.
  • ! Collections are bulky JSON compared to plain-text .hurl or .bru files.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI