Skill Detail

REST API Test Suite Generator

Generates comprehensive API test suites from OpenAPI specs using Postman Collection SDK and Newman CLI. Creates parameterized test scenarios with environment-specific variables, auth flows, and assertion chains.

Library & API ReferenceClaude Agents
Library & API Reference Claude Agents Security Reviewed
Tool match: postman โญ 493 GitHub stars โฌ‡ 1.5M/wk npm
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill rest-api-test-suite-generator Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Node.js
Install & setup
npm install postman-collection
Author
Postman
Last updated
Mar 20, 2026
Quick brief

The REST API Test Suite Generator skill automates the creation of API test suites from OpenAPI specification files. It uses the Postman Collection SDK v4 to programmatically build collection items with request definitions, test scripts, and pre-request authentication flows.

How it works

What this skill actually does

The skill parses OpenAPI specs to generate test scenarios for each endpoint covering success cases, validation error responses, authentication failures, and edge cases. It creates Postman environments with variable substitution for base URLs, API keys, and OAuth tokens across development, staging, and production configurations.

Advanced features include dynamic test chaining where response values from one request populate subsequent request parameters using pm.environment.set, contract testing assertions that validate response schemas against OpenAPI definitions using tv4 or ajv validators, performance benchmarking with pm.response.responseTime assertions, and CI integration scripts using Newman CLI with JUnit and HTML reporters. The skill also generates mock server configurations using Prism for offline testing.