I need to add four variables in JMeter and store them in another variable that I will be using for a later request (to be stored in the variable finalScore. I have a BeanShell PreProcessor
with the following code:
overallScore = ${__intSum(${score1}, ${score2}, ${score3}, ${score4}, finalScore)};
In executing, I keep getting the following error:
2015/10/16 14:05:05 ERROR - jmeter.JMeter:
Uncaught exception: java.lang.NumberFormatException:
For input string: "${score1}"
Any ideas on what is wrong and how to resolve?