Hi everybody,
I'm new user of jmeter, and I have a problem.
I actually use BeanShell to manipulate data. To my data (a string), I want
to replace a string by another one. Example : ${id} => 654789
In my script, I do this :
mystring = mystring.replaceAll("${id}", "654789");
In jmeter log :
2008/09/26 16:17:40 WARN - jmeter.modifiers.BeanShellPreProcessor: Problem
in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking
bsh method: eval Parse error at line 12, column 117. Encountered: ;
2008/09/26 16:17:40 ERROR - jmeter.util.BeanShellInterpreter: Error invoking
bsh method: eval Parse error at line 12, column 117. Encountered: ;
So my question is : how can i do a replacement in a BeanShell??
thank you in advance
--
View this message in context:
http://www.nabble.com/BeanShell-replace-String-tp19689516p19689516.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]