SlideShare a Scribd company logo
SERITI
   CONSULTING




Load Testing Case Study


    Some hints and tips on load-testing your website...




                                                                                      1
    Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
Agenda


 Introductions
 Before you start
 Designing the test
 On the Day…
 Analysing the results and taking action
 The vendor bit…
 Questions?
                                                                                        2
      Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
SERITI
    CONSULTING




Before you start


    Working out what to test and how much to test it




                                                                                      5
    Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
Why do you want to load test?


 New website still under development?
 Existing website about to head into a
  business peak period?
 New marketing campaign about to
  launch?
 The Met Office is predicting snow...



                                                                                         6
       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
“Load test” vs. “Performance Test”



 Performance vs Load Test?

 This affects:
  How you will do it
  What you will do during the test
  Who needs to be involved
  What information you record!


     Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   7
Load vs. Performance?

 Load Test = quot;Black Boxquot;
  I only care if the whole system can handle the
   load
  If it can't I probably don't have a lot of clues as to
   why not...

 Performance Test = quot;White Boxquot;
  Looking inside the App and Infrastructure
   architecture to identify the key elements
  Designing tests to stress each element
  Monitoring those key elements during the test

        Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   8
Test In-house or use 3rd party?

 Project triangle decision
 Time
 Money
 Scope

 Resources required...
 Testing software e.g. LoadRunner, Selenium, Site Confidence
 People to script it
 Hardware & network to generate the load
 Accessibility of test environments (or use Prod)
 Reporting interface to get the right stats & graphs
 People to interpret the results...


                                                                                          9
        Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
SERITI
   CONSULTING




Designing the test


    Working out what to test and how much to test it




                                                                                      1
    Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                      0
Decide on your critical user journeys



 Home page

 Search pages

 Details pages

 Upload/download

 Checkout/e-commerce

 SEO Crawl – Google can hammer sites!

      Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   12
Set your targets

 How many transactions/sec?

 How many concurrent users?

 What is the mix of the user journeys?
  Don't underestimate the impact of
   concurrence...

 What's your quot;safety marginquot;
  We used 40%


       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   13
TIP - Web Analytics is your BFF

 Leverage your site metrics!
  Google Analytics, WebTrends or Omniture etc
  Use the information to identify your peak
   loads across different user journeys
  It is very common for people to test their sites
   at very unrealistic rates... Or focus on the
   wrong parts…
   • Don’t forget deep linking!




         Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   14
TIP – Management Speak..

 The Management tends to ask “how many
  users will the site support”…

 How many users do what, how often?
 Users on playing online poker are different to users reading “The
  Register”…

 I find it best to talk about “page impressions”
  since that is a metrics they are probably familiar
  with by now…



         Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   15
Concurrent users & “think time”

 Take the number of page impression per hour
 Divide by 3600
 That gives you the page impressions (quot;transactionsquot;) per
  second target
 Then take the number of quot;concurrent usersquot; and divide
  by the quot;think timequot; (dwell time) to give you transactions
  a second
  1200 users with a 60s think time = 20 transactions /sec

  600 users with 30s think time = 20 transactions /sec

  300 users with 15s think time = 20 transactions /sec

  100 users with a 5s think time = 20 transactions /sec

          Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   16
Design the test…


                     Scripts                                Profiles                    Scenarios


 Scripts - the actual user journey (“clicks”)
 Profiles - how many, how fast, how long etc
 Scenarios - combining profiles to match the
  traffic patterns on your site…
 The “mix” of user journeys at any one time



      Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved               17
What does a Profile look like?




       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   19
3 Quick Tips…

 Baseline your network first
   Do a “GET” for a 100K JPEG and see how many you get before you
    saturate your network

 Do “single profile” scenarios first
   Work from simple to complex
   Test each element before you try combinations

 Think about “keyhole” tests to isolate specific
  application functions
   Rather than simulate the “click by click” of the user just “POST” (form
    submit) directly to the site
   This enables you to focus on the app performance rather than the UI
    elements (you need to do both though!)



           Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   21
One more tip…

 DON’T FORGET YOUR BATCH PROCESSES
  How does the system perform during…
   •   Backups
   •   Re-indexes
   •   ETL activities
   •   Any other batch process that stresses the system…

 Many a site dies when these processes run

 And if you are truly 24x7 online – when is your window?




            Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   22
On the day – running the test!

                        Who does what, where & when?




                                                                                       23
     Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
Plan out the timetable!

 Make the most of your testing window…

 Plan carefully but BE REALISTIC!

 Allow a lot of time for review between each
  scenario run...

 You WILL change your plans on the day...
 Be flexible!

 Get the right people – Operations, QA,
  Network, Database etc

       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   24
On the day...

 DON’T - Suddenly remember that you forgot to tell your hosting
  provider...
   And watch their IDS system think it was a DDOS attack and drop all your
    packets...

 DO – keep an eye on the time (and ensure that time is sync’s
  across the systems)
   You will want to correlate events!

 DO – use a meaningful name for each run and add comments
   So you know how many users are added, over what ramp up period,
    and run for how long at a glance

 DO – think about cleaning up after you!
   If you have been running against Prod you might have created a lot of
    dummy transactions (and your web logs will be HUGE!)


           Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   25
SERITI
    CONSULTING




Analysing the results and taking action

          Data -> Information -> Knowledge -> Action




                                                                                       26
     Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
Lots of questions…

 Did you hit your targets?

 Where there any odd peaks/troughs?

 Was “mixed scenario” performance different?

 Was performance consistent across test runs?
   Did your releases make things better (or worse)?

 What was the Max/Mean/Min values
   And what was the variance?




                                                                                             2
           Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                             7
Before and After a Network upgrade…




     Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   28
Lower & longer is better




Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   29
Faster response, with more users…




       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   30
Taking action…

 Use the performance stat (if you gathered any)
  to isolate the weak links
 Upgrade/re-factor & re-test

 Use the (bad) stats to get more budget to fix
  the problem…

 Use the (good) stats to get more a bonus
  because you did such a good job…



                                                                                         3
       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                         1
SERITI
   CONSULTING




The vendor bit…



                                       Over to James… 




                                                                                      3
    Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                      2
Site Confidence Clients…




       Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved   34
Contact Details – Site Confidence

 Talk to Site Confidence on their stand at the TestExpo after the
  presentation or if you would like a copy of the presentation

 Email James – James.Bavington@SiteConfidence.com

 Visit their website - www.siteconfidence.com




                                                                                            3
          Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                            5
Contact Details – Seriti Consulting

 If you have any questions around
   web hosting (IIS, Cloud)
   Performance tools (Appmetrics, Avicode)
   Operations & ITIL (service-now.com)
   Configuration Management (Configuresoft ECM)
   Near-shore development, functional test (Endava)

 Email me – Stephen.Thair@SeritiConsulting.com

 Connect with me on LinkedIn
   http://www.linkedin.com/in/stephenthair




                                                                                            3
          Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                            6
Any Questions?




                                                                                        3
      Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
                                                                                        7

More Related Content

Similar to Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study

Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2
Universal Technology Solutions
 
Utilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your businessUtilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your business
Robert Crane
 
CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009
cfits
 
My History with Atlassian Tools, and Why I'm Moving to Studio
My History with Atlassian Tools, and Why I'm Moving to StudioMy History with Atlassian Tools, and Why I'm Moving to Studio
My History with Atlassian Tools, and Why I'm Moving to Studio
Atlassian
 
Product Development
Product DevelopmentProduct Development
Product Development
MaRS Discovery District
 
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
oneloveforch
 
Oaksys Updated Presentation 2020
Oaksys Updated Presentation 2020Oaksys Updated Presentation 2020
Oaksys Updated Presentation 2020
Oak Systems
 
Slow Cool 20081009 Final
Slow Cool 20081009 FinalSlow Cool 20081009 Final
Slow Cool 20081009 Final
rajivmordani
 
The CMMI: It’s So Much More Than Merely Improving Software Processes
The CMMI:  It’s So Much More Than Merely Improving Software ProcessesThe CMMI:  It’s So Much More Than Merely Improving Software Processes
The CMMI: It’s So Much More Than Merely Improving Software Processes
Henry Schneider
 
Clarity CMS - A Brief Overview
Clarity CMS - A Brief OverviewClarity CMS - A Brief Overview
Clarity CMS - A Brief Overview
guestfc16b55
 
Clarity CMS - About Clarity Content Management Solutions
Clarity CMS - About Clarity Content Management SolutionsClarity CMS - About Clarity Content Management Solutions
Clarity CMS - About Clarity Content Management Solutions
Clarity Ventures
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
TechWell
 
Three Uses Of JIRA Beyond Bug Tracking
Three Uses Of JIRA Beyond Bug TrackingThree Uses Of JIRA Beyond Bug Tracking
Three Uses Of JIRA Beyond Bug Tracking
Atlassian
 
Introduction To Saa S Tech Ba Apr 2009
Introduction To Saa S   Tech Ba   Apr 2009Introduction To Saa S   Tech Ba   Apr 2009
Introduction To Saa S Tech Ba Apr 2009
ScioSales
 
oa predictive asset management executive briefing v20
oa predictive asset management executive briefing v20oa predictive asset management executive briefing v20
oa predictive asset management executive briefing v20
Ralph Overbeck
 
Accelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data LakeAccelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data Lake
Capgemini
 
SAP... Simple!
SAP... Simple!SAP... Simple!
Innovation World 2008
Innovation World 2008Innovation World 2008
Innovation World 2008
Roman Stanek
 
Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20
MySQLConference
 
Cloud Time
Cloud TimeCloud Time
Cloud Time
John Repko
 

Similar to Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study (20)

Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2
 
Utilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your businessUtilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your business
 
CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009
 
My History with Atlassian Tools, and Why I'm Moving to Studio
My History with Atlassian Tools, and Why I'm Moving to StudioMy History with Atlassian Tools, and Why I'm Moving to Studio
My History with Atlassian Tools, and Why I'm Moving to Studio
 
Product Development
Product DevelopmentProduct Development
Product Development
 
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
The Cmmi Its So Much More Than Merely Improving Software Processes 1205172652...
 
Oaksys Updated Presentation 2020
Oaksys Updated Presentation 2020Oaksys Updated Presentation 2020
Oaksys Updated Presentation 2020
 
Slow Cool 20081009 Final
Slow Cool 20081009 FinalSlow Cool 20081009 Final
Slow Cool 20081009 Final
 
The CMMI: It’s So Much More Than Merely Improving Software Processes
The CMMI:  It’s So Much More Than Merely Improving Software ProcessesThe CMMI:  It’s So Much More Than Merely Improving Software Processes
The CMMI: It’s So Much More Than Merely Improving Software Processes
 
Clarity CMS - A Brief Overview
Clarity CMS - A Brief OverviewClarity CMS - A Brief Overview
Clarity CMS - A Brief Overview
 
Clarity CMS - About Clarity Content Management Solutions
Clarity CMS - About Clarity Content Management SolutionsClarity CMS - About Clarity Content Management Solutions
Clarity CMS - About Clarity Content Management Solutions
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
 
Three Uses Of JIRA Beyond Bug Tracking
Three Uses Of JIRA Beyond Bug TrackingThree Uses Of JIRA Beyond Bug Tracking
Three Uses Of JIRA Beyond Bug Tracking
 
Introduction To Saa S Tech Ba Apr 2009
Introduction To Saa S   Tech Ba   Apr 2009Introduction To Saa S   Tech Ba   Apr 2009
Introduction To Saa S Tech Ba Apr 2009
 
oa predictive asset management executive briefing v20
oa predictive asset management executive briefing v20oa predictive asset management executive briefing v20
oa predictive asset management executive briefing v20
 
Accelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data LakeAccelerate Actionable Insights with the Business Data Lake
Accelerate Actionable Insights with the Business Data Lake
 
SAP... Simple!
SAP... Simple!SAP... Simple!
SAP... Simple!
 
Innovation World 2008
Innovation World 2008Innovation World 2008
Innovation World 2008
 
Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20Getting The Most Out Of My Sql Enterprise Monitor 20
Getting The Most Out Of My Sql Enterprise Monitor 20
 
Cloud Time
Cloud TimeCloud Time
Cloud Time
 

More from Stephen Thair

London web performance WPO Lessons from the field June 2013
London web performance   WPO Lessons from the field June 2013London web performance   WPO Lessons from the field June 2013
London web performance WPO Lessons from the field June 2013
Stephen Thair
 
Is the current model of load testing broken ukcmg - steve thair
Is the current model of load testing broken   ukcmg - steve thairIs the current model of load testing broken   ukcmg - steve thair
Is the current model of load testing broken ukcmg - steve thair
Stephen Thair
 
Continuous Integration - A Performance Engineer's Tale
Continuous Integration - A Performance Engineer's TaleContinuous Integration - A Performance Engineer's Tale
Continuous Integration - A Performance Engineer's Tale
Stephen Thair
 
Web Performance Optimisation at times.co.uk
Web Performance Optimisation at times.co.ukWeb Performance Optimisation at times.co.uk
Web Performance Optimisation at times.co.uk
Stephen Thair
 
Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011
Stephen Thair
 
Practical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance SeminarPractical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance Seminar
Stephen Thair
 
Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)
Stephen Thair
 
Velocity 2011 Feedback - architecture, statistics and SPDY
Velocity 2011 Feedback - architecture, statistics and SPDYVelocity 2011 Feedback - architecture, statistics and SPDY
Velocity 2011 Feedback - architecture, statistics and SPDY
Stephen Thair
 
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
Stephen Thair
 
Measuring Mobile Web Performance v2
Measuring Mobile Web Performance v2Measuring Mobile Web Performance v2
Measuring Mobile Web Performance v2
Stephen Thair
 
Web performance and measurement - UKCMG Conference 2011 - steve thair
Web performance and measurement - UKCMG Conference 2011 - steve thairWeb performance and measurement - UKCMG Conference 2011 - steve thair
Web performance and measurement - UKCMG Conference 2011 - steve thair
Stephen Thair
 
Performance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinnessPerformance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinness
Stephen Thair
 
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner
Performance testing automation with Dynatrace  @LDNWebPerf - AndreasGrabnerPerformance testing automation with Dynatrace  @LDNWebPerf - AndreasGrabner
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner
Stephen Thair
 
Web performance 101
Web performance 101Web performance 101
Web performance 101
Stephen Thair
 
Seatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudySeatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case Study
Stephen Thair
 
Configuration Management - The Operations Managers View
Configuration Management - The Operations Managers ViewConfiguration Management - The Operations Managers View
Configuration Management - The Operations Managers View
Stephen Thair
 

More from Stephen Thair (16)

London web performance WPO Lessons from the field June 2013
London web performance   WPO Lessons from the field June 2013London web performance   WPO Lessons from the field June 2013
London web performance WPO Lessons from the field June 2013
 
Is the current model of load testing broken ukcmg - steve thair
Is the current model of load testing broken   ukcmg - steve thairIs the current model of load testing broken   ukcmg - steve thair
Is the current model of load testing broken ukcmg - steve thair
 
Continuous Integration - A Performance Engineer's Tale
Continuous Integration - A Performance Engineer's TaleContinuous Integration - A Performance Engineer's Tale
Continuous Integration - A Performance Engineer's Tale
 
Web Performance Optimisation at times.co.uk
Web Performance Optimisation at times.co.ukWeb Performance Optimisation at times.co.uk
Web Performance Optimisation at times.co.uk
 
Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011
 
Practical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance SeminarPractical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance Seminar
 
Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)Measuring mobile performance (@LDNWebPerf Version)
Measuring mobile performance (@LDNWebPerf Version)
 
Velocity 2011 Feedback - architecture, statistics and SPDY
Velocity 2011 Feedback - architecture, statistics and SPDYVelocity 2011 Feedback - architecture, statistics and SPDY
Velocity 2011 Feedback - architecture, statistics and SPDY
 
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
7 lessons from velocity 2011 (Meetup feedback session for London Web Performa...
 
Measuring Mobile Web Performance v2
Measuring Mobile Web Performance v2Measuring Mobile Web Performance v2
Measuring Mobile Web Performance v2
 
Web performance and measurement - UKCMG Conference 2011 - steve thair
Web performance and measurement - UKCMG Conference 2011 - steve thairWeb performance and measurement - UKCMG Conference 2011 - steve thair
Web performance and measurement - UKCMG Conference 2011 - steve thair
 
Performance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinnessPerformance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinness
 
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner
Performance testing automation with Dynatrace  @LDNWebPerf - AndreasGrabnerPerformance testing automation with Dynatrace  @LDNWebPerf - AndreasGrabner
Performance testing automation with Dynatrace @LDNWebPerf - AndreasGrabner
 
Web performance 101
Web performance 101Web performance 101
Web performance 101
 
Seatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudySeatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case Study
 
Configuration Management - The Operations Managers View
Configuration Management - The Operations Managers ViewConfiguration Management - The Operations Managers View
Configuration Management - The Operations Managers View
 

Recently uploaded

Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 

Recently uploaded (20)

Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 

Test Expo 2009 Site Confidence & Seriti Consulting Load Test Case Study

  • 1. SERITI CONSULTING Load Testing Case Study Some hints and tips on load-testing your website... 1 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 2. Agenda  Introductions  Before you start  Designing the test  On the Day…  Analysing the results and taking action  The vendor bit…  Questions? 2 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 3. SERITI CONSULTING Before you start Working out what to test and how much to test it 5 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 4. Why do you want to load test?  New website still under development?  Existing website about to head into a business peak period?  New marketing campaign about to launch?  The Met Office is predicting snow... 6 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 5. “Load test” vs. “Performance Test”  Performance vs Load Test?  This affects: How you will do it What you will do during the test Who needs to be involved What information you record! Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 7
  • 6. Load vs. Performance?  Load Test = quot;Black Boxquot; I only care if the whole system can handle the load If it can't I probably don't have a lot of clues as to why not...  Performance Test = quot;White Boxquot; Looking inside the App and Infrastructure architecture to identify the key elements Designing tests to stress each element Monitoring those key elements during the test Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 8
  • 7. Test In-house or use 3rd party?  Project triangle decision Time Money Scope  Resources required... Testing software e.g. LoadRunner, Selenium, Site Confidence People to script it Hardware & network to generate the load Accessibility of test environments (or use Prod) Reporting interface to get the right stats & graphs People to interpret the results... 9 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 8. SERITI CONSULTING Designing the test Working out what to test and how much to test it 1 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 0
  • 9. Decide on your critical user journeys  Home page  Search pages  Details pages  Upload/download  Checkout/e-commerce  SEO Crawl – Google can hammer sites! Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 12
  • 10. Set your targets  How many transactions/sec?  How many concurrent users?  What is the mix of the user journeys? Don't underestimate the impact of concurrence...  What's your quot;safety marginquot; We used 40% Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 13
  • 11. TIP - Web Analytics is your BFF  Leverage your site metrics! Google Analytics, WebTrends or Omniture etc Use the information to identify your peak loads across different user journeys It is very common for people to test their sites at very unrealistic rates... Or focus on the wrong parts… • Don’t forget deep linking! Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 14
  • 12. TIP – Management Speak..  The Management tends to ask “how many users will the site support”…  How many users do what, how often? Users on playing online poker are different to users reading “The Register”…  I find it best to talk about “page impressions” since that is a metrics they are probably familiar with by now… Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 15
  • 13. Concurrent users & “think time”  Take the number of page impression per hour  Divide by 3600  That gives you the page impressions (quot;transactionsquot;) per second target  Then take the number of quot;concurrent usersquot; and divide by the quot;think timequot; (dwell time) to give you transactions a second  1200 users with a 60s think time = 20 transactions /sec  600 users with 30s think time = 20 transactions /sec  300 users with 15s think time = 20 transactions /sec  100 users with a 5s think time = 20 transactions /sec Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 16
  • 14. Design the test… Scripts Profiles Scenarios  Scripts - the actual user journey (“clicks”)  Profiles - how many, how fast, how long etc  Scenarios - combining profiles to match the traffic patterns on your site… The “mix” of user journeys at any one time Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 17
  • 15. What does a Profile look like? Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 19
  • 16. 3 Quick Tips…  Baseline your network first  Do a “GET” for a 100K JPEG and see how many you get before you saturate your network  Do “single profile” scenarios first  Work from simple to complex  Test each element before you try combinations  Think about “keyhole” tests to isolate specific application functions  Rather than simulate the “click by click” of the user just “POST” (form submit) directly to the site  This enables you to focus on the app performance rather than the UI elements (you need to do both though!) Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 21
  • 17. One more tip…  DON’T FORGET YOUR BATCH PROCESSES  How does the system perform during… • Backups • Re-indexes • ETL activities • Any other batch process that stresses the system…  Many a site dies when these processes run  And if you are truly 24x7 online – when is your window? Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 22
  • 18. On the day – running the test! Who does what, where & when? 23 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 19. Plan out the timetable!  Make the most of your testing window…  Plan carefully but BE REALISTIC!  Allow a lot of time for review between each scenario run...  You WILL change your plans on the day... Be flexible!  Get the right people – Operations, QA, Network, Database etc Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 24
  • 20. On the day...  DON’T - Suddenly remember that you forgot to tell your hosting provider...  And watch their IDS system think it was a DDOS attack and drop all your packets...  DO – keep an eye on the time (and ensure that time is sync’s across the systems)  You will want to correlate events!  DO – use a meaningful name for each run and add comments  So you know how many users are added, over what ramp up period, and run for how long at a glance  DO – think about cleaning up after you!  If you have been running against Prod you might have created a lot of dummy transactions (and your web logs will be HUGE!) Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 25
  • 21. SERITI CONSULTING Analysing the results and taking action Data -> Information -> Knowledge -> Action 26 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved
  • 22. Lots of questions…  Did you hit your targets?  Where there any odd peaks/troughs?  Was “mixed scenario” performance different?  Was performance consistent across test runs?  Did your releases make things better (or worse)?  What was the Max/Mean/Min values  And what was the variance? 2 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 7
  • 23. Before and After a Network upgrade… Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 28
  • 24. Lower & longer is better Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 29
  • 25. Faster response, with more users… Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 30
  • 26. Taking action…  Use the performance stat (if you gathered any) to isolate the weak links Upgrade/re-factor & re-test  Use the (bad) stats to get more budget to fix the problem…  Use the (good) stats to get more a bonus because you did such a good job… 3 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 1
  • 27. SERITI CONSULTING The vendor bit… Over to James…  3 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 2
  • 28. Site Confidence Clients… Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 34
  • 29. Contact Details – Site Confidence  Talk to Site Confidence on their stand at the TestExpo after the presentation or if you would like a copy of the presentation  Email James – James.Bavington@SiteConfidence.com  Visit their website - www.siteconfidence.com 3 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 5
  • 30. Contact Details – Seriti Consulting  If you have any questions around  web hosting (IIS, Cloud)  Performance tools (Appmetrics, Avicode)  Operations & ITIL (service-now.com)  Configuration Management (Configuresoft ECM)  Near-shore development, functional test (Endava)  Email me – Stephen.Thair@SeritiConsulting.com  Connect with me on LinkedIn  http://www.linkedin.com/in/stephenthair 3 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 6
  • 31. Any Questions? 3 Commercial in Confidence - © Copyright 2008 NCC Group plc - all rights reserved 7