jenkins+postman 自动化跑测试脚本

2017-09-14  本文已影响0人  leileismile

第一步:安装newman

第二部:通过newman命令自动跑脚本。 -g为全局变量

newman run /Volumes/ext/jenkinsworkspace/jobs/huohua_api_test/workspace/trunk/编辑器.postman_collection -e /Volumes/ext/jenkinsworkspace/jobs/huohua_api_test/workspace/trunk/huohuatest.postman_environment -g /Volumes/ext/jenkinsworkspace/jobs/huohua_api_test/workspace/trunk/globals.postman_globals  -k

http://blog.getpostman.com/2015/09/03/how-to-write-powerful-automated-api-tests-with-postman-newman-and-jenkins/

上一篇下一篇

猜你喜欢

热点阅读