title: JMeter Adding Variables
body: <p>I need to add four variables in <strong>JMeter</strong> 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 <code>BeanShell PreProcessor</code> with the following code:</p>
  
  <pre><code>overallScore = ${__intSum(${score1}, ${score2}, ${score3}, ${score4}, finalScore)};
  </code></pre>
  
  <p>In executing, I keep getting the following error:</p>
  
  <pre><code>2015/10/16 14:05:05 ERROR - jmeter.JMeter:
  Uncaught exception:  java.lang.NumberFormatException: 
  For input string: "${score1}"
  </code></pre>
  
  <p>Any ideas on what is wrong and how to resolve?</p>