SlideShare a Scribd company logo
Performance Testing your applications with VS 2010 UltimateAbhimanyu SinghalCo-FounderiMentor Knowledge Services
Abhimanyu SinghalBackgroundFirst Laid Hands on computers in 1994, been a geek for quite some timeSpent Last 15 Years in working on Different Projects, Technologies and development platformsCurrentlyHelping companies scale applications developed on different platformsCo-Founder and Lead Consultant for iMentor Knowledge ServicesProvide High-End Technical Training and Consultancy
ObjectivesPlan and Design TestsExecute TestsAnalyze Results and Reports
Demo Web ApplicationHomeAbout UsLoginRegister
Performance TestingChallengesWriting better scriptsTaking care of Requests and Dependent requestsWriting scripts for key usage scenarios and there variancesDataNavigation PathsDetermining Relative Distribution and Simulating the sameThink TimesTest Run MixLoad Test Time DurationUser abandonmentTarget Load LevelsQuantifying volume of application usage
Performance Testing - ExecutionChallengesSimulating 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 TestsTests the functionality of Web Application/Web Service for:-PerformanceAny Other Validation you specifyNot 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 ComponentsRequestDependent RequestExtraction RuleValidation RuleWeb Test Plug-InWeb Request Plug-inCommentsContext ParametersDate Sources
Coded Web Performance Test
Load TestLoad Testing ApplicationsStress Testing ApplicationsSmoke TestsSpike TestsCan be used for Web ApplicationsCan also be used for Internal Application Components
Load Simulation ArchitectureClient 1VS 2010Client 2MTMTest Rig 2Test Rig 1Controller 1Controller 2Agent 1Agent 2Agent 3Agent 4Agent 5Agent6
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 TestsLoad patternConnection ModelSample rate and data collectionThink timeResponse time goalsPercentage of new usersEnabling SQL tracingMaintaining an appropriate number of agents
Common Issues with counter collectionLoadTestCounterCategoryNotFoundExceptionCould not find dependent counter needed to apply threshold rule
ResourcesPerformance Testing Guidance for Web Applications @ Microsoft Patterns and Practiceshttp://msdn.microsoft.com/en-us/library/bb924375.aspxVisual Studio 2010 Onlinehttp://www.microsoft.com/visualstudio/en-usMicrosoft Developer NetworkResource Links for Performance Testinghttp://www.imentor.co.in/blog/?p=35
Thank you and Q.A.Please post your questionsYou can also send in your questions to abhimanyu@imentor.co.in

More Related Content

What's hot (20)

PPT
Performance Testing
sharmaparish
 
PPTX
Load Runner
Shama Ahsan
 
PPT
Performance Testing With Jmeter
Adam Goucher
 
PDF
Integration testing - A&BP CC
JWORKS powered by Ordina
 
PDF
WSO2 Test Automation Framework : Approach and Adoption
WSO2
 
DOCX
Integrate UFT with Jenkins Guide
Yu Tao Zhang
 
ODP
Webservice performance testing with SoapUI
Phuoc Nguyen
 
PPTX
JMeter Database Performace Testing - Keytorc Approach
Keytorc Software Testing Services
 
PPTX
Load Testing and JMeter Presentation
Neill Lima
 
PPT
Load testing using_neoload by kc
krishna chaitanya
 
PDF
Build Your Custom Performance Testing Framework
TechWell
 
PDF
Deployment automation framework with selenium
Wenhua Wang
 
PPT
JMeter & ColdFusion
isummation
 
PDF
LoadRunner Performance Testing
Atul Pant
 
PDF
Automation - Apache JMeter
Wira Santos
 
PPT
Performance testing with Jmeter
Prashanth Kumar
 
PPT
Advanced Load Runner
telab
 
PDF
Load Testing & Apache JMeter
WO Community
 
PPT
Performance testing jmeter
Bhojan Rajan
 
PDF
Loadrunner vs Jmeter
Atul Pant
 
Performance Testing
sharmaparish
 
Load Runner
Shama Ahsan
 
Performance Testing With Jmeter
Adam Goucher
 
Integration testing - A&BP CC
JWORKS powered by Ordina
 
WSO2 Test Automation Framework : Approach and Adoption
WSO2
 
Integrate UFT with Jenkins Guide
Yu Tao Zhang
 
Webservice performance testing with SoapUI
Phuoc Nguyen
 
JMeter Database Performace Testing - Keytorc Approach
Keytorc Software Testing Services
 
Load Testing and JMeter Presentation
Neill Lima
 
Load testing using_neoload by kc
krishna chaitanya
 
Build Your Custom Performance Testing Framework
TechWell
 
Deployment automation framework with selenium
Wenhua Wang
 
JMeter & ColdFusion
isummation
 
LoadRunner Performance Testing
Atul Pant
 
Automation - Apache JMeter
Wira Santos
 
Performance testing with Jmeter
Prashanth Kumar
 
Advanced Load Runner
telab
 
Load Testing & Apache JMeter
WO Community
 
Performance testing jmeter
Bhojan Rajan
 
Loadrunner vs Jmeter
Atul Pant
 

Viewers also liked (10)

DOC
Sahara Trust Hospital
university of education,Lahore
 
PPTX
.Net Unit Testing with Visual Studio 2010
kgayda
 
PPT
Visual Studio IDE
Sayantan Sur
 
PPTX
Visual studio 2010
Isanny Tejada Guzman
 
PPTX
Visual studio 2010
Amalia Bonilla
 
PPT
Activites and Time Planning
university of education,Lahore
 
PDF
Visual studio 2010
Fernando León
 
DOCX
Office Automation System
university of education,Lahore
 
PPTX
REST API testing with SpecFlow
Aiste Stikliute
 
Sahara Trust Hospital
university of education,Lahore
 
.Net Unit Testing with Visual Studio 2010
kgayda
 
Visual Studio IDE
Sayantan Sur
 
Visual studio 2010
Isanny Tejada Guzman
 
Visual studio 2010
Amalia Bonilla
 
Activites and Time Planning
university of education,Lahore
 
Visual studio 2010
Fernando León
 
Office Automation System
university of education,Lahore
 
REST API testing with SpecFlow
Aiste Stikliute
 
Ad

Similar to Web and load testing with Visual Studio 2010 Ultimate (20)

PPT
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
PPTX
Browser-Based Load Testing with Grafana K6
Knoldus Inc.
 
PPT
T3 Consortium's Performance Center of Excellence
veehikle
 
PDF
Experitest & Wipro Co-Webinar
Experitest
 
PPTX
Automation testing
Transpose Solutions Inc
 
PDF
Shuvam dutta
Shuvam Dutta
 
PPT
Netserv Software Testing
sthicks14
 
PDF
Shuvam dutta | Performance tester
Shuvam Dutta
 
PPT
Less11 3 e_loadmodule_1
Suresh Mishra
 
DOC
Kiran R P_CV
Kiran RP
 
PPTX
Performance Testing
Selin Gungor
 
PDF
Test Automation: Investment Today Pays Back Tomorrow
TechWell
 
PPT
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
DOCX
Asha_4Yrs_Manual_3_Yrs_Automation
cnasha
 
PPT
Future of QA
amitagarwal2006
 
PPT
Futureofqa
amitagarwal2006
 
PDF
Creating a successful continuous testing environment by Eran Kinsbruner
QA or the Highway
 
PPT
Performance Engineering Basics
Impetus Technologies
 
DOCX
FazilShaikh Resume 13th january
fazilahmed sheikh
 
DOCX
FazilShaikh Resume 13th january
fazilahmed sheikh
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
Browser-Based Load Testing with Grafana K6
Knoldus Inc.
 
T3 Consortium's Performance Center of Excellence
veehikle
 
Experitest & Wipro Co-Webinar
Experitest
 
Automation testing
Transpose Solutions Inc
 
Shuvam dutta
Shuvam Dutta
 
Netserv Software Testing
sthicks14
 
Shuvam dutta | Performance tester
Shuvam Dutta
 
Less11 3 e_loadmodule_1
Suresh Mishra
 
Kiran R P_CV
Kiran RP
 
Performance Testing
Selin Gungor
 
Test Automation: Investment Today Pays Back Tomorrow
TechWell
 
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
Asha_4Yrs_Manual_3_Yrs_Automation
cnasha
 
Future of QA
amitagarwal2006
 
Futureofqa
amitagarwal2006
 
Creating a successful continuous testing environment by Eran Kinsbruner
QA or the Highway
 
Performance Engineering Basics
Impetus Technologies
 
FazilShaikh Resume 13th january
fazilahmed sheikh
 
FazilShaikh Resume 13th january
fazilahmed sheikh
 
Ad

More from Abhimanyu Singhal (16)

PPTX
ASP.NET Core
Abhimanyu Singhal
 
PPTX
Containerization with Microsoft Azure
Abhimanyu Singhal
 
PPTX
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
PPTX
Mobile devops
Abhimanyu Singhal
 
PPTX
Opportunity: Data, Analytic & Azure
Abhimanyu Singhal
 
PPTX
Using Specflow for BDD
Abhimanyu Singhal
 
PPTX
Behavior Driven Development
Abhimanyu Singhal
 
PPTX
Unit testing with visual studio 2012
Abhimanyu Singhal
 
PPTX
Exploratory testing
Abhimanyu Singhal
 
PPTX
Project management with team foundation server 11
Abhimanyu Singhal
 
PPTX
Unit testing and test driven development using vs
Abhimanyu Singhal
 
PPTX
Coded ui test
Abhimanyu Singhal
 
PPTX
Visual Studio ALM
Abhimanyu Singhal
 
PPTX
Unit testing and test driven development using vs
Abhimanyu Singhal
 
PPTX
Debugging application using visual studio 2010 and intellitrace
Abhimanyu Singhal
 
PPTX
Database development with visual studio 2010
Abhimanyu Singhal
 
ASP.NET Core
Abhimanyu Singhal
 
Containerization with Microsoft Azure
Abhimanyu Singhal
 
Azure Functions & Serverless Computing
Abhimanyu Singhal
 
Mobile devops
Abhimanyu Singhal
 
Opportunity: Data, Analytic & Azure
Abhimanyu Singhal
 
Using Specflow for BDD
Abhimanyu Singhal
 
Behavior Driven Development
Abhimanyu Singhal
 
Unit testing with visual studio 2012
Abhimanyu Singhal
 
Exploratory testing
Abhimanyu Singhal
 
Project management with team foundation server 11
Abhimanyu Singhal
 
Unit testing and test driven development using vs
Abhimanyu Singhal
 
Coded ui test
Abhimanyu Singhal
 
Visual Studio ALM
Abhimanyu Singhal
 
Unit testing and test driven development using vs
Abhimanyu Singhal
 
Debugging application using visual studio 2010 and intellitrace
Abhimanyu Singhal
 
Database development with visual studio 2010
Abhimanyu Singhal
 

Recently uploaded (20)

PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Python basic programing language for automation
DanialHabibi2
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
July Patch Tuesday
Ivanti
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 

Web and load testing with Visual Studio 2010 Ultimate

  • 1. Performance Testing your applications with VS 2010 UltimateAbhimanyu SinghalCo-FounderiMentor Knowledge Services
  • 2. Abhimanyu SinghalBackgroundFirst Laid Hands on computers in 1994, been a geek for quite some timeSpent Last 15 Years in working on Different Projects, Technologies and development platformsCurrentlyHelping companies scale applications developed on different platformsCo-Founder and Lead Consultant for iMentor Knowledge ServicesProvide High-End Technical Training and Consultancy
  • 3. ObjectivesPlan and Design TestsExecute TestsAnalyze Results and Reports
  • 5. Performance TestingChallengesWriting better scriptsTaking care of Requests and Dependent requestsWriting scripts for key usage scenarios and there variancesDataNavigation PathsDetermining Relative Distribution and Simulating the sameThink TimesTest Run MixLoad Test Time DurationUser abandonmentTarget Load LevelsQuantifying volume of application usage
  • 6. Performance Testing - ExecutionChallengesSimulating New Production EnvironmentSetting up Test Rigs and Distributing Load among machinesValidating Test RunsUnderstanding the reports and which information to look for?Math Intensive
  • 7. Web Performance TestsTests the functionality of Web Application/Web Service for:-PerformanceAny Other Validation you specifyNot fit for testing user interfacesUse them as scripts in load tests to model user actions
  • 9. Demo – Creating and Running Web Performance Test
  • 10. Web Performance Test ComponentsRequestDependent RequestExtraction RuleValidation RuleWeb Test Plug-InWeb Request Plug-inCommentsContext ParametersDate Sources
  • 12. Load TestLoad Testing ApplicationsStress Testing ApplicationsSmoke TestsSpike TestsCan be used for Web ApplicationsCan also be used for Internal Application Components
  • 13. Load Simulation ArchitectureClient 1VS 2010Client 2MTMTest Rig 2Test Rig 1Controller 1Controller 2Agent 1Agent 2Agent 3Agent 4Agent 5Agent6
  • 14. How machines in test rig communicate
  • 15. Demo Creating and Running Load Tests
  • 16. Key Measures I watch for% CPU UsageRequests Per SecondRequest Queue LengthTotal Bytes in Heap
  • 17. Considerations for running load TestsLoad patternConnection ModelSample rate and data collectionThink timeResponse time goalsPercentage of new usersEnabling SQL tracingMaintaining an appropriate number of agents
  • 18. Common Issues with counter collectionLoadTestCounterCategoryNotFoundExceptionCould not find dependent counter needed to apply threshold rule
  • 19. ResourcesPerformance Testing Guidance for Web Applications @ Microsoft Patterns and Practiceshttp://msdn.microsoft.com/en-us/library/bb924375.aspxVisual Studio 2010 Onlinehttp://www.microsoft.com/visualstudio/en-usMicrosoft Developer NetworkResource Links for Performance Testinghttp://www.imentor.co.in/blog/?p=35
  • 20. Thank you and Q.A.Please post your questionsYou can also send in your questions to [email protected]

Editor's Notes

  • #2: Talk about web performance tests.Use them as scripts inside load testsThese are not fit for testing the user interface. They are run at the HTTP protocol level by test agent and no browser is involved.Renamed from Web Test in Visual Studio 2008Talk about Challenges faced…. During real world scenariosWriting better test scripts.
  • #3: You create a Web Test By recording a particular usage scenario for your application using Web Test Recorder.Web test recorder creates a Web Test, Analyzes the requests and responses for dynamic parameters and correlates requests with each other.Web test recorder also creates a log file for recording which can be used to fine tune/customize the web performance test.Once you have customized the web test you can run it using visual studio test agent by using a visual studio ide or MSTest.exe from command lineThe Web Test engine sends HTTP Requests to the sever and recieces the HTTP response which it saves in a Web Test result log file.You can load Request/Response in Visual Studio 2010 from the log file to view the results.Key Considerations:-Sends and receives data at the HTTP layer. Does NOT run a browser. Does NOT run java script. Does NOT host ActiveX controls or plugins. Thus they can Web Tests Can Succeed Even Though It Appears They Failed
  • #4: Extraction rules are useful when you have a piece of data from one page that is needed on another page. For example, extraction rules can be used to extract information from responses, such as http header, attribute value, form field, hidden field, text, and regular expression. The extracted values can then be added to the Web test context for future usageValidation rules are useful when you want to verify that expected data, such as http tag, attribute, request time and text, appear in the responses or perform Web functional testingThe Web test plug-in is run one time for every test iteration. Code in the PreWebTest handler will be called before the Web test starts issuing requests. Code in the PostWebTest handler will be called after the Web test completes. For example, the cleanup code can be inserted here.Web request plug-ins provide a way for you to isolate code outside the main individual requests in your Web test. A request plug-in allows you to call code as each request is run in a Web test. Code in the PreRequestHandler function will be called before a request is issued. For example, you can skip a request if certain condition is met. Code in the PostRequestHandler function can be used to retrieve information from response pages.More informationhttp://msdn2.microsoft.com/en-us/library/ms404703(VS.80).aspxMore Informationhttp://msdn2.microsoft.com/en-us/library/ms404670(VS.80).aspx
  • #5: ControllerThe controller provides a general architecture for running tests, and includes special features for running load tests. The controller sends the load test to all agents and waits until all the agents have initialized the test. When all agents are ready, the controller sends a message to the agents to start the test.You can configure the controller to select agents based on the properties of the agent, for example, the operating system installed on the agent. You do this on the Controller and Agents tab of the run configuration file. For more information, see How to: Specify a Test Run Configuration.AgentThe agent runs a service that listens for requests from the controller to start a new test. When a request is received, the agent service starts a process on which to run the tests. Each agent runs the same load test.Agents are assigned a weight by the administrator, and load is distributed according to an agent’s weighting. For example, if agent 1 has a weighting of 30, and agent 2 has a weighting of 70, and the load is set to 1000 users, then agent 1 simulates 300 virtual users while agent 2 simulates 700 virtual users. For more information about how to assign a weight to an agent, see How to: Administer a Rig.The agent takes as input a set of tests and a set of simulation parameters. A key concept in Visual Studio Team Edition for Testers is that tests are independent of the computer on which they are run.
  • #6: The possible reasons for this are the counter category is not installed on the computer, the user account does have permission to collect the counters, or a firewall issueIt happens because this rule depends on a counter which was not collected for the sample period the error occurred.