SlideShare ist ein Scribd-Unternehmen logo
1 von 14
© Copyright GlobalLogic 2011 1
Connect. Collaborate. Innovate.
Performance testing in Agile development.
Automation challenges.
© Copyright GlobalLogic 2011 2
Connect. Collaborate. Innovate.
Performance critical application
Performance critical java enterprise
application
Operating
systems
Application servers Database
servers
9 priority-driven configurations
two performance engineers
© Copyright GlobalLogic 2011 3
Connect. Collaborate. Innovate.
Time estimates
5 core load testing scenarios
On average manual execution of a single test takes 4 hours
(setup environment, execute a test, basic results analysis)
Estimated time to complete load testing against 9 configurations:
9 configurations * 5 test scenarios * 4 hours = 180 hours
1+ man-months
two-week sprints?
© Copyright GlobalLogic 2011 4
Connect. Collaborate. Innovate.
Before any work is started
1. Identify Test Environment
2. Identify Performance
Acceptance Criteria
3. Plan and Design Tests
4. Implement Test Design
5. Configure Test Environment
7. Analyze Results, Report,
and Retest
Most time-consuming
activities
Solutions
6. Execute Tests
Core performance testing
activities
More performance engineers ?
Limit the number of tests and
configurations?
Automation ?
© Copyright GlobalLogic 2011 5
Connect. Collaborate. Innovate.
More performance engineers
Cons:
• Noticeably bigger budget of performance testing effort
• Additional activities to manage a team, usually with dedicated
lead/manager
• Staff trainings: methodology, tools
• Time consuming and boring tasks are performed by
performance engineers
• Test LAB investments
• Performance engineer positions are hard to fill
Pros:
• There is no timemoney investment in automation
• More work done in less time
• Can be used when automation is impossible due to product
complexity and architecture limitations
• Can be applicable to a short-term project
© Copyright GlobalLogic 2011 6
Connect. Collaborate. Innovate.
Limit the number of tests and configurations
Pros:
• There is no timemoney investment in automation
• Focus on most commonly used configurations
• There is no need to expand performance testing team
• Can be applicable to short-term project
• Can be used when risk to miss performance issue is
considered and acceptable
Cons:
• There is a high risk to miss environment specific performance
issue which could cause performance problems in production
• Very risky when an application is performance critical
• The approach doesn’t guarantee that a team will have enough
time to investigate problems deeper
• Time-consuming and boring tasks are performed by
performance engineers
© Copyright GlobalLogic 2011 7
Connect. Collaborate. Innovate.
Automation
Pros:
• Automated performance tests 24X7
• Continuous integration process
• Concurrent performance tests
• Early warning of performance bottleneck or performance
issue
• Performance testing with a small team
• More time for results analysis and investigations
• There is no need to expand a performance team
• Profitable for long running, performance critical projects
• Reusable by any person in a team
Cons:
• Timemoney investment to build automation
• Ongoing efforts to keep automation in a good state
• Usually not applicable for short-term projects
• Test LAB investments
• Commercial tools are expensive
© Copyright GlobalLogic 2011 8
Connect. Collaborate. Innovate.
Principles of performance testing in Agile
Make performance explicit
• Make it an explicit requirement upfront and throughout the process (non-functional
requirements can be dotted onto the corner of the story card for a functional
requirement)
Performance testing is a part of continuos integration process:
• Automated compilation
• Automated packaging
• Automated deployment
• Automated configuration
• Automated tests execution
• Automated analysis
• Automated result archiving - can check raw output if discover issues later
• Automated scheduling. Overnight runs.
Use concurrent performance testing
Iterate and increment
Get feedback
© Copyright GlobalLogic 2011 9
Connect. Collaborate. Innovate.
Ant, Jmeter, Scalable Vector Graphics case study
© Copyright GlobalLogic 2011 10
Connect. Collaborate. Innovate.
TeamCity
© Copyright GlobalLogic 2011 11
Connect. Collaborate. Innovate.
Sample SVG Report
© Copyright GlobalLogic 2011 12
Connect. Collaborate. Innovate.
Concurrent performance testing
© Copyright GlobalLogic 2011 13
Connect. Collaborate. Innovate.
Conclusion
Input data
• 9 priority-driven configurations
• 2 performance engineers
• Two-week sprints
Completed activities:
• Performance testing process was automated (automatic application deployment,
tests execution, results analysis)
• Test LAB upgraded to support 4 concurrent performance testing executions against
isolated servers (25 servers in the LAB)
Statistics
• 3 months spent on building Jmeter based automated performance testing
• Automated deployment and configuration process is ~25% faster than manual
• Performance testing cycle takes ~4 days (instead of 1+ man-months estimated)
• 50% of time: results analysis, troubleshooting
• 10% of time: keep automation in a good state
• 40% of time: new tests development, exploratory testing, cluster tests
• 17 performance issues were found
• Performance testing reports are iteratively used by PM’s to assess quality of the
product
• PMs are happy 
© Copyright GlobalLogic 2011 14
Connect. Collaborate. Innovate.
Q&A
Thank you
skype: andreymelnyk

Weitere ähnliche Inhalte

Was ist angesagt?

Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo IuliiaTest Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Yulia Zavertailo
 

Was ist angesagt? (20)

Shift left shift-right performance testing for superior end-user by Arun Dutta
Shift left shift-right performance testing for superior end-user by Arun DuttaShift left shift-right performance testing for superior end-user by Arun Dutta
Shift left shift-right performance testing for superior end-user by Arun Dutta
 
Shift left - find defects earlier through automated test and deployment
Shift left - find defects earlier through automated test and deploymentShift left - find defects earlier through automated test and deployment
Shift left - find defects earlier through automated test and deployment
 
Shift Left - Approach and practices with IBM
Shift Left - Approach and practices with IBMShift Left - Approach and practices with IBM
Shift Left - Approach and practices with IBM
 
Pooja shift left 1.0
Pooja shift left 1.0Pooja shift left 1.0
Pooja shift left 1.0
 
A paradigm shift for testing - how to increase productivity 10x!
A paradigm shift for testing - how to increase productivity 10x!A paradigm shift for testing - how to increase productivity 10x!
A paradigm shift for testing - how to increase productivity 10x!
 
Performance Testing in the Agile Lifecycle
Performance Testing in the Agile LifecyclePerformance Testing in the Agile Lifecycle
Performance Testing in the Agile Lifecycle
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Agile Test Automation
Agile Test AutomationAgile Test Automation
Agile Test Automation
 
qTest 7.4: New Features
qTest 7.4: New FeaturesqTest 7.4: New Features
qTest 7.4: New Features
 
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo IuliiaTest Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
 
Performance Testing in Agile and DevOps Environments
Performance Testing in Agile and DevOps EnvironmentsPerformance Testing in Agile and DevOps Environments
Performance Testing in Agile and DevOps Environments
 
Test Case Prioritization Techniques
Test Case Prioritization TechniquesTest Case Prioritization Techniques
Test Case Prioritization Techniques
 
Test Automation is for Everyone
Test Automation is for EveryoneTest Automation is for Everyone
Test Automation is for Everyone
 
The Three Pillars Approach to Your Agile Test Strategy
The Three Pillars Approach to Your Agile Test Strategy The Three Pillars Approach to Your Agile Test Strategy
The Three Pillars Approach to Your Agile Test Strategy
 
Agile Load Testing in the Real World
Agile Load Testing in the Real WorldAgile Load Testing in the Real World
Agile Load Testing in the Real World
 
Continuous Performance Testing: Myths and Realities
Continuous Performance Testing: Myths and RealitiesContinuous Performance Testing: Myths and Realities
Continuous Performance Testing: Myths and Realities
 
QTest
QTest QTest
QTest
 
Shift Left Quality Assurance: How to do it. Why it matters.
Shift Left Quality Assurance: How to do it. Why it matters.Shift Left Quality Assurance: How to do it. Why it matters.
Shift Left Quality Assurance: How to do it. Why it matters.
 
Shift_Left
Shift_LeftShift_Left
Shift_Left
 
Shift Left Mobile Application Testing
Shift Left Mobile Application TestingShift Left Mobile Application Testing
Shift Left Mobile Application Testing
 

Ähnlich wie Agile performance testing

No Test without Integration - final
No Test without Integration - finalNo Test without Integration - final
No Test without Integration - final
Andre Verschelling
 
Презентация
ПрезентацияПрезентация
Презентация
guest22d71d
 

Ähnlich wie Agile performance testing (20)

Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application Server
 
7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation
 
No Test without Integration - final
No Test without Integration - finalNo Test without Integration - final
No Test without Integration - final
 
Testlink Test Management with Teamforge
Testlink Test Management with TeamforgeTestlink Test Management with Teamforge
Testlink Test Management with Teamforge
 
QA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationQA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integration
 
AgileTesting_Ver1.0
AgileTesting_Ver1.0AgileTesting_Ver1.0
AgileTesting_Ver1.0
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
 
Automated Testing Tutorial
Automated Testing TutorialAutomated Testing Tutorial
Automated Testing Tutorial
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perf
 
Meet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale ProjectsMeet Big Agile: Testing on Large-Scale Projects
Meet Big Agile: Testing on Large-Scale Projects
 
Software Test Automation
Software Test AutomationSoftware Test Automation
Software Test Automation
 
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
John Fodeh - Adventures in Test Automation-Breaking the Boundaries of Regress...
 
John Fodeh Adventures in Test Automation - EuroSTAR 2013
John Fodeh Adventures in Test Automation - EuroSTAR 2013John Fodeh Adventures in Test Automation - EuroSTAR 2013
John Fodeh Adventures in Test Automation - EuroSTAR 2013
 
Презентация
ПрезентацияПрезентация
Презентация
 
7 steps to Software test automation success
7 steps to Software test automation success7 steps to Software test automation success
7 steps to Software test automation success
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Solano Labs presented at MassTLC's automated testing
Solano Labs presented at MassTLC's automated testingSolano Labs presented at MassTLC's automated testing
Solano Labs presented at MassTLC's automated testing
 
The QA/Testing Process
The QA/Testing ProcessThe QA/Testing Process
The QA/Testing Process
 
AiTi Education Software Testing Session 02 a
AiTi Education Software Testing Session 02 aAiTi Education Software Testing Session 02 a
AiTi Education Software Testing Session 02 a
 
Resume
ResumeResume
Resume
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 

Agile performance testing

  • 1. © Copyright GlobalLogic 2011 1 Connect. Collaborate. Innovate. Performance testing in Agile development. Automation challenges.
  • 2. © Copyright GlobalLogic 2011 2 Connect. Collaborate. Innovate. Performance critical application Performance critical java enterprise application Operating systems Application servers Database servers 9 priority-driven configurations two performance engineers
  • 3. © Copyright GlobalLogic 2011 3 Connect. Collaborate. Innovate. Time estimates 5 core load testing scenarios On average manual execution of a single test takes 4 hours (setup environment, execute a test, basic results analysis) Estimated time to complete load testing against 9 configurations: 9 configurations * 5 test scenarios * 4 hours = 180 hours 1+ man-months two-week sprints?
  • 4. © Copyright GlobalLogic 2011 4 Connect. Collaborate. Innovate. Before any work is started 1. Identify Test Environment 2. Identify Performance Acceptance Criteria 3. Plan and Design Tests 4. Implement Test Design 5. Configure Test Environment 7. Analyze Results, Report, and Retest Most time-consuming activities Solutions 6. Execute Tests Core performance testing activities More performance engineers ? Limit the number of tests and configurations? Automation ?
  • 5. © Copyright GlobalLogic 2011 5 Connect. Collaborate. Innovate. More performance engineers Cons: • Noticeably bigger budget of performance testing effort • Additional activities to manage a team, usually with dedicated lead/manager • Staff trainings: methodology, tools • Time consuming and boring tasks are performed by performance engineers • Test LAB investments • Performance engineer positions are hard to fill Pros: • There is no timemoney investment in automation • More work done in less time • Can be used when automation is impossible due to product complexity and architecture limitations • Can be applicable to a short-term project
  • 6. © Copyright GlobalLogic 2011 6 Connect. Collaborate. Innovate. Limit the number of tests and configurations Pros: • There is no timemoney investment in automation • Focus on most commonly used configurations • There is no need to expand performance testing team • Can be applicable to short-term project • Can be used when risk to miss performance issue is considered and acceptable Cons: • There is a high risk to miss environment specific performance issue which could cause performance problems in production • Very risky when an application is performance critical • The approach doesn’t guarantee that a team will have enough time to investigate problems deeper • Time-consuming and boring tasks are performed by performance engineers
  • 7. © Copyright GlobalLogic 2011 7 Connect. Collaborate. Innovate. Automation Pros: • Automated performance tests 24X7 • Continuous integration process • Concurrent performance tests • Early warning of performance bottleneck or performance issue • Performance testing with a small team • More time for results analysis and investigations • There is no need to expand a performance team • Profitable for long running, performance critical projects • Reusable by any person in a team Cons: • Timemoney investment to build automation • Ongoing efforts to keep automation in a good state • Usually not applicable for short-term projects • Test LAB investments • Commercial tools are expensive
  • 8. © Copyright GlobalLogic 2011 8 Connect. Collaborate. Innovate. Principles of performance testing in Agile Make performance explicit • Make it an explicit requirement upfront and throughout the process (non-functional requirements can be dotted onto the corner of the story card for a functional requirement) Performance testing is a part of continuos integration process: • Automated compilation • Automated packaging • Automated deployment • Automated configuration • Automated tests execution • Automated analysis • Automated result archiving - can check raw output if discover issues later • Automated scheduling. Overnight runs. Use concurrent performance testing Iterate and increment Get feedback
  • 9. © Copyright GlobalLogic 2011 9 Connect. Collaborate. Innovate. Ant, Jmeter, Scalable Vector Graphics case study
  • 10. © Copyright GlobalLogic 2011 10 Connect. Collaborate. Innovate. TeamCity
  • 11. © Copyright GlobalLogic 2011 11 Connect. Collaborate. Innovate. Sample SVG Report
  • 12. © Copyright GlobalLogic 2011 12 Connect. Collaborate. Innovate. Concurrent performance testing
  • 13. © Copyright GlobalLogic 2011 13 Connect. Collaborate. Innovate. Conclusion Input data • 9 priority-driven configurations • 2 performance engineers • Two-week sprints Completed activities: • Performance testing process was automated (automatic application deployment, tests execution, results analysis) • Test LAB upgraded to support 4 concurrent performance testing executions against isolated servers (25 servers in the LAB) Statistics • 3 months spent on building Jmeter based automated performance testing • Automated deployment and configuration process is ~25% faster than manual • Performance testing cycle takes ~4 days (instead of 1+ man-months estimated) • 50% of time: results analysis, troubleshooting • 10% of time: keep automation in a good state • 40% of time: new tests development, exploratory testing, cluster tests • 17 performance issues were found • Performance testing reports are iteratively used by PM’s to assess quality of the product • PMs are happy 
  • 14. © Copyright GlobalLogic 2011 14 Connect. Collaborate. Innovate. Q&A Thank you skype: andreymelnyk