I have a collection of postman requests in JSON format. I need to write a python script that runs this collection and check the return code of all request in the collection. I already see the postman tool for convert request into code, but I need to do this dynamically, because the collection may change in the future. Is there some python package that can help me? Maybe some wrapper for newman/postman?
Asked
Active
Viewed 4,582 times
1 Answers
1
Postman newman provides a command line interface and a node.js library. You could invoke the command line interface from your python code.
You could also try https://pypi.org/project/postpy2/

MattG
- 5,589
- 5
- 36
- 52