解决postman命令执行过程中提示newman: could not find “html“ reporter的问题
postman集合测试,通过newman命令执行postman集合。
运行命令:newman run Postman_API.postman_collection.json -d data.json -r html,报错newman: could not find “html” reporter

解决方法:
需要安装newman-reporter-html,安装运行命令:npm install -g newman-reporter-html
如图所示:


安装完成,重新运行命令:newman run Postman_API.postman_collection.json -d data.json -r html,报告导出成功。

浙公网安备 33010602011771号