邮递员的新手 json 记者控制台未显示摘要
postman's newman json reporter console not showing summary
我 运行ning newman 在命令行上使用以下参数:
newman 运行 #{collection} -g #{globals} -r json --reporter-json-export #{output_file}
问题是我在输出 json 文件中看不到摘要。如果我 运行 newman 使用 cli 或 html 记者,我确实看到了摘要,但是 text/html 很难解析。我想我做错了什么,因为我在 github 上看到了一个示例,它是 json 的摘要:https://github.com/postmanlabs/newman/blob/develop/examples/reports/html-reporter-template-data.json
我做错了什么?
我是 运行 旧版 Postman。在 npm install newman 中安装了最新版本并且一切正常。
我 运行ning newman 在命令行上使用以下参数:
newman 运行 #{collection} -g #{globals} -r json --reporter-json-export #{output_file}
问题是我在输出 json 文件中看不到摘要。如果我 运行 newman 使用 cli 或 html 记者,我确实看到了摘要,但是 text/html 很难解析。我想我做错了什么,因为我在 github 上看到了一个示例,它是 json 的摘要:https://github.com/postmanlabs/newman/blob/develop/examples/reports/html-reporter-template-data.json
我做错了什么?
我是 运行 旧版 Postman。在 npm install newman 中安装了最新版本并且一切正常。