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.
Runs Newman (Postman CLI) to execute API tests and analyzes results for pass/fail status, response times, and errors. Use when user mentions Newman, Postman tests, or needs to validate HTTP endpoints.
/plugin marketplace add vanman2024/dev-lifecycle-marketplace/plugin install testing@dev-lifecycle-marketplaceThis 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 newmanMaster authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.