Jmeter导出脚本
jmeter命令行运行脚本,导出jmeter的脚本,后缀名为jmx的文件
jmeter -n -t C:\Users\JH\Desktop\TestPlan.jmx -l C:\Users\JH\Desktop\1.log -e -o C:\Users\JH\Desktop\22
-n 使用命令行模式
-t 脚本的路径
-l 导出报告的路径
-e 导出报告
-o 报告的路径
postman 命令行运行脚本,首先安装nodejs 再使用命令安装Newman :npm install -g newman 安装报告模板:npm install newman-reporter-html
newman run 脚本路径 -d 参数化文件 -e 环境变量文件 -g 全局变量文件 -n 循环次数 -r html --reporter-html-export 测试报告的路径