I have followed the instructions from this StackOverflow answer which causes JMeter to be opened when double clicking on a .jmx file in Windows.
The problem is that when I open a .jmx file by double clicking on the file it automatically creates a JMeter log file (and names it [name_of_jmx_file].log
, regardless of if you do anything with the test. The file is also not removed once you close JMeter, so I have to manually delete it each time.
This appears to be caused by the -j
param in the following line from the default jmeter-t.cmd
file:
call "%~dp0"jmeter -j "%~n1.log" -t "%~nx1" %2 %3 %4 %5 %6 %7 %8 %9
Simply removing -j "%~n1.log"
doesn't prevent the creation of the logfile as JMeter still creates the file and just defaults the name of the file to jmeter.log
.