Azure 纽曼:未生成html报告

Azure 纽曼:未生成html报告,azure,postman,newman,Azure,Postman,Newman,我正在尝试使用Newman为Postman脚本生成HTML报告 但是,我没有看到在所需位置生成的报告 我正在使用azure DevOps [command]/usr/local/bin/newman run /home/vsts/work/1/s/Postman/postman_collection.json --reporter-html-template /home/vsts/work/1/s/Postman/newman-reporter.html --reporter-html-expo

我正在尝试使用Newman为Postman脚本生成HTML报告

但是,我没有看到在所需位置生成的报告

我正在使用azure DevOps

[command]/usr/local/bin/newman run /home/vsts/work/1/s/Postman/postman_collection.json --reporter-html-template /home/vsts/work/1/s/Postman/newman-reporter.html --reporter-html-export /home/vsts/work/1/s/Postman -r cli,html -n 1 -e /home/vsts/work/1/s/Postman/postman_environment.json

就目录而言,我已经在同一级别上安装了Newman和HTML报告生成器

您还需要指定文件扩展名(
.html
),而不仅仅是目录路径

作为回退,它可能在运行命令的同一位置,在名为
newman
的目录中创建了默认文件


如果您需要不同的HTML reporter-可以使用。

我尝试过使用extension.HTML,但效果不好。更新的命令是:
/usr/local/bin/newman-run/home/vsts/work/1/s/Postman/Postman_collection.json--reporter html模板/home/vsts/work/1/s/Postman/newman-reporter.html--reporter html导出/home/vsts/work/1/s/Postman/report.html-r cli,html-n 1-e/home/vsts/work/1/s/Postman/Postman_environment.json
您看到的是什么,只是CLI输出?您是否尝试删除模板和导出标志以使其选择默认值?是,cli只是指向cli reporter,没有提到html reporter。这并没有在运行命令的位置创建
newman
文件夹