Convert a Postman Collection v2.1 JSON file into a runnable pytest test suite using the postman2pytest CLI. Use when the user has a Postman collection (a .postman_collection.json or v2.1 JSON export) and wants to run it as pytest in CI, when migrating from Postman/Newman to a Python-native test stack, when bridging Postman-documented APIs into a pytest-based regression suite, when the user asks to generate pytest tests from Postman, or when the user mentions wanting to keep Postman as the source of truth but run the suite with pytest.
93
100%
Does it follow best practices?
Impact
100%
1.00xAverage score across 2 eval scenarios
Passed
No known issues
Please use GitHub Security Advisories on this repo. Private vulnerability reporting is enabled:
https://github.com/golikovichev/postman2pytest/security/advisories/new
Do not open a public issue for security reports. If GitHub advisories is unavailable to you, open a blank issue titled security: contact and I will move the conversation to a private channel.
I will reply within 5 working days. For confirmed issues the usual fix window is 30 days, sooner if the impact is high.
postman2pytest takes a Postman Collection v2.1 JSON file and emits a Python test module. Two surfaces matter:
A malicious collection could try to inject Python code into the generated module, or trick the user into running requests against an unexpected host. Reports about either path are welcome.
--outThe latest minor release on PyPI receives security fixes. Older minors do not.
If you would like to be named in the advisory, say so in the report. Otherwise the fix lands quietly.
.tessl-plugin
evals
scenario-1
scenario-2