SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
[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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Kürzlich hochgeladen (20)

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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
[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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

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