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 13:05 ------- I am suggesting that the user defined variable is also used as default value as coded above. This way you can use the testplan from GUI (or cmd.line) without specifying the property value at cmd. line, and the call to __property will return user variable value. But if the property is specified at cmd. line, it overrides the value of user defined variable and replaces its value. This is exactly how the code above works. I am running JMeter with the code above, and it works exactly like that. 1. I can run testplan from GUI (no properties specified, user variable used) 2. I can run testplan from cmd. line without properties (user variable used) 3. I can run testplan from cmd. line with properties defined to override the user variables. BTW, I am using __property() for host, port, number of threads, number of loops, and in Uniform Timer for constant and random delay. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
