(1)新建測試計劃
生成HTTP.jmx文件庇楞。
(2)使用終端命令打開jvm文件榜配。
d:
cd D:\Documents\Downloads\apache-jmeter-5.2.1\apache-jmeter-5.2.1\bin
jmeter -n -t HTTP.jmx -l login.jtl -e -o testResult
(3)相關(guān)路徑打開
D:\Documents\Downloads\apache-jmeter-5.2.1\apache-jmeter-5.2.1\bin\testResult
(4)出現(xiàn)生成的文件
注意,再次執(zhí)行前要將已經(jīng)存在的login.jtl和testResult文件夾刪除吕晌,否則會提示
否則會提示