Portman
Port OpenAPI Specs to Postman Collections, inject test suite and run
by apideck-librariesFree
Domain Rating
by Ahrefs
Domain Rating by Ahrefs34
Description
Portman is an open source command-line tool from Apideck that turns OpenAPI specifications into Postman collections with contract tests built in. It converts OpenAPI 3.0 and 3.1 documents into full Postman collections in one command, then injects tests that check status codes, response schemas through JSON Schema validation, content types and headers. It can also generate variation tests that try different request bodies and parameters, and supports overwrites, assigned variables and pre-request scripts through configuration. Collections can be run with Newman in a CI/CD pipeline, and Portman can sync them to Postman so they stay current as your API changes. The aim is to catch drift between your spec and implementation, give consistent test coverage, and avoid hand-maintaining Postman collections. You can try it with npx @apideck/portman and a spec URL. It is licensed under Apache 2.0.…
Highlights
- OpenAPI 3.0/3.1 to Postman collections
- Automatic contract tests with JSON Schema
- Variation tests for bodies and parameters
- Runs through Newman in CI/CD
- Postman sync
- Configurable overwrites and scripts
Ratings & Reviews
No ratings yet
Be the first to rate Portman.
People also visit
Pororoca
An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman
Apimesh
Auto-generate OpenAPI 3.0 specs + interactive HTML API UI from your codebase
DevTools
Local-first API workflows that go from HAR file to GitHub Actions in 60 seconds
Portman FAQ
What is Portman?
A CLI that converts OpenAPI specs into Postman collections, injects contract and variation tests, and runs them via Newman.
How do I try it?
Run npx @apideck/portman -u followed by the URL of your OpenAPI spec.
Which OpenAPI versions are supported?
OpenAPI 3.0 and 3.1.
What do the contract tests check?
Status codes, response schemas via JSON Schema validation, content types and headers.
Is it open source?
Yes. Portman is open source under the Apache 2.0 license and maintained by Apideck.
What are the best Portman alternatives?
Popular alternatives to Portman include Prism, Pororoca and Apimesh. See all Portman alternatives






