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

Contenu connexe

Similaire à 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.2Universal Technology Solutions
 
Utilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your businessUtilizing SharePoint to Improve your business
Utilizing SharePoint to Improve your businessRobert Crane
 
CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009CFITS Disaster Recovery 2009
CFITS Disaster Recovery 2009cfits
 
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 StudioAtlassian
 
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 2020Oak Systems
 
Slow Cool 20081009 Final
Slow Cool 20081009 FinalSlow Cool 20081009 Final
Slow Cool 20081009 Finalrajivmordani
 
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 ProcessesHenry Schneider
 
Clarity CMS - A Brief Overview
Clarity CMS - A Brief OverviewClarity CMS - A Brief Overview
Clarity CMS - A Brief Overviewguestfc16b55
 
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 SolutionsClarity Ventures
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardTechWell
 
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 TrackingAtlassian
 
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 2009ScioSales
 
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 v20Ralph 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 LakeCapgemini
 
Innovation World 2008
Innovation World 2008Innovation World 2008
Innovation World 2008Roman 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 20MySQLConference
 

Similaire à 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
 

Plus de 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 2013Stephen 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 thairStephen 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 TaleStephen 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.ukStephen Thair
 
Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011Measuring web performance. Velocity EU 2011
Measuring web performance. Velocity EU 2011Stephen 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 SeminarStephen 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 SPDYStephen 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 v2Stephen 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 thairStephen Thair
 
Performance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinnessPerformance automation 101 @LDNWebPerf MickMcGuinness
Performance automation 101 @LDNWebPerf MickMcGuinnessStephen 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 - AndreasGrabnerStephen Thair
 
Seatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudySeatwave Web Peformance Optimisation Case Study
Seatwave Web Peformance Optimisation Case StudyStephen Thair
 
Configuration Management - The Operations Managers View
Configuration Management - The Operations Managers ViewConfiguration Management - The Operations Managers View
Configuration Management - The Operations Managers ViewStephen Thair
 

Plus de 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
 

Dernier

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Dernier (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

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