title: Jmeter - While controller executes "if ctx.getPreviousResult().getResponseCode() == "200" && counter < "5" not working
body: <p>I want to control my sampler based on <strong>responseCode</strong> and needs to run n number of time defined in counter.<br>
  I used while controller and used condition as described below but it's not working as expected.<br>
  my condition in jmeter while controller : </p>
  
  <pre><code>${((${ctx.getPreviousResult().getResponseCode()} == "200" &amp;&amp; ${counter} &lt; 5),)}
  </code></pre>
  
  <p>But it's not working as expected, could you please someone please help me on this.</p>