
Portman Review
- Apache 2.0 license
- Free to use forever
- OpenAPI to Postman test generator
- Spec-conformance contract tests
- Maintained by Apideck
- No licensing costs
- No paid tier or subscription
- Contract, variation, integration tests
- Runs via Newman
- Repository created in 2021
- Created at Apideck by Tim Haselaars
- Apideck contract-testing backbone
- 680+ GitHub stars
Overview
Portman is an open-source CLI tool that ingests an OpenAPI 3.0 or 3.1 document and generates a Postman collection with auto-injected test suites, runnable through Newman in CI. It was built at Apideck, where it underpins contract testing for their unified-API connectors, with Tim Haselaars and Nick Lloyd credited as creators. It is written in TypeScript on Node.js, the current release is version 1.35.0 from May 2026, and it is licensed under Apache 2.0.
Portman generates three kinds of tests from a spec. Contract tests assert status code, response time, content type, JSON validity, JSON schema compliance against the spec, and header presence. Variation tests cover alternate scenarios and a simple fuzzing mode, and integration tests chain requests using extracted variables. So its contract tests validate that a live API conforms to its own OpenAPI spec. This is spec-conformance for a single API, not consumer-driven contract testing between two parties, and there is no broker or pact exchange.
Portman is for OpenAPI-first teams that want to auto-generate spec-conformance contract tests, variation tests, and chained integration tests directly from their spec, keeping tests in sync as the spec changes and running them in CI through Newman. A portman config gives fine-grained control over content, overrides, and assignments. Buyers should note that it is spec-conformance only rather than cross-service CDC, that test quality depends on spec quality, that it is tied to Postman and Newman and to Node.js, and that it is a niche project with a low release cadence.
Key Featuresโ
OpenAPI to Postmanโ
Portman converts an OpenAPI 3.0 or 3.1 spec into a Postman collection, generating one request per endpoint. This keeps the collection in sync with the spec.
Contract Testsโ
Generated contract tests assert status code, response time, content type, JSON validity, JSON schema compliance against the spec, and header presence. This validates conformance to the spec.
Variation Testsโ
Variation tests cover alternate scenarios and overrides, with a simple fuzzing mode that mutates inputs to trigger validation responses. This exercises error paths.
Integration Testsโ
Integration tests chain multi-step requests using assigned variables to verify state across operations. This tests realistic flows.
Portman Configโ
A portman config file controls content tests, variable assignment, overrides, and security settings. This gives fine-grained control over generation.
Newman Executionโ
Generated collections run through Newman in CI or in the Postman app. This fits existing Postman and Newman workflows.
Postman Uploadโ
Collections can be uploaded directly to the Postman app through the Postman API. This integrates with Postman team workspaces.
Best Selling Pointsโ
- Auto-generates a Postman collection and tests from an OpenAPI spec.
- Spec-conformance contract tests with JSON schema validation.
- Variation tests with a simple fuzzing mode.
- Integration tests that chain requests via variables.
- Keeps tests in sync as the spec evolves.
- Free and open source, the backbone of Apideck's connector testing.
Supported Integrationsโ
Portman integrates with Postman, Newman, OpenAPI, and CI/CD.
Connect Portman across OpenAPI, Postman, Newman, and CI/CD.
- OpenAPI 3.x
- Postman
- Newman
- GitHub Actions
- Node.js
- CLI
Inputs & Outputs
- OpenAPI 3.0
- OpenAPI 3.1
- Postman collection
- portman-config
Runner & Libraries
- Newman
- openapi-to-postmanv2
- postman-collection
- Postman API upload
CI/CD
- GitHub Actions
- GitLab CI/CD
- Jenkins
- Any Node pipeline
Test Types
- Contract tests
- Variation tests
- Integration tests
- Fuzzing mode
Adoptersโ
Portman is used by Apideck and by OpenAPI-first teams, with a modest community.
- Apideck
- OpenAPI-first teams
- Spec-driven API teams
- Postman and Newman users
- CI/CD pipelines
- API platform teams
- Connector and integration teams
- Open-source projects
Adoption & Usage Statisticsโ
- 680+ GitHub stars
- ~72k monthly npm downloads
- 27 contributors
- 1.35.0 current release as of May 2026
- 2021 repository created
- Apideck's contract-testing backbone
Note: Portman is adopted within the OpenAPI community rather than rated on commercial review sites, and metrics are from GitHub and the npm registry.
Supported Platformsโ
Portman runs on Node.js and generates Postman collections from OpenAPI specs.
Portman runs on Node.js, generating Postman collections from OpenAPI.
- Node.js 18+
- OpenAPI 3.0 / 3.1
- Postman
- Newman
- CLI
- CI/CD
- Runtime: Node.js 18 and later, written in TypeScript.
- Input: OpenAPI 3.0 and 3.1 documents.
- Output: Postman collections with injected tests.
- Execution: Newman in CI or the Postman app.
Reportingโ
Portman delegates reporting to Newman.
Portman reports through Newman, which produces several formats.
Result Outputs
Reporting comes from the Newman runner.
- Newman CLIConsole output from runs
- JSONNewman JSON reporter
- JUnitNewman JUnit reporter for CI
- HTMLNewman HTML reporter
- Newman CLI prints run output.
- JSON and JUnit reporters feed CI and tooling.
- The HTML reporter produces a readable report.
- Postman can also run the generated collection interactively.
Ecosystem & Extensionsโ
Portman builds on the Postman ecosystem and underpins Apideck's testing.
- openapi-to-postmanv2 converts the spec to a collection under the hood.
- Newman runs the generated collection in CI.
- The portman config controls generation in detail.
- Apideck uses Portman as its connector contract-testing backbone.
Releases and Maintenanceโ
- Current release: Portman 1.35.0, published in May 2026.
- Cadence: a few releases per year, often dependency updates.
- Maintenance: actively maintained by Apideck at a low cadence, with a sizable open-issue backlog.
- History: the repository was created in 2021 and merged two earlier efforts.
Pricingโ
- Portman is free and open source under the Apache 2.0 license, with no paid tier or subscription.
- It is installed through npm as @apideck/portman.
- There is no commercial edition.
Awards & Recognitionโ
- Portman is a recognized OpenAPI-to-Postman test generator.
- It is the contract-testing backbone for Apideck's connectors.
- It is referenced across OpenAPI and Postman tooling guides.
- Recognition is adoption and community driven rather than through formal awards.
Limitationsโ
- It does spec-conformance only, not consumer-driven contract testing across services.
- Test quality depends on the quality of the OpenAPI spec.
- It is tied to the Postman and Newman ecosystem and output format.
- It is JavaScript and Node.js only.
- The community is niche, with a modest contributor base.
- The release cadence is low, with a sizable open-issue backlog.
Best Fit Scenariosโ
- OpenAPI-first teams generating spec-conformance tests from their spec.
- Teams that want contract, variation, and integration tests in one collection.
- Postman and Newman users who run tests in CI.
- API platform and connector teams keeping tests in sync with specs.
- Projects that want a fuzzing pass over generated requests.
- Teams that do not need cross-service consumer-driven contracts.