postman+newman+jenkins接口自动化

1.安装postman,创建请求,导出.json格式的请求文件

请求
导出

导出对应的json文件
2.安装newman并执行json请求文件,生成测试报告

npm install -g newman
npm install newman-reporter-html

newman run 导入json路径 -r html --reporter-html-export .html文件名 导出html路径
图片
文件名
3.下载jenkins,设置执行的文件路径

设置

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐