美文网首页
newman安装

newman安装

作者: 骑着猪的小哥哥 | 来源:发表于2022-11-17 17:10 被阅读0次

1.首先下载安装node.js

命令行查看电脑版本(uname -a)去官网下载node.js
官网地址:https://nodejs.org/en/download/
安装完成,验证 node.js 是否安装成功!

npm -v

2 安装newman (前提:确保 npm -v 验证通过)

网速慢的小盆友,不要妄想 wifi 能帮你装上!老老实实插根儿网线吧!

npm install -g newman

安装完成,验证 newman 是否安装成功!

 newman -v

3 安装newman-reporter-html
安装命令:npm install -g newman-reporter-html

安装完成后的截图 截屏2022-11-18 17.10.01.png
检测时用(newman run 导出数据.json -r html --reporter-html-export 生成测试报告名称.html)

相关文章

网友评论

      本文标题:newman安装

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