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 17:07 ------- Assuming we do as you say, then: ${__property(portProperty, portVariable)} will return the value of the property "portProperty". If this is not set it will return the contents of portVariable. So far, so good. However, the function will also overwrite the contents of portVariable with the value of the property "portProperty". I think that could be confusing. One also has to create a separate variable merely to define the default value. What I had in mind was: UserVar Value hostPort ${__property(portProperty,8080} or hostPort ${__property(portProperty,varname,8080} - if we keep the output variable You can then refer to ${hostPort} in the HTTP test element. Would that meet your needs? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
