title: How do you make a unit test when the results vary?
body: <p>I am building an application that queries a web service.  The data in the database varies and changes over time.  How do I build a unit test for this type of application?</p>
  
  <p>The web service sends back xml or a no search results html page.  I cannot really change the web service.  My application basically queries the web service using HTTPURLConnection and gets the response as a String.  </p>
  
  <p>Hope that helps with more detail.</p>