Repository navigation
First public release of Postbench, an open-source, local-first API client and collection runner compatible with Postman Collection v2.1 files.
Live web demo: https://postbench.vercel.app
Highlights
- Collection v2.1 import and export with byte stable round trips, environments, globals and CSV or JSON data files
- Postman variable precedence and dynamic variables
- Request engine with all body modes (including GraphQL), Basic, Bearer, API key, OAuth 1, OAuth 2 token, Digest and AWS SigV4 auth, cookies, redirects, proxies, client certificates and timing phases
pm.*script sandbox with chai,pm.sendRequest,setNextRequest, legacytests[]andpostman.*postbench runCLI with newman style flags and cli, json and junit reporters- Mock server from saved examples (name, code, delay and GraphQL operation matching)
- curl, HAR and OpenAPI 3 importers; curl, fetch, Python requests and HTTPie snippets
- React web UI with light and dark themes, and an Electron desktop shell with a Node request bridge
Conformance with newman 6.2.3
- 30 of 42 runnable newman integration collections produce identical results
- 220 of 287 assertions match (76.7%), 0 errors
- See packages/conformance/results/REPORT.md
Downloads
postbench-0.1.0-linux-x86_64.AppImage:chmod +xand runpostbench-0.1.0-linux-x64.zip: unpacked app, run./postbenchSHA256SUMS.txt: checksums
Run from source
pnpm install && pnpm build && pnpm test
node packages/cli/dist/cli.js run my.postman_collection.json -e dev.postman_environment.jsonKnown gaps are listed in docs/limitations.md. Not affiliated with Postman, Inc.