Run and analyze Newman (Postman CLI) tests. Use when running API tests, validating Postman collections, testing HTTP endpoints, or when user mentions Newman, Postman tests, API validation.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
examples/basic-usage.shexamples/with-environment.shscripts/README.mdscripts/analyze-newman-results.pyscripts/run-newman.shscripts/validate-collection.shtemplates/sample-collection.jsonThis skill provides tools to run Newman (Postman CLI) tests and analyze the results for API testing and validation.
Verify Newman Installation
which newmannpm install -g newmanRun Collection
scripts/run-newman.sh <collection.json>newman run collection.json --reporters cli,json --reporter-json-export output.jsonAnalyze Results
scripts/analyze-newman-results.py output.jsonscripts/run-newman.sh - Run Newman with standard optionsscripts/analyze-newman-results.py - Parse Newman JSON outputscripts/validate-collection.sh - Validate Postman collection structureExample 1: Run API Tests
# Run Newman tests on Postman collection
./scripts/run-newman.sh my-api-tests.json
# Analyze results
./scripts/analyze-newman-results.py newman-results.json
Example 2: Validate Collection
# Check collection is valid before running
./scripts/validate-collection.sh my-collection.json
npm install -g newman