![]() The -l "path_to_jtl" switch tells JMeter where to log samples, this is the results file and the most important artifact of the test run.The -t "path_to_jmx" switch tells JMeter where on the file system to find the jmx file.The -n switch runs JMeter in commad-line mode.e -o "%projectdir%\reports\%testname%_%runname%" ^ j "%projectdir%\logs\debug_%testname%_%runname%.log" ^ ![]() l "%projectdir%\results\results_%testname%_%runname%.jtl" ^ %jmeterbin%\jmeter -n -f -t "%projectdir%\%testname%.jmx" ^ Thanks to the utilization of the variables mentioned above, the execution of JMeter with a passed in Test Plan as a command-line switch can easily be reviewed in just a few lines: This can help keep track of different runs of the same test. For multiple reasons, a typical load test can be run several times, with each having a slightly different option enabled within the Test Plan.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |