当前位置:网站首页>Jmter test command [note]

Jmter test command [note]

2022-06-21 23:31:00 Wield the sword to break the clouds-

We are Create project When using GUI Interface , however
real The implementation of The performance test should be done at Command line Run in mode , The command format is as follows :

w:\JMter\apache-jmeter-5.4.3\bin\jmeter -n -t loadtest-case1.jmx  -l log.jtl

Be careful JMeter Replace the path of with your installation path
loadtest-case1.jmx Is the name of the test file
log.jtl Is the makefile
 Insert picture description here
In progress ...
 Insert picture description here
complete

After the test is completed , use dashboard Generate chart

w:\JMter\apache-jmeter-5.4.3\bin\jmeter -g log1.jtl -o report2

It will produce report1 Catalog , Inside index.html Open it to report
 Insert picture description here

Be careful -o Later contents It must not exist , Or the content is empty , Otherwise, an error will be reported .

We turn on HTML Take a look at the document :
 Insert picture description here
There are various detailed chart information reports

原网站

版权声明
本文为[Wield the sword to break the clouds-]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206212036217131.html

随机推荐