Login fails but web test continues with other HTTP requests in thre run. RRS feed

  • Question

  • This one of Web Performance Test (Visual Studio 2010) really surprises me.

    I have a data source (CSV file ) bound to the web test. The columns are username, password and somehow the first row has username taken as blank. The first RUN takes blank username and password given in the CSV file. As such the Login fails saying that the credentials are not accurate. However since it has the later HTTP request URLs already recorded, the web test goes on and execute all of them with the dynamic session ID.

    How do I add handler here to stop the web test if the login itself fails ?

    Please answer ASAP.


    Thursday, September 23, 2010 12:43 PM


  • There is a property of web test: "Stop on error". By default it is set to false. Please set it to true.

    To change this property: Select your web test in web test editor->Right Click->Properties->Change property mentioned above.

    Thanks, Rubel


    Thursday, September 23, 2010 2:05 PM