我使用"newman“在Jenkins服务器上运行API测试。这对我来说非常简单,我用"Postman“编写测试脚本,用"newman”运行我的集合,但我不能为我的经理提供好的报告。我找到了“诱人报告”,我喜欢它。如果我使用"Newman“,是否有机会创建诱惑力报告。诱惑力支持纽曼吗?
发布于 2017-09-30 00:45:49
看起来不可能,这不可能。
为什么现在(在写完测试之后)你要寻找报表工具?当qa团队分析测试工具可以用于自动化时,它活动发生在启动自动化过程中。
我看了一下https://github.com/postmanlabs/newman,我想你可以试着把命令行输出解析成文本文件吗?并使用此输出为管理器生成simple-report。
发布于 2020-10-01 15:04:10
可以,停那儿吧。请按照以下步骤操作:
we can generate nice and clean report using Allure-js framework.
1. Installation
$ npm install -g newman-reporter-allure
2. Run the newman cli command to generate Allure results, specify allure in Newman's -r or --reporters option.
$ newman run <Collection> -e <Environment> -r allure
3. Allure results will be generated under folder "allure-results" in the root location. Use allure-commandline to serve the report locally.
$ allure serve
4. To generate the static report web-application folder using allure-commandline
$ allure generate --clean
Report will be generated under folder "allure-report" in the root location。
发布于 2021-03-19 16:33:49
尝试使用我的repository,这里有一个棘手的解决方案,它涵盖了所有内容:
并添加更多内容:
最后,你会得到两个报告:
https://stackoverflow.com/questions/46493052
复制相似问题