Jmeter ---为每次运行生成单独的.jtl结果文件

时间:2016-03-01 06:59:35

标签: jenkins jmeter jenkins-plugins performance-testing jmeter-plugins

如何为每次运行生成单独的.jtl结果文件。以下是我使用jenkins job(性能趋势插件)运行的命令。

cd /apache-jmeter-2.13/bin ./jmeter.sh -n -t /jmxFiles/Jbpm6Rest3Jenkins1.jmx -l /jmxFiles/SIP.jtl -JUSERS = $ {USER_COUNT} -JRampUp = $ {RAMP_UP} -JLoopCount = $ {LOOP_COUNT}

目前,SIP.jtl文件会在每次运行时将结果附加到同一文件中 如何为每次运行(SIP1,SIP2,SIP3等)生成单独的.jtl结果文件,并应显示在Jenkins性能趋势中。?

1 个答案:

答案 0 :(得分:8)

you just need to add time function just after or before your JTL file name
  

示例: - jmeter -n -t Test_Plan.jmx -l   LOG _ $ {__时间(YY-MM-DD-HH-MM-SS-SS)}。JTL

enter image description here

相关问题