Adding a touch of Reporting in your Automated Postman Test

Adding a touch of Reporting in your Automated Postman Test

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

No alt text provided for this image


要查看或添加评论,请登录

Kushan Shalindra Amarasiri的更多文章

社区洞察

其他会员也浏览了