纽曼:找不到““ html”记者

时间:2020-05-20 20:42:06

标签: postman newman

嗨,我正在尝试执行邮递员测试脚本并将其导出为html。但我遇到了错误

node version:v12.4.0 newman version: 5.0.1

我使用了newman run collections/NOW.json -e environments/QA-Automation.postman_environment.json --reporters="html,cli" --reporter-html-export="newman-results.html"

的命令

我遇到错误

newman: could not find "“html" reporter ensure that the reporter is installed in the same directory as newman please install reporter using npm

newman: could not find "cli”" reporter ensure that the reporter is installed in the same directory as newman please install reporter using npm

Insdie Node modules文件夹:我可以看到newman-reporter-html module

enter image description here

0 个答案:

没有答案