Thad Smith as comitter: +1 Drew Gulino BTW - I have a sister who lives in Austin.
--- Mike Stover <[EMAIL PROTECTED]> wrote: > And on that note, I'd like to introduce Thad as a > candidate for comitter. I've been > chatting with Thad for weeks now, and he's got some > excellent ideas for improving > JMeter. The new functions are all his that he sent > to me and I comitted for him. > Currently, he's working on making JMeter's functions > work the way we all all want > them to work (ie, allow functions as arguments to > other functions), and he's also > interested in working on more elements that will go > along way toward providing > general scripting abilities (the javascript function > is just a start). > > Thad Smith as comitter: +1 > > BTW, Keith - Thad lives in Austin too. > > -Mike > > On 19 Feb 2003 at 12:54, Thad Smith wrote: > > > Great questions. > > > > The current implemenation of the JavaScript > function > > is super simple...Basically it handles any > javascript > > statement that you can put in one line and does a > > basic eval. For example, if the browsers date > needs to > > be passed in to a form, you can call the > JavaScript > > function with (new Date()).getTime() as the first > > parameter. (We needed the ability to do just that > for > > testing our product.) > > > > It relies on the Mozilla Rhino javascript engine > > (specifically the js.jar from the rhino download). > > Mike checked it into the /lib directory, so you > don't > > have to worry about setting classpath or anything > > else. It's a pretty good engine and fully > implements > > JavaScript 1.5, without any specific browser > > functionality (you can't get to anything in the > > browser's DOM such as document or document.forms > if > > you're used to writing javascript in the context > of a > > web page). Basically, it's the core language and > > nothing else, so you can do text manipulation, > math, > > boolean logic, etc. The language spec can be > > downloaded from > > > http://www.ecma-international.org/publications/standards/ECMA-262.HTM > > > > Right now you are restricted to calling built-in > > functions, but I do think a JavaScriptConfig class > is > > in order that would allow to write your own > JavaScript > > functions or load them from a file. Could be very > > useful. > > > > Also, Rhino has built-in Java adapters for doing > > call-backs into the system, which could also be > very > > useful. I haven't looked into how this works yet, > so > > if anyone has the time and is super interested in > > doing this, check out the docs at > > http://www.mozilla.org/rhino/ > > > > Hope this helps. > > > > Regards, > > > > Thad > > > > --- [EMAIL PROTECTED] wrote: > > > > > > > > > The new JavaScript function sounds like it will > be a > > > great thing. I'm sure the > > > user community will like it. > > > > > > Could somebody explain how to use the new > JavaScript > > > function? Let's assume > > > that I know very little about JavaScript. ;^) > > > > > > Here are a few of the things I am curious about: > > > Do I have to download a particular JavaScript > > > implementation from somewhere? > > > Do I need to set up particular environment > > > variables in a certain way > > > (analagous to JAVA_HOME)? > > > Am I restricted to calling built-in > JavaScript > > > functions? > > > If I can write my own functions, do they need > to > > > be in a particular place? > > > > > > A brief example would also be nice. > > > > > > Thanks for your help, > > > Keith > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Shopping - Send Flowers for Valentine's Day > > http://shopping.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > -- > Michael Stover > [EMAIL PROTECTED] > Yahoo IM: mstover_ya > ICQ: 152975688 > AIM: mstover777 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
