Use "\" to escape "," in parameters.
On Thu, 9 Dec 2004 14:01:40 -0500, Liao, Avian <[EMAIL PROTECTED]> wrote: > Hi, > > When I use javaScript function, I have the foolowing error message, I try to > test my javascript outside the Jmeter, and it works fine. so....what is wrong > when I copy over to Jmeter. ${convert} is my variable, and I am positive that > this varibale exists. > > ${__javaScript('${convert}'.replace(/ref%3A%3AEvent_LC%5B(\w*-\w*-\w*-\w*-\w*)%5D/,"ref::Event_LC[$1]"),showScript)} > jmeter.threads.JMeterThread: SyntaxError: missing ) after argument list > (<cmd>; line 1) > > Thanks, guys. > > Avian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]