美文网首页
postman+newman+jenkins搭建

postman+newman+jenkins搭建

作者: GRUNMI | 来源:发表于2019-10-21 14:38 被阅读0次
image.png

含有环境变量,全局变量的自动化测试命令:指定执行对应的文件夹

常见命令:

run --运行newman的命令

-e 加载环境变量的数据

-g 加载全局变量的数据

-n case运行次数,默认运行次数为1次

--folder 运行collection中的指定文件夹

--reporters html,junit 指定生成报告的类型

image.png

相关文章

网友评论

      本文标题:postman+newman+jenkins搭建

      本文链接:https://www.haomeiwen.com/subject/kqqrpqtx.html