Newman/Postman collection testing patterns for API testing with environment variables, test assertions, and reporting. Use when building API tests, running Newman collections, testing REST APIs, validating HTTP responses, creating Postman collections, configuring API test environments, generating test reports, or when user mentions Newman, Postman, API testing, collection runner, integration tests, API validation, test automation, or CI/CD API testing.
Provides Newman/Postman collection patterns for API testing with environment variables, test assertions, and CI/CD reporting. Use when building API tests, running Newman collections, validating HTTP responses, or automating integration tests.
/plugin marketplace add vanman2024/dev-lifecycle-marketplace/plugin install testing@dev-lifecycle-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
CRITICAL: The description field above controls when Claude auto-loads this skill.
Provides comprehensive patterns, templates, and scripts for Newman/Postman API testing including collection structure, environment management, test assertions, reporting, and CI/CD integration.
Understand Collection Architecture:
Create Collections:
scripts/init-collection.sh to scaffold new collection structureSetup Environments:
scripts/setup-environment.sh to create environment filesVariable Hierarchy:
Write Effective Tests:
templates/test-assertions-basic.js for common patternstemplates/test-assertions-advanced.js for complex validationspm.environment.set() for dynamic workflowsTest Organization:
Execute Collections:
scripts/run-newman.sh for basic executionscripts/run-newman-ci.sh for CI/CD pipeline integration-e flagCommon Execution Patterns:
# Run with environment
bash scripts/run-newman.sh collection.json -e env.json
# Run with multiple reporters
bash scripts/run-newman.sh collection.json --reporters cli,json,html
# Run in CI/CD with junit output
bash scripts/run-newman-ci.sh collection.json -e ci-env.json
Generate Reports:
scripts/generate-reports.sh for comprehensive reportingAvailable Report Formats:
Pipeline Integration:
examples/github-actions-integration.md for GitHub Actionsexamples/gitlab-ci-integration.md for GitLab CIBest Practices:
Debugging Tests:
console.log() in pre-request/test scripts--verbose flag--delay-request to troubleshoot race conditions--export-* flagsCommon Issues:
pm.test() with delays--insecure flag for self-signed certsnpm install -g newman)For additional reference material:
examples/basic-usage.md for quick startexamples/advanced-testing.md for complex scenariosexamples/github-actions-integration.md or examples/gitlab-ci-integration.md for CI/CD setupexamples/error-handling-debugging.md when troubleshootingSkill Location: plugins/05-quality/skills/newman-testing/SKILL.md Version: 1.0.0
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.