title: Ending a Visual Studio loadtest user session if a website error is hit
body: <p>I'm using a VS2010 loadtest against a website, but the site being tested is throwing some errors (eg, SiteUnavailable or other general site-specific errors).    </p>
  
  <p>The loadtest continues execution even if an error is returned in the response - so our .NET server logs are showing many errors for a single user session - and the subsequent errors may well be caused because we are trying to continue a web journey that should really have ended.    </p>
  
  <p>So is it possible to end the erroring user session as soon as an error is hit in a loadtest <em>without</em> ending the whole loadtest?  I would then want the virtual user to continue with another new web journey.  </p>
  
  <p>My loadtest is not scripted (it's using the default view) as I read somewhere that loadtests are less efficient when scripted.    </p>
  
  <p>However I can't see a setting that would enable me to do what I want, so I'm thinking that scripting would be the way to go.    </p>
  
  <p>Any pointers/suggestions gratefully received.<br>
  Dave</p>