![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1 |
|
Assignee:
|
Christian Gasser
|
|
Components:
|
JMeter plugin |
|
Created:
|
06/Nov/12 8:57 AM
|
|
Description:
|
I'm not able to use the 'options' parameter in the chronos-jmeter:jmetergui goal. In my case I'd like to specify a properties file to be used and therefore like to use the -p command line parameter:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>chronos-jmeter-maven-plugin</artifactId>
<version>${chronos.jmeter.plugin.version}</version>
<configuration>
<input>${basedir}/src/main/resources/testplans/jmeter_testplan_pi.jmx</input>
<jmeterVersion>2.8</jmeterVersion>
<jmeterhome>${basedir}/target/jmeter</jmeterhome>
<options>
<option>-p</option>
<option>${basedir}/src/main/resources/env/local.properties</option>
</options>
</configuration>
</plugin>
With this configuration a failing java command will be created:
java -Duser.dir=D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj/target/jmeter/bin -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2 -XX:PermSize=64m -XX:MaxPermSize=64m -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -p D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj/src/main/resources/env/local.properties -Dapple.laf.useScreenMenuBar=true -jar D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj\target\jmeter\bin\ApacheJMeter.jar
Where as the -p parameter should be appended at the end of the line:
java -Duser.dir=D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj/target/jmeter/bin -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2 -XX:PermSize=64m -XX:MaxPermSize=64m -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dapple.laf.useScreenMenuBar=true -jar D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj\target\jmeter\bin\ApacheJMeter.jar -p D:\eclipse_workspaces\mvn-intro\isys_jmeter_proj/src/main/resources/env/local.properties
Regards,
Tom
|
|
Environment:
|
Maven 3.0.4, Java 1.6
|
|
Project:
|
Mojo's Chronos Maven Plugins
|
|
Priority:
|
Major
|
|
Reporter:
|
Tom Günter
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email