Bootstrap

使用jmeter自动生成测试报告

目录

1、打开cmd窗口

2、执行脚本

 3、查看报告


1、打开cmd窗口

使用win+R,输入cmd,打开命令窗口,定位到jmeter脚本所在的目录,例如我的是:D:\workplace\Cworkfiles\Gocument\Test\CMDB\Scrpit

C:\Users\21030>D:

D:\>cd D:\workplace\Cworkfiles\Gocument\Test\CMDB\Scrpit

2、执行脚本

执行jmeter -n -t D:\workplace\Cworkfiles\Gocument\Test\CMDB\Scrpit\数据中 心.jmx -l D:\workplace\Cworkfiles\Gocument\Test\CMDB\ResultReport\jtl\test.jtl -e -o D:\workplace\Cworkfiles\Gocument\Test\CMDB\ResultReport\html\report

D:\workplace\Cworkfiles\Gocument\Test\CMDB\Scrpit>jmeter -n -t D:\workplace\Cworkfiles\Gocument\Test\CMDB\Scrpit\数据中 心.jmx -l D:\workplace\Cworkfiles\Gocument\Test\CMDB\ResultReport\jtl\test.jtl -e -o D:\workplace\Cworkfiles\Gocument\Test\CMDB\ResultReport\html\report
Creating summariser <
;