title: How to change result file name (of jtl file) in jmeter-maven-plugin?
body: <p>I use <code>jmeter-maven-plugin (version 1.10.0)</code> to run <strong>JMeter</strong> test. I want to change default name of the result file, so I want to change argument for <code>option -l (logfile)</code>:  </p>
  
  <pre><code>    [debug] JMeter is called with the following command line arguments: -n 
      -t C:\XX\JMeter\src\test\jmeter\some-test.jmx 
      -l C:\XX\JMeter\target\jmeter\results\20150323-some-test.jtl 
      -d C:\XX\JMeter\target\jmeter 
      -j C:\XX\JMeter\target\jmeter\logs\some-test.jmx.log
  </code></pre>
  
  <p>Edited:
  I run it from IntelliJ using: <em>mvn integration-test -Prun-some-test</em>  </p>
  
  <p>I have defined two profiles (for two different test files):  </p>
  
  <pre><code>&lt;profile&gt;
      &lt;id&gt;run-some-test&lt;/id&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.lazerycode.jmeter&lt;/groupId&gt;
                  &lt;artifactId&gt;jmeter-maven-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;integration-test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jmeter&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;testFilesIncluded&gt;
                                  &lt;jMeterTestFile&gt;some-test.jmx&lt;/jMeterTestFile&gt;
                              &lt;/testFilesIncluded&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/profile&gt;
  &lt;profile&gt;
      &lt;id&gt;run-another-test&lt;/id&gt;
      &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                  &lt;groupId&gt;com.lazerycode.jmeter&lt;/groupId&gt;
                  &lt;artifactId&gt;jmeter-maven-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;integration-test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jmeter&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;testFilesIncluded&gt;
                                  &lt;jMeterTestFile&gt;another-test.jmx&lt;/jMeterTestFile&gt;
                              &lt;/testFilesIncluded&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/profile&gt;
  </code></pre>