title: Do while emulation in python is not working properly
body: <pre><code>testurl = '{}/testplan/Plans/{}/Suites/{}/Testpoint?includePointDetails=true&amp;api-version=5.1-preview.2'.format(base, planId, suiteId)
  
  print(testurl)
  
  while True:
      c = count_testpoints(testplanAPI(base, planId, suiteId, callAPI(testurl)))
     if(c&lt;200):
          break
  </code></pre>
  
  <p>Where callAPI() is a function is used to return a header from the response which is passed as an argument to testplanAPI() to build a new testurl using that argument as URL parameter. testplanAPI() returns testurl while count_testpoints() returns the count of testpoints.</p>
  
  <p>I have to close the loops after its get the first count less than 200.</p>
  
  <p>Using above code is building the url only once and iterating the same condition infinitely. It's not appending the url further after the first iteration.</p>
  
  <p>Can you please suggest a better way or what can be rectify here?</p>