# 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.

- Skill: `agentskillexchange/rest-api-test-suite-generator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/rest-api-test-suite-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/rest-api-test-suite-generator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/rest-api-test-suite-generator

---


# 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.

## Prerequisites

Node.js

## Installation

Use the upstream install or setup path that matches your environment:
- npm install postman-collection --save

Requirements and caveats from upstream:
- var fs = require('fs'), // needed to read JSON file from disk
- Collection = require('postman-collection').Collection,

Basic usage or getting-started notes:
- In this example snippet we will get started by loading a collection from a file and output the same in console.
- javascript
- myCollection;

- Source: https://github.com/postmanlabs/postman-collection
- Extracted from upstream docs: https://raw.githubusercontent.com/postmanlabs/postman-collection/HEAD/README.md

## Documentation

- https://www.postmanlabs.com/postman-collection/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/rest-api-test-suite-generator/)

