Saa*_*gar 2 jmeter performance-testing jenkins jenkins-plugins 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性能趋势中.
小智 8
you just need to add time function just after or before your JTL file name
Run Code Online (Sandbox Code Playgroud)
示例: - jmeter -n -t Test_Plan.jmx -l LOG _ $ {__ time(yy-MM-dd-HH-mm-ss-SS)}.jtl
| 归档时间: |
|
| 查看次数: |
871 次 |
| 最近记录: |