title: JMeter loop until a response value changes
body: <p>I would like to accomplish the following workflow using JMeter</p>
  
  <ul>
  <li>Get the results from a URL call  (Ex: <a href="http://somewhere.com/getResults" rel="noreferrer">http://somewhere.com/getResults</a>)</li>
  <li>If the response message contains "someVar=SUCCESS" the JMeter test will pass</li>
  <li>else if the response message contains "someVar=FAIL" the JMeter test will fail</li>
  <li>else if the response message is different, wait x seconds and try the block of code again. Attempt to retry the block of code a maximum of y number of times.</li>
  </ul>
  
  <p>Is something like this possible in JMeter?  If so, does anyone have an example?</p>