DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21513>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21513 Add ability to set user defined variables from cmd. line ------- Additional Comments From [EMAIL PROTECTED] 2003-07-16 16:25 ------- Sorry I have hard time explaining it. But the default value is the value of the user variable. So for example I define variable portVariable with value 8080. Then in HTTP Defaults I use ${__property(portProperty, portVariable)}. If there is no portProperty property defined, the portVariable user variable will stay the same, 8080. If the property portProperty is defined (for example 8090), then portVariable will be overriden by the value of the portProperty (8090). In your example you were confusing the name of the variable (port) and the value of the variable (8080). __property() expects name of the variable as second parameter, and then uses value of the variable to return if no property is specified. If property is specified then value of property is used, and the variable specified in second parameter is set to this value. Please consider adding this functionality there. Otherwise I have no use for for the __property function (I want to make testplan working from GUI and cmd. line (with or without property specified). I would have to modify Property.java any time I want to upgrade JMeter, or write my own function. BTW, feel free to use my email directly if you consider it more convenient. And thanks for working on JMeter, it is great application, very valuable for testing! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
