Reputation: 834
How to generate a separate .jtl result file for each run. Following is my command which i am running using jenkins job (Performance trend plugin).
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}
Currently SIP.jtl file is appending result in same file for every run.
How to generate a separate .jtl result file for each run (SIP1, SIP2, SIP3 etc) and should display in Jenkins performance trend.?
Upvotes: 2
Views: 1321
Reputation: 506
you just need to add time function just after or before your JTL file name
Example:- jmeter -n -t Test_Plan.jmx -l LOG_${__time(yy-MM-dd-HH-mm-ss-SS)}.jtl
Upvotes: 8