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 2004/03/23 00:07:38 UTC
DO NOT REPLY [Bug 27863] New: -
Enable Java property value/Test Plan variable coincidence
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=27863>.
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=27863
Enable Java property value/Test Plan variable coincidence
Summary: Enable Java property value/Test Plan variable
coincidence
Product: JMeter
Version: 1.9.1
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: saslmp@wnt.sas.com
I would like a single Test Plan that contains variable references to be
versatile enough to be used either with Java properties passed in from
the command line, or in GUI mode with parameter values provided in the
'Test Plan' panel.
This isn't currently possible because to utilize passed-in Java property
values, a variable in the Test Plan must be expressed like :
${__property(VARIABLENAME)}
but to supply values in GUI mode from the 'Test Plan' panel, that same
variable reference must take the form :
${VARIABLENAME}
To answer this need, would you please consider making compilation of the
Test Plan a two-step process such that command line values get evaluated
*before* the Test Plan gets compiled? Then the Test Plan compilation
could utilize the computed values via the following scheme :
The Test Plan panel contains, e.g. :
Name | Value
--------|---------------------------
server | ${__property(server)}
and in the Test Plan itself, references to this value look like :
${server}
and the invocation command line would then contain :
-Dserver=servername.xxx.yyy.com
Another (better?) solution would be to simply make any passed in Java
property value automatically into a variable.
This feature could be worked on in conjunction with :
Bugzilla Bug 25207 ${variable} expansion doesn't work for listener filenames
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org