title: JMeter "if controller" with parameters?
body: <p>I was reading the <a href="http://jakarta.apache.org/jmeter/usermanual/component_reference.html#If_Controller" rel="noreferrer">JMeter documentation</a> and came across this info box about "If Controllers":</p>
  
  <blockquote>
    <p>No variables are made available to the script when the condition is interpreted as Javascript. If you need access to such variables, then select "Interpret Condition as Variable Expression?" and use a __javaScript() function call. You can then use the objects "vars", "log", "ctx" etc. in the script. </p>
  </blockquote>
  
  <p>I don't quite follow this. Does this mean if I want access to a "User Defined Parameter" then I can access it only by writing some JavaScript? The example that follows this box then refers to "${COUNT}"</p>
  
  <p>Could someone clarify the usage of the If Controller, maybe with an example or two?</p>