In my Jmeter 3.0 test plan, I have multiple thread groups. Now I want to distribute users among them on the basis of percentage.
I have declared Variables in user defined variable and then used the following statement in thread group
${__BeanShell(${__evalVar(threads)}*${__evalVar(WeightOfGroup1)}/100)}
But I am getting the following exception while doing so
2017/09/20 19:25:39 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval In file: inline evaluation of: ``**ERROR - see log file*****ERROR - see log file**/100;'' Encountered "*" at line 1, column 1. 2017/09/20 19:25:39 WARN - jmeter.functions.BeanShell: Error running BSH script org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval In file: inline evaluation of: ``**ERROR - see log file*****ERROR - see log file**/100;'' Encountered "*" at line 1, column 1.