一、安装postman
Download Postman | Get Started for Free
Postman-win64-Setup.7z
二、安装nodejs
1.安装nodejs
2.安装xmysql
# 是postman(node.js)链接mysql的工具
cnpm install -g xmysql
3.安装newman
# postman的一个插件,用于在命令行执行测试
cnpm install -g newman
4.安装newman-reporter-html
# 是postaman的一个插件,用于生成html测试报告
cnpm install -g newman-reporter-html
5.校验
npm list -g --depth 0
# +-- cnpm@9.0.1
# +-- newman-reporter-html@1.0.5
# +-- newman@5.3.2
# +-- npm@8.19.2
# `-- xmysql@0.5.1