Use ${__Random(${accountIdRange})} as an argument in BeanShell Processor,
then, use it:
vars.put("randomAccountId", bsh.args[0]);
Another option is to use a Random Variable component
2013/5/21 [email protected] <[email protected]>
> Currently I am using Java.lang.Math
> Math.Random() method to achieve the same functionality. But I was curious
> about the right syntax of the method call.
>
>
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/passing-variable-in-Random-method-call-in-Beanshell-tp5716932p5716934.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]
>
>