SlideShare uma empresa Scribd logo
1 de 18
Performance Testing w/ SharePoint SharePoint Saturday Charlotte Jeff Dalton Twitter.com/jefferydalton Sharepoint.nailhead.net
About Me 6/20/2009 2 SharePoint Saturday Charlotte / Performance Testing with SharePoint
Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 3 SharePoint Saturday Charlotte / Performance Testing with SharePoint
Performance Testing Basics Identify Environment - Capture Application and Infrastructure architecture Identify Performance Acceptance Criteria - Requirements Design Tests – Capture Scenarios, Navigation Paths, Workload Model Configure Test Environment Construct Tests Run Tests / Analyze Results / Create Test Reports Rinse / Repeat as Needed 6/20/2009 4 SharePoint Saturday Charlotte / Performance Testing with SharePoint
Identify Environment Architecture Logical  Physical System Core Functions / Business Process What happens if this system is down? User Activites How do people use this system? 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 5
Identify Performance Acceptance Criteria Establish Requirements SLA / OLA, Regulations, Contracts Request X must respond < 5 seconds Press Releases must be available with 2 minutes of release Application Requirements Application must support 5 orders per second. Determine Thresholds Processor Utilization should not exceed 80% for 5 consecutive seconds. Establish Goals 95% of page requests should execute in less than 2 seconds. 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 6
Design Tests Define usage scenarios (web transactions) Requirements and Goals. Common Usage Scenarios Business Critical Scenarios Technical Concerns Stakeholder Concerns High Visibility usage. Strive for real word usage User delays / think times User abandonment Common user errors Work Load models 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 7
Configure Test Environment Setup Test Lab Network Hardware Setup / Configure load testing software Setup monitoring software Considerations How much load before bottleneck on test generators. Synchronize System Clocks Validate Network components (Switches, Firewall, Load Balancer …) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 8
Construct Tests Plan on this taking longer than expected Build scripts to create simulated data  SharePoint Test Data Population Tool (CodePlex) SharePoint Site Builder (CodePlex) Ensure validation rules are working correctly Plan on issues (usually test tools lag behind technology) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 9
Run Tests / Analyze Results / Create Test Reports Make sure proper people are in place when running tests. Collect / Analyze data as soon as tests are finished (everything is fresh in memory) Meticulous documenting start / stop times, special circumstance with test. Archive Test Results Run Tests Multiple times (to reduce chance of anomalies)  Stakeholder Reports / Technical Reports  Content is tailored to audience 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 10
Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 11 SharePoint Saturday Charlotte / Performance Testing with SharePoint
Performance Testing w/ Visual Studio 2008 Visual Studio 2005 or 2008 Team Test or Team Suite Visual Studio Team System 2008 Test Load Agent  Now let’s get out of slides 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 12
Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 13 SharePoint Saturday Charlotte / Performance Testing with SharePoint
SharePoint Considerations Web Front Ends Caching Enabled / Content DB Size / Site Collection Size Is Security included? SQL Server Do Not Ignore Timer Jobs How will these impact your operations?  Have you included these in your tests? SSP Search, BDC, User Profiles, Session State, Excel Services,… Solution Deployments 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 14
Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 15 SharePoint Saturday Charlotte / Performance Testing with SharePoint
Lessons Learned Plan, Plan, Plan  Know your environment Establish your goals  Know your tests  Know your tools Test, Test, Test (or search / destroy bottlenecks) Leave plenty of time to shake out the tests Size Matters (when Testing SharePoint) Witnessed 100% performance degradation between empty site collection and one with 22k webs. 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 16
Lessons Learned Think Times Matter / End User Variations Matter Pure load is nice, but it doesn’t reflect real world Try to mix-up those IP-Addresses Running all tests over 2 – 4 IP-Addresses does not simulate real world. Dedicated Test Labs Are Good, Ummmkay Testing in Production is Bad, Ummmkay 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 17
Lessons Learned Load Agents can max out quickly (do not want to over stress those machines) Over worked Load Agent will skew test results. Testing for under 30 minutes may cause you to miss out on major problems. Rule of thumb is about 1000 concurrent users for 1 VSTS Load Agent (most I’ve been able to run is around 300) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 18

Mais conteúdo relacionado

Semelhante a #Spsclt Performance Testing W Share Point

J Meter Presentation 4
J Meter Presentation 4J Meter Presentation 4
J Meter Presentation 4Sameer Naik
 
WebPagetest Velocity 2010
WebPagetest Velocity 2010WebPagetest Velocity 2010
WebPagetest Velocity 2010Eric Goldsmith
 
So Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test BlackboardSo Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test BlackboardSteve Feldman
 
Oracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JATOracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JATClever Moe
 
Customizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templatesCustomizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templatesTony Testa
 
Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - apti...
Accelerate SharePoint 2007 and 2010 websites and intranets    mike iem - apti...Accelerate SharePoint 2007 and 2010 websites and intranets    mike iem - apti...
Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - apti...Aptimize
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework DevelopementGlasdon Falcao
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfTest Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfDiana Gray, MBA
 
Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...
 Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ... Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...
Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...Contribyte
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to useUma Ghotikar
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overviewSpiffy
 
Performance Testing REST APIs
Performance Testing REST APIsPerformance Testing REST APIs
Performance Testing REST APIsJason Weden
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presentedVijayan Reddy
 
2014 Joker - Integration Testing from the Trenches
2014 Joker - Integration Testing from the Trenches2014 Joker - Integration Testing from the Trenches
2014 Joker - Integration Testing from the TrenchesNicolas Fränkel
 
Mykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with JmeterMykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with JmeterIevgenii Katsan
 
Business Impact of the SharePoint Upgrade BPC 2013
Business Impact of the SharePoint Upgrade  BPC 2013Business Impact of the SharePoint Upgrade  BPC 2013
Business Impact of the SharePoint Upgrade BPC 2013JoyKnows
 
Copy of qtp presentation
Copy of qtp presentationCopy of qtp presentation
Copy of qtp presentationRamu Palanki
 
End-to-End Testing with the Heuristic Software Test Model
End-to-End Testing with the Heuristic Software Test ModelEnd-to-End Testing with the Heuristic Software Test Model
End-to-End Testing with the Heuristic Software Test ModelTechWell
 

Semelhante a #Spsclt Performance Testing W Share Point (20)

J Meter Presentation 4
J Meter Presentation 4J Meter Presentation 4
J Meter Presentation 4
 
WebPagetest Velocity 2010
WebPagetest Velocity 2010WebPagetest Velocity 2010
WebPagetest Velocity 2010
 
So Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test BlackboardSo Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test Blackboard
 
Oracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JATOracle Forms Performance Testing PushToTest TestMaker JAT
Oracle Forms Performance Testing PushToTest TestMaker JAT
 
Customizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templatesCustomizing SharePoint 2013 search display templates
Customizing SharePoint 2013 search display templates
 
Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - apti...
Accelerate SharePoint 2007 and 2010 websites and intranets    mike iem - apti...Accelerate SharePoint 2007 and 2010 websites and intranets    mike iem - apti...
Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - apti...
 
Hybrid Automation Framework Developement
Hybrid Automation Framework DevelopementHybrid Automation Framework Developement
Hybrid Automation Framework Developement
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfTest Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
 
Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...
 Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ... Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...
Using IBM Rational Change as an Enterprise-Wide Error Management Solution – ...
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
 
Testing SharePoint solutions overview
Testing SharePoint solutions overviewTesting SharePoint solutions overview
Testing SharePoint solutions overview
 
Performance Testing REST APIs
Performance Testing REST APIsPerformance Testing REST APIs
Performance Testing REST APIs
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
 
2014 Joker - Integration Testing from the Trenches
2014 Joker - Integration Testing from the Trenches2014 Joker - Integration Testing from the Trenches
2014 Joker - Integration Testing from the Trenches
 
Mykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with JmeterMykola Kovsh - Functional API automation with Jmeter
Mykola Kovsh - Functional API automation with Jmeter
 
Business Impact of the SharePoint Upgrade BPC 2013
Business Impact of the SharePoint Upgrade  BPC 2013Business Impact of the SharePoint Upgrade  BPC 2013
Business Impact of the SharePoint Upgrade BPC 2013
 
Copy of qtp presentation
Copy of qtp presentationCopy of qtp presentation
Copy of qtp presentation
 
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
 
Qtp presentation
Qtp presentationQtp presentation
Qtp presentation
 
End-to-End Testing with the Heuristic Software Test Model
End-to-End Testing with the Heuristic Software Test ModelEnd-to-End Testing with the Heuristic Software Test Model
End-to-End Testing with the Heuristic Software Test Model
 

Último

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

#Spsclt Performance Testing W Share Point

  • 1. Performance Testing w/ SharePoint SharePoint Saturday Charlotte Jeff Dalton Twitter.com/jefferydalton Sharepoint.nailhead.net
  • 2. About Me 6/20/2009 2 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 3. Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 3 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 4. Performance Testing Basics Identify Environment - Capture Application and Infrastructure architecture Identify Performance Acceptance Criteria - Requirements Design Tests – Capture Scenarios, Navigation Paths, Workload Model Configure Test Environment Construct Tests Run Tests / Analyze Results / Create Test Reports Rinse / Repeat as Needed 6/20/2009 4 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 5. Identify Environment Architecture Logical Physical System Core Functions / Business Process What happens if this system is down? User Activites How do people use this system? 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 5
  • 6. Identify Performance Acceptance Criteria Establish Requirements SLA / OLA, Regulations, Contracts Request X must respond < 5 seconds Press Releases must be available with 2 minutes of release Application Requirements Application must support 5 orders per second. Determine Thresholds Processor Utilization should not exceed 80% for 5 consecutive seconds. Establish Goals 95% of page requests should execute in less than 2 seconds. 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 6
  • 7. Design Tests Define usage scenarios (web transactions) Requirements and Goals. Common Usage Scenarios Business Critical Scenarios Technical Concerns Stakeholder Concerns High Visibility usage. Strive for real word usage User delays / think times User abandonment Common user errors Work Load models 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 7
  • 8. Configure Test Environment Setup Test Lab Network Hardware Setup / Configure load testing software Setup monitoring software Considerations How much load before bottleneck on test generators. Synchronize System Clocks Validate Network components (Switches, Firewall, Load Balancer …) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 8
  • 9. Construct Tests Plan on this taking longer than expected Build scripts to create simulated data SharePoint Test Data Population Tool (CodePlex) SharePoint Site Builder (CodePlex) Ensure validation rules are working correctly Plan on issues (usually test tools lag behind technology) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 9
  • 10. Run Tests / Analyze Results / Create Test Reports Make sure proper people are in place when running tests. Collect / Analyze data as soon as tests are finished (everything is fresh in memory) Meticulous documenting start / stop times, special circumstance with test. Archive Test Results Run Tests Multiple times (to reduce chance of anomalies) Stakeholder Reports / Technical Reports Content is tailored to audience 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 10
  • 11. Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 11 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 12. Performance Testing w/ Visual Studio 2008 Visual Studio 2005 or 2008 Team Test or Team Suite Visual Studio Team System 2008 Test Load Agent Now let’s get out of slides 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 12
  • 13. Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 13 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 14. SharePoint Considerations Web Front Ends Caching Enabled / Content DB Size / Site Collection Size Is Security included? SQL Server Do Not Ignore Timer Jobs How will these impact your operations? Have you included these in your tests? SSP Search, BDC, User Profiles, Session State, Excel Services,… Solution Deployments 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 14
  • 15. Agenda Foundation Performance Testing w/ Visual Studio 2008 SharePoint Consideration Lessons Learned 6/20/2009 15 SharePoint Saturday Charlotte / Performance Testing with SharePoint
  • 16. Lessons Learned Plan, Plan, Plan Know your environment Establish your goals Know your tests Know your tools Test, Test, Test (or search / destroy bottlenecks) Leave plenty of time to shake out the tests Size Matters (when Testing SharePoint) Witnessed 100% performance degradation between empty site collection and one with 22k webs. 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 16
  • 17. Lessons Learned Think Times Matter / End User Variations Matter Pure load is nice, but it doesn’t reflect real world Try to mix-up those IP-Addresses Running all tests over 2 – 4 IP-Addresses does not simulate real world. Dedicated Test Labs Are Good, Ummmkay Testing in Production is Bad, Ummmkay 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 17
  • 18. Lessons Learned Load Agents can max out quickly (do not want to over stress those machines) Over worked Load Agent will skew test results. Testing for under 30 minutes may cause you to miss out on major problems. Rule of thumb is about 1000 concurrent users for 1 VSTS Load Agent (most I’ve been able to run is around 300) 6/20/2009 SharePoint Saturday Charlotte / Performance Testing with SharePoint 18
  • 19. References Patterns and Practices: Performance Testing Guidelines for Web Applications Web and Load Testing with Visual Studio Team System Visual Studio 2008 Testing (Load Test) Advanced Load Testing Features of Visual Studio Team System MSDN: Working with Load Tests Lessons Learned (Part 1) Lessons Learned (Part 2) More Lessons Learned 6/20/2009 19 SharePoint Saturday Charlotte / Performance Testing with SharePoint