Adding a touch of Reporting in your Automated Postman Test
Kushan Shalindra Amarasiri
Director Quality Engineering at Social Catfish
We looked at how we can do data driven in Postman and also how to run these Postman scripts in data driven with newman in an automated style. Lets now add the reporting component into our newman execution.
This is simple as counting 1,2,3. In our single command run lets add an addtional parameter called -r with html. So our modified command will be
newman run d:\json\Collection.postman_collection.json -d d:\json\data.json -r html
After the scripts execution an HTML based report will be created as follows in a separate folder called newman