SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à Perf Testing w/ SP

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
 

Similaire à Perf Testing w/ SP (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
 

Dernier

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Perf Testing w/ SP

  • 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