SlideShare une entreprise Scribd logo
1  sur  57
Top ten secret weapons for performance testing in an agile environment patrick.kua@thoughtworks.com (and alistair.jones@thoughtworks.com) © ThoughtWorks 2011
Make Performance Explicit © ThoughtWorks 2011   1
So that I can make better investment decisions As an investor I want to see the value of my portfolio presented on a single web page must have “good” performance, less than 0.2s page load for about 10,000 concurrent users © ThoughtWorks 2011
© ThoughtWorks 2011 So that investors have a high-quality experience as the business grows As the Operations Manager I want the portfolio value page to render within 0.2s when 10,000 users are logged in
One Team © ThoughtWorks 2011    2
Team Dynamics © ThoughtWorks 2011
Performance Testers Part of Team © ThoughtWorks 2011
© ThoughtWorks 2011
Performance Testers Part of Team © ThoughtWorks 2011
Pair on Performance Test Stories © ThoughtWorks 2011
Rotate Pairs © ThoughtWorks 2011
Customer Driven © ThoughtWorks 2011       3
What was a good source of requirements? © ThoughtWorks 2011
© ThoughtWorks 2011 Existing Pain Points
An example... © ThoughtWorks 2011
So that we can budget for future hardware needs as we grow As the data centre manager I want to know how much traffic we can handle now © ThoughtWorks 2011
Another example © ThoughtWorks 2011
© ThoughtWorks 2011 So that we have confidence in meeting our SLA As the Operations Manager I want to ensure that a sustained peak load does not take out our service
Personas © ThoughtWorks 2011
Who is the customer? © ThoughtWorks 2011 Investors Marketing End Users Power  Users Operations
Discipline © ThoughtWorks 2011   4
© ThoughtWorks 2011 Observe test results What do you see? Formulate an hypothesis Why is it doing that? Design an experiment How can I prove that’s what’s happening? Run the experiment Take the time to gather the evidence. Is the hypothesis valid? Change the application code Safe in the knowledge that I’m making it faster
?????????? © ThoughtWorks 2011
© ThoughtWorks 2011 Observe test results Saw tooth pattern  (1 minute intervals) Formulate an hypothesis Directory structure of (yyyy/mm/minuteofday)?.  Slow down due to # of files in directory? Design an experiment  1 directory should result in even worse performance... Run the experiment We ran the test… Is the hypothesis valid? Change the application code
One Directory © ThoughtWorks 2011
Play Performance Early © ThoughtWorks 2011    5
© ThoughtWorks 2011 End Start Other projects start performance testing here End Start Agile projects start performance testing as early as possible
Iterate Don’t (Just) Increment © ThoughtWorks 2011        6
© ThoughtWorks 2011
We               Sashimi © ThoughtWorks 2011
Sashimi Slice By... Presentation © ThoughtWorks 2011
© ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of requests per second
© ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of average latency per second
© ThoughtWorks 2011 So that I can easily scan results at a single glance As the Operations Manager I want a one page showing all results
Sashimi Slice By...  Scenario © ThoughtWorks 2011
© ThoughtWorks 2011 So that we never have a day like “October 10” As the Operations Manager I want to ensure that a sustained peak load does not take out our service
© ThoughtWorks 2011 So that we never have a day like “November 12” As the Operations Manager I want to ensure that an escalating load up to xxx requests/second does not take out our service
Automate, Automate, Automate © ThoughtWorks 2011    7
© ThoughtWorks 2011 Automated Compilation Automated Tests Automated Packaging Automated Deployment
Automation => Reproducible and Consistent Automation => Faster Feedback Automation => Higher Productivity Why Automation? © ThoughtWorks 2011
© ThoughtWorks 2011 Automated Test Orchestration Automated Analysis Automated Scheduling Automated Load Generation Automated Application Deployment Automated Result Archiving
Continuous Performance Testing © ThoughtWorks 2011    8
© ThoughtWorks 2011
Application Build Pipelines © ThoughtWorks 2011 Performance
© ThoughtWorks 2011
Test Drive Your Performance Test Code © ThoughtWorks 2011    9
V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
We make mistakes © ThoughtWorks 2011
V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Unit test performance code to fail faster Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
Fail Fast! © ThoughtWorks 2011 Fast feedback! Faster learning Faster results
Classic Performance Areas to Test © ThoughtWorks 2011 Analysis Information Collection Presentation Publishing Visualisation
Get Feedback © ThoughtWorks 2011 10
Frequently (Weekly) Showcase © ThoughtWorks 2011 Here is what we learned this week....
Frequently (Weekly) Showcase © ThoughtWorks 2011 And based on this... We changed our directory structure.
Frequently (Weekly) Showcase © ThoughtWorks 2011 Should we do something different knowing this new information?
List of All Secret Weapons Make Performance Explicit One Team Customer Driven Discipline Play Performance Early Iterate Don't (Just) Increment Automate, Automate, Automate  Test Drive Your Performance Code Continuous Performance Testing Get Feedback © ThoughtWorks 2011
Photo Credits (Creative Commons licence) Barbed wire picture: http://www.flickr.com/photos/lapideo/446201948/ Eternal clock: http://www.flickr.com/photos/robbie73/3387189144/ Sashimi from http://www.flickr.com/photos/mac-ash/3719114621/ Questions © ThoughtWorks 2011

Contenu connexe

Tendances

System Availability Talk
System Availability TalkSystem Availability Talk
System Availability Talkm_richardson
 
IoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayIoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayMark Heckler
 
Agile Testing
Agile Testing Agile Testing
Agile Testing VersionOne
 
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”VersionOne
 
The 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesThe 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesGoDataDriven
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessSOASTA
 
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...Vincent Biret
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsSTePINForum
 
Geek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerGeek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerIDERA Software
 
Jeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackJeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackWinOps Conf
 
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleAtlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleOptimizely
 
AB Testing at Expedia
AB Testing at ExpediaAB Testing at Expedia
AB Testing at ExpediaPaul Lucas
 
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksGeek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksIDERA Software
 
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerObject-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerDevOpsDays Tel Aviv
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testingCesario Ramos
 
State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015Pavel Chunyayev
 
THE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELTHE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELDevOpsDays Tel Aviv
 

Tendances (19)

System Availability Talk
System Availability TalkSystem Availability Talk
System Availability Talk
 
IoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayIoT to Cloud the DevOps Way
IoT to Cloud the DevOps Way
 
Agile Testing
Agile Testing Agile Testing
Agile Testing
 
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
 
The 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesThe 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven Companies
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
 
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
 
Geek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerGeek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL Server
 
Jeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackJeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure Stack
 
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleAtlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
 
AB Testing at Expedia
AB Testing at ExpediaAB Testing at Expedia
AB Testing at Expedia
 
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksGeek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
 
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerObject-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
 
Dev ops
Dev opsDev ops
Dev ops
 
Open Source SLAs
Open Source SLAsOpen Source SLAs
Open Source SLAs
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
 
State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015
 
THE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELTHE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABEL
 

En vedette

Character name ideas
Character name ideasCharacter name ideas
Character name ideassimsimma
 
Swiss Hockey League
Swiss Hockey LeagueSwiss Hockey League
Swiss Hockey Leaguedewinterm
 
Вода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бВода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бmariageograf
 
Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Pedro Jose Cutillas Perez
 
Imaging Presentation_V2
Imaging Presentation_V2 Imaging Presentation_V2
Imaging Presentation_V2 Dan Ptak
 
Arcanum (online round)
Arcanum (online round)Arcanum (online round)
Arcanum (online round)Case Champ
 

En vedette (7)

Character name ideas
Character name ideasCharacter name ideas
Character name ideas
 
B. Morlion - Introduction
B. Morlion - IntroductionB. Morlion - Introduction
B. Morlion - Introduction
 
Swiss Hockey League
Swiss Hockey LeagueSwiss Hockey League
Swiss Hockey League
 
Вода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бВода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 б
 
Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3
 
Imaging Presentation_V2
Imaging Presentation_V2 Imaging Presentation_V2
Imaging Presentation_V2
 
Arcanum (online round)
Arcanum (online round)Arcanum (online round)
Arcanum (online round)
 

Similaire à Top ten secret weapons for performance testing in an agile environment

Top Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingTop Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingAndriy Melnyk
 
Axpert™ from Agile Labs, Bangalore, India
Axpert™  from Agile Labs, Bangalore, IndiaAxpert™  from Agile Labs, Bangalore, India
Axpert™ from Agile Labs, Bangalore, IndiaAGILE LABS,INDIA
 
Agile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiAgile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiHiren Doshi
 
How Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamHow Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamSalesforce Developers
 
Auto Deploy Product Guide
Auto Deploy Product GuideAuto Deploy Product Guide
Auto Deploy Product GuideMark Dalton
 
Delivering A Great End User Experience
Delivering A Great End User ExperienceDelivering A Great End User Experience
Delivering A Great End User ExperienceTrevor Warren
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013RightScale
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal Technology Solutions
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Naresh Jain
 
DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?Michael Elder
 
How to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeHow to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeOriginal Software
 
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
 
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
 
MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MizuhoHoshino
 
The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7eG Innovations
 
Become Customer Centric with EngageOne
Become Customer Centric with EngageOneBecome Customer Centric with EngageOne
Become Customer Centric with EngageOnePrecisely
 
Mobile and agile the floating writer's survival kit
Mobile and agile   the floating writer's survival kitMobile and agile   the floating writer's survival kit
Mobile and agile the floating writer's survival kitAlyssa Fox
 
Enate Pilot
Enate PilotEnate Pilot
Enate PilotJen Shaw
 

Similaire à Top ten secret weapons for performance testing in an agile environment (20)

Top Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingTop Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance Testing
 
Axpert™ from Agile Labs, Bangalore, India
Axpert™  from Agile Labs, Bangalore, IndiaAxpert™  from Agile Labs, Bangalore, India
Axpert™ from Agile Labs, Bangalore, India
 
Agile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiAgile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, Mumbai
 
How Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamHow Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering Team
 
Auto Deploy Product Guide
Auto Deploy Product GuideAuto Deploy Product Guide
Auto Deploy Product Guide
 
Delivering A Great End User Experience
Delivering A Great End User ExperienceDelivering A Great End User Experience
Delivering A Great End User Experience
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas
 
DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?
 
How to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeHow to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 Upgrade
 
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
 
Tw specifications for-testing1
Tw specifications for-testing1Tw specifications for-testing1
Tw specifications for-testing1
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
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
 
MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8
 
The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7
 
Become Customer Centric with EngageOne
Become Customer Centric with EngageOneBecome Customer Centric with EngageOne
Become Customer Centric with EngageOne
 
Mobile and agile the floating writer's survival kit
Mobile and agile   the floating writer's survival kitMobile and agile   the floating writer's survival kit
Mobile and agile the floating writer's survival kit
 
Enate Pilot
Enate PilotEnate Pilot
Enate Pilot
 

Dernier

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
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
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
[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
 

Dernier (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
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...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
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...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[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
 

Top ten secret weapons for performance testing in an agile environment

  • 1. Top ten secret weapons for performance testing in an agile environment patrick.kua@thoughtworks.com (and alistair.jones@thoughtworks.com) © ThoughtWorks 2011
  • 2. Make Performance Explicit © ThoughtWorks 2011 1
  • 3. So that I can make better investment decisions As an investor I want to see the value of my portfolio presented on a single web page must have “good” performance, less than 0.2s page load for about 10,000 concurrent users © ThoughtWorks 2011
  • 4. © ThoughtWorks 2011 So that investors have a high-quality experience as the business grows As the Operations Manager I want the portfolio value page to render within 0.2s when 10,000 users are logged in
  • 5. One Team © ThoughtWorks 2011 2
  • 6. Team Dynamics © ThoughtWorks 2011
  • 7. Performance Testers Part of Team © ThoughtWorks 2011
  • 9. Performance Testers Part of Team © ThoughtWorks 2011
  • 10. Pair on Performance Test Stories © ThoughtWorks 2011
  • 11. Rotate Pairs © ThoughtWorks 2011
  • 12. Customer Driven © ThoughtWorks 2011 3
  • 13. What was a good source of requirements? © ThoughtWorks 2011
  • 14. © ThoughtWorks 2011 Existing Pain Points
  • 15. An example... © ThoughtWorks 2011
  • 16. So that we can budget for future hardware needs as we grow As the data centre manager I want to know how much traffic we can handle now © ThoughtWorks 2011
  • 17. Another example © ThoughtWorks 2011
  • 18. © ThoughtWorks 2011 So that we have confidence in meeting our SLA As the Operations Manager I want to ensure that a sustained peak load does not take out our service
  • 20. Who is the customer? © ThoughtWorks 2011 Investors Marketing End Users Power Users Operations
  • 22. © ThoughtWorks 2011 Observe test results What do you see? Formulate an hypothesis Why is it doing that? Design an experiment How can I prove that’s what’s happening? Run the experiment Take the time to gather the evidence. Is the hypothesis valid? Change the application code Safe in the knowledge that I’m making it faster
  • 24. © ThoughtWorks 2011 Observe test results Saw tooth pattern (1 minute intervals) Formulate an hypothesis Directory structure of (yyyy/mm/minuteofday)?. Slow down due to # of files in directory? Design an experiment 1 directory should result in even worse performance... Run the experiment We ran the test… Is the hypothesis valid? Change the application code
  • 25. One Directory © ThoughtWorks 2011
  • 26. Play Performance Early © ThoughtWorks 2011 5
  • 27. © ThoughtWorks 2011 End Start Other projects start performance testing here End Start Agile projects start performance testing as early as possible
  • 28. Iterate Don’t (Just) Increment © ThoughtWorks 2011 6
  • 30. We Sashimi © ThoughtWorks 2011
  • 31. Sashimi Slice By... Presentation © ThoughtWorks 2011
  • 32. © ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of requests per second
  • 33. © ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of average latency per second
  • 34. © ThoughtWorks 2011 So that I can easily scan results at a single glance As the Operations Manager I want a one page showing all results
  • 35. Sashimi Slice By... Scenario © ThoughtWorks 2011
  • 36. © ThoughtWorks 2011 So that we never have a day like “October 10” As the Operations Manager I want to ensure that a sustained peak load does not take out our service
  • 37. © ThoughtWorks 2011 So that we never have a day like “November 12” As the Operations Manager I want to ensure that an escalating load up to xxx requests/second does not take out our service
  • 38. Automate, Automate, Automate © ThoughtWorks 2011 7
  • 39. © ThoughtWorks 2011 Automated Compilation Automated Tests Automated Packaging Automated Deployment
  • 40. Automation => Reproducible and Consistent Automation => Faster Feedback Automation => Higher Productivity Why Automation? © ThoughtWorks 2011
  • 41. © ThoughtWorks 2011 Automated Test Orchestration Automated Analysis Automated Scheduling Automated Load Generation Automated Application Deployment Automated Result Archiving
  • 42. Continuous Performance Testing © ThoughtWorks 2011 8
  • 44. Application Build Pipelines © ThoughtWorks 2011 Performance
  • 46. Test Drive Your Performance Test Code © ThoughtWorks 2011 9
  • 47. V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
  • 48. We make mistakes © ThoughtWorks 2011
  • 49. V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Unit test performance code to fail faster Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
  • 50. Fail Fast! © ThoughtWorks 2011 Fast feedback! Faster learning Faster results
  • 51. Classic Performance Areas to Test © ThoughtWorks 2011 Analysis Information Collection Presentation Publishing Visualisation
  • 52. Get Feedback © ThoughtWorks 2011 10
  • 53. Frequently (Weekly) Showcase © ThoughtWorks 2011 Here is what we learned this week....
  • 54. Frequently (Weekly) Showcase © ThoughtWorks 2011 And based on this... We changed our directory structure.
  • 55. Frequently (Weekly) Showcase © ThoughtWorks 2011 Should we do something different knowing this new information?
  • 56. List of All Secret Weapons Make Performance Explicit One Team Customer Driven Discipline Play Performance Early Iterate Don't (Just) Increment Automate, Automate, Automate Test Drive Your Performance Code Continuous Performance Testing Get Feedback © ThoughtWorks 2011
  • 57. Photo Credits (Creative Commons licence) Barbed wire picture: http://www.flickr.com/photos/lapideo/446201948/ Eternal clock: http://www.flickr.com/photos/robbie73/3387189144/ Sashimi from http://www.flickr.com/photos/mac-ash/3719114621/ Questions © ThoughtWorks 2011