web and load testing with visual studio 2010 ultimate
DESCRIPTION
Visual Studio 2010 Ultimate also gives you access to advanced web and load testing features that help you ensure that whatever application you are building it is ready for the most demanding uses. The Web and Load testing capabilities of Visual Studio 2010 Ultimate help you ensure that whatever application you are building it is ready for whatever scenarios your organization can envisage taking you one step closer to knowing your application is ready for prime time.TRANSCRIPT
Performance Testing your applications with VS 2010 Ultimate
Abhimanyu SinghalCo-FounderiMentor Knowledge Services
Abhimanyu SinghalBackground
First Laid Hands on computers in 1994, been a geek for quite some timeSpent Last 15 Years in working on Different Projects, Technologies and development platforms
CurrentlyHelping companies scale applications developed on different platformsCo-Founder and Lead Consultant for iMentor Knowledge ServicesProvide High-End Technical Training and Consultancy
Objectives
Plan and Design TestsExecute TestsAnalyze Results and Reports
Demo Web Application
HomeAbout UsLoginRegister
Performance TestingChallenges
Writing better scriptsTaking care of Requests and Dependent requestsWriting scripts for key usage scenarios and there variances
DataNavigation Paths
Determining Relative Distribution and Simulating the same
Think TimesTest Run MixLoad Test Time DurationUser abandonment
Target Load LevelsQuantifying volume of application usage
Performance Testing - Execution
ChallengesSimulating New Production EnvironmentSetting up Test Rigs and Distributing Load among machinesValidating Test RunsUnderstanding the reports and which information to look for?
Math Intensive
Web Performance Tests
Tests the functionality of Web Application/Web Service for:-
PerformanceAny Other Validation you specify
Not fit for testing user interfacesUse them as scripts in load tests to model user actions
Web Performance Tests (Execution)
Demo – Creating and Running Web Performance Test
Web Performance Test Components
RequestDependent Request
Extraction RuleValidation RuleWeb Test Plug-InWeb Request Plug-inCommentsContext ParametersDate Sources
Coded Web Performance Test
Load Test
Load Testing ApplicationsStress Testing ApplicationsSmoke TestsSpike Tests
Can be used for Web ApplicationsCan also be used for Internal Application Components
Test Rig 2Test Rig 1
Load Simulation Architecture
Client 1VS 2010
Client 2MTM
Controller 1 Controller 2
Agent 1
Agent 2
Agent 3
Agent 4
Agent 5
Agent6
How machines in test rig communicate
Demo Creating and Running Load Tests
Key Measures I watch for
% CPU UsageRequests Per SecondRequest Queue LengthTotal Bytes in Heap
Considerations for running load Tests
Load patternConnection ModelSample rate and data collectionThink timeResponse time goalsPercentage of new usersEnabling SQL tracingMaintaining an appropriate number of agents
Common Issues with counter collection
LoadTestCounterCategoryNotFoundExceptionCould not find dependent counter needed to apply threshold rule
Resources
Performance Testing Guidance for Web Applications @ Microsoft Patterns and Practices
http://msdn.microsoft.com/en-us/library/bb924375.aspx
Visual Studio 2010 Onlinehttp://www.microsoft.com/visualstudio/en-us
Microsoft Developer NetworkResource Links for Performance Testing
http://www.imentor.co.in/blog/?p=35
Thank you and Q.A.
Please post your questions
You can also send in your questions to [email protected]