Load Test differences between VisualStudio 2012 and VisualStudio 2010

 

In this post we are going to cover the differences in the Load Testing of Visual Studio 2010 (VS10) and Visual Studio 2012 (VS12).

 In VS10 you have to create a New Test project and then Add Load/Performance test, this feature is changed in VS12, you can directly add Web Performance and Load Test Project . Once you add Web Performance and Load Test Project you will see Web Performance Test, this is the default behavior. Once, Test Project is created then you can add more web performance / unit / load tests to it by right clicking on test project and selecting appropriate test type. Below screen shots show the difference between creating a Test Project in VS10 and VS12.

 

 

 

 

Note here, ‘Add New Test’ window is deprecated in VS12 and you will not see the below screen that is part of VS10 ( Navigation: Test – NewTest). The only way to create a new test in VS12 is by right clicking your project and then adding a new test.

 

 There have been some changes in the way we associate TestController in VS12. Once we Create a Load Test in VS12, you can navigate to the LoadTest tab of IDE and click on ‘Manage Test Controllers’. In VS10 you have to navigate to Test tab in IDE and select ‘Manage Test Controllers’. Similarly, selecting Active Test Settings file can be done from the Load Test tab of VS12.

 

   

Some additional options that are available in VS12 while creating a Load Test is the availability of IE 9.0 and IE 10.0 support under the Browser Mix tab in Load Test Wizard.