You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2006/04/11 01:06:23 UTC
DO NOT REPLY [Bug 39265] New: - Multiple properties ignored
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39265>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39265
Summary: Multiple properties ignored
Product: JMeter
Version: 2.1.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: chansen@overstock.com
When I run jmeter using the following command:
java -jar ApacheJMeter.jar -n -D(prop1)=(val1) -D(prop2)=(val2) -t testfile.jmx
or
java -jar ApacheJMeter.jar -n -J(prop1)=(val1) -J(prop2)=(val2) -t testfile.jmx
testfile.jmx is executed as normal and prop1 is read in the test file correctly
as val1, but prop2 is read in the test file incorrectly (as if it was not provided).
I am reading properties in User Defined Variables as:
${__P(prop1,default1)}
and
${__P(prop2,default2)}
I know that the -D option is used for system properties, but I would prefer to
use it because the -J option is not supported by the current version of the
Jmeter Ant task. It would probably not be difficult to change the Ant task to
support -J, but I would rather not.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 39265] - Multiple properties ignored
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39265>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39265
------- Additional Comments From chansen@overstock.com 2006-04-12 19:53 -------
It seems to work now, and I don't know why.
I ran the jmx and it behaved incorrectly. Unfortunately, I did not get a copy of
the jmeter.log file at that point. I put in statements in the jmx that let me
see the values, and then it behaved correctly. I was using the exact same
command to run it as before (pressing up in windows command prompt). I removed
those statements and it still behaves correctly.
I tried making a simple example, and it worked just fine (as Sebb reported).
I am stumped, but it seems to be working (at least for now) so I am satisfied.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 39265] - Multiple properties ignored
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39265>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39265
sebb@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From sebb@apache.org 2006-04-11 01:08 -------
Works for me using -J and -D.
I used the command-line:
jmeter -Da=A -Db=B -Jc=C -Jd=D -n -t P.jmx
Perhaps you really did include ( and ) in the command-line?
If so, remove the ( and )
If not, please attach a simple example - e.g. using Java Request to show the values.
Also please attach jmeter.log
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 39265] - Multiple properties ignored
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39265>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39265
sebb@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From sebb@apache.org 2006-04-12 23:21 -------
OK, closing as fixed. re-open if necessary.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org