I’ve been working on the last days doing extensive API testing and needed to find an easy way to document my tests. Postman offers already something very useful that uploads your tests documentation to their website. But sometimes we need just a simple HTML that can be privately delivered to the client.
That’s where this project was born:
https://github.com/martinberlin/postman-reporter
The intention of this simple PHP script is to generate a Standalone HTML for your Postman tests that you can send to the client without the need to upload all the tests in the open internet.
It serves to achieve two things:
- Make a standalone HTML document from your Postman Collections
- Import the test run-results into a mysql database
With the second one only the importing is done. It’s then up to you how to present this data. It populates two tables, resume and detail, first one with the performance result and the detailed with a line per test. Much more information can be extracted from the runner json this is just a kickstart idea. Have fun with it!
If it calls your interest then please read more details in the github repository.