![Page 1: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/1.jpg)
From Unit Testing to Load Testing - Visual Studio - Your Complete Testing ToolErvin LohVisual Studio ALM [email protected] Sdn Bhd
![Page 2: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/2.jpg)
PresenterErvin LohProfilehttp://tinyurl.com/237wuuh
Ervin Loh is currently the Application Lifecycle Management Program Manager at K365Labs Sdn Bhd. He is the user group lead of Application Lifecycle Management User Community, a charter of TechNation. He has also been presented with the Microsoft MVP award in the Visual Studio ALM competency for 4 consecutive years from 2009 through 2012. He owns more than 10 years experience in the IT industry where he obtained professional certifications from IREB and Microsoft. He works on a variety of Application Lifecycle Management, Software Configuration Management, and Lab Management products such as Visual Studio Team Foundation Server and Visual Studio Lab Management. He is also active in the IT community space by contributing contents to Microsoft Malaysia's START.NET and Ultimate program workshops and talks in conferences, events and user groups such as TechEd, SOFTEC, Tech Insights, MITPM, and MIND.
![Page 3: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/3.jpg)
Company IntroductionK365Labs Sdn Bhdhttp://www.k365labs.com
Company Background
K365Labs is an IT consultancy specializing in software quality engineering through Application Lifecycle Management. We rely on Microsoft Visual Studio Application Lifecycle Management and other Application Lifecycle Management products in order to assist customers adopt mature software quality assurance. We provide consulting services for a wide variety of Application Lifecycle Management products to small business and enterprise companies in industries such as Research and Development, Education, and Utility.
![Page 4: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/4.jpg)
Fabrikam Fiber Scenario
Fabrikam Fiber provides cable television and related services to the United States. They are growing rapidly and have embraced Windows Azure to scale their customer-facing web site directly to end-users to allow them to self-service tickets and track technicians. They also use an on-premises ASP.NET MVC application for their customer service representatives to administer customer orders.
![Page 5: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/5.jpg)
Agenda
Unit TestingManual TestingExploratory TestingCoded UI TestingWeb Performance TestingLoad Testing
![Page 6: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/6.jpg)
Unit Testing
Some improvements have made to the unit testing in Visual Studio 2012, including performance and extensibility improvements. Visual Studio 2012 provides Continuous Test Runner functionality. With Continuous Test Runner, tests will always be ran after builds.
![Page 7: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/7.jpg)
demo
Unit Testing
![Page 8: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/8.jpg)
Manual Testing
Manual testing is the process of manually testing software for defects. Microsoft Test Manager 2012 allows you to work with test plans, author and organize manual test cases, execute test cases, file bugs, and post results back to Team Foundation Server.
![Page 9: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/9.jpg)
Manual Testing
![Page 10: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/10.jpg)
Exploratory Testing
Exploratory testing is the testing of an application without a set of tests defined in advance. During an exploratory test session, you are not restricted to a script or a set of predetermined steps. Some improvements have been made to the exploratory testing in Microsoft Test Manager 2012.
![Page 11: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/11.jpg)
Exploratory Testing
![Page 12: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/12.jpg)
Coded UI Testing
Coded UI tests provide a way to create fully automated tests to validate the functionality and behavior of your application’s user interface. You can create coded UI tests directly from existing action recordings. Action recordings contain the steps taken during manual testing of an application.
![Page 13: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/13.jpg)
demo
Coded UI Testing
![Page 14: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/14.jpg)
Web Performance Testing
Any new Web performance and load testing efforts you create in Visual Studio 2012 are now created in a Web performance and load test project type instead of a test project. A Web performance test consists of a series of HTTP requests. Web performance tests work at the protocol layer by issuing HTTP requests.
![Page 15: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/15.jpg)
demo
Web Performance Testing
![Page 16: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/16.jpg)
Load Testing
Load tests consist of a series of Web performance tests or unit tests which operate under multiple simulated users over a period of time. Load tests can also include automated coded UI tests. Coded UI tests should be included only under specific circumstances. All the scenarios that use coded UI tests in load tests involve using the coded UI tests as performance tests.
![Page 17: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/17.jpg)
demo
Load Testing
![Page 18: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/18.jpg)
AnnouncementVisual Studio Load Test Virtual User Pack 2012
![Page 19: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/19.jpg)
Related Content
http://msdn.microsoft.com/en-us/library/tfs/bb385901%28v=vs.110%29
http://blogs.msdn.com/b/visualstudioalm/archive/2012/06/04/getting-started-with-load-testing-in-visual-studio-2012.aspx
http://msdn.microsoft.com/en-us/library/tfs/dd293547%28v=vs.110%29
http://blogs.msdn.com/b/visualstudioalm/archive/2012/07/09/javascript-unit-tests-on-team-foundation-service-with-chutzpah.aspxhttp://blogs.msdn.com/b/visualstudioalm/archive/2012/07/31/writing-a-visual-studio-2012-unit-test-adapter.aspx
http://msdn.microsoft.com/en-us/library/tfs/ms182539%28v=vs.110%29.aspx
![Page 20: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/20.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.
![Page 21: From Unit Testing to Load Testing - Visual Studio - Your Complete Testing Tool](https://reader030.vdocuments.site/reader030/viewer/2022020207/5541b4fd550346bb2f8b4568/html5/thumbnails/21.jpg)