SlideShare una empresa de Scribd logo
1 de 23
Continuous Performance
TestingMikhail Klokov, QA Technical Director
17/11/17
2
Agenda
 Section 1: Introduction to CPT
 Section 2: CPT solution
 Section 2: Jagger CPT Solution
 Section 4: Customer Success Story
3
Why performance testing?
 2012: Research showed that Amazon would lose $1.6 billion in sales every year if
its site took one more second to load.
 2013: 39% of e-retailers claimed they lost money last year due to performance or
stability problems.
 2014: The web performance monitoring company Catchpoint Systems looked at
aggregate performance on Black Friday and compared it to the same timeframe in
2013.The results are notable: desktop web pages were 19.85 percent slower, while
mobile web pages were a whopping 57.21 percent slower.
 2015: Some major e-retailers’ sites buckled under the pressure of heavy holiday
traffic during 2015’s Cyber Monday peak traffic times.
4
Introduction to CPT
5
Performance only as sign off
Commit
Build
Unit
Smoke
Regression
Integration
Release deployment
Performance tests and sign off
Security sign off
UAT sign off
Functional E2E
Release Candidate
6
Performance impact of each change
Add new
feature
Functionality
check
Performance
impact
7
Principles
 Divide and conquer: stage your test execution
 One throat to choke: target APIs for all testing goals
 Keep your eyes on the prize: get your risks and KPIs right
 Automate everything: one-click automation must be end-to-end
 Analyze this: discover, visualize and deliver performance insights
 Retain all results: value of data grows over time
8
Include performance tests to CI loop
Commit
Build
Unit
Smoke
Perf SmokeRegression
Perf
Regression
Integration
Perf E2E
Release deployment
Performance sign off
Security sign off
UAT sign off
Functional E2E
Release Candidate
9
CPT goals
 Certify that the application meets performance targets.
 Plan capacity and manage growth.
 Track useful performance metrics.
 Identify load-related weaknesses and track SLA break points.
10
CPT Solution
11
Solution parts
CPT PLATFORM
 Create test loads for our SUT (System Under Test)
 Collect metrics and store the results
 Provide an analytics and visualization engine
 Integrate with the CI/CD pipeline
TEST DATA MANAGEMENT
 Generate data based on existing subsets
 Always use fresh test data
 Compare test results on test data and production
 Mask any sensitive test data
ENVIRONMENT MANAGEMENT
 Cloud
 Provisioning on demand
 Automated configuration
 Automated deployment
12
CPT framework requirement
 Load
 Generation different types of load (TPS,
RPS, etc.)
 Distributed load
 Complex user scenarios for load
 Visualization
 Summary of test results
 Detailed view during test run
 Comparison of test runs and building
trends
 Metric
 Standard performance metrics (response
time, throughput, etc)
 System and JVM metrics (CPU, memory,
disk, network, etc)
 Custom metrics (specific for SUT)
 Results of validators (functional
verification of the SUT responses)
 Integration with CI platforms
13
Jagger
Grid Dynamics’ CPT platform
14
Bird’s Eye View on Jagger
15
Automation Decision Making
 Baseline build is established as a reference point
 New build results are compared with baseline
 Results analysis:
Pass when value is in range (Lower Warning Threshold *ref .. Upper Warning Threshold*ref)
Warning when value is in range (Lower Error Threshold*ref .. Lower Warning Threshold*ref) OR
(Upper Warning Threshold*ref .. Upper Error
Threshold*ref)
Error when value is less than Lower Error Threshold*ref OR is greater than Upper Error Threshold*ref
16
Summary view
17
Trends between different test sessions
18
Detailed report: Parameters during test execution
19
Jagger specifications
 General
Performance test in Jagger – Java project
To develop test, some basic knowledge in programming is required
Simple tests can be implemented just by XML editing
 How to start
Download and start test project example: Jagger Getting Started
20
Customer Success Story
21
CPT: Search and Browse for large eCommerce site
21
Challenges for delivery from
testing perspective Solution overview
Continuous performance testing platform
 Jagger based performance testing platform with load
generation and full performance and JVM metrics
collection, automated trend analysis.
 Evaluated SLA and critical metrics for all part our SUT
(System Under Test) and automatically decision making
based on them
 Jagger WebUI for analytics and visualization. Compare
test and session results, build trend, monitoring parameters
during test.
 Integrate with the CI/CD pipeline
Continuous delivery platform
 Jenkins based multi-stage testing pipelines
 Cloud based deployment and configuration of all artifacts
 Daily deployment into UAT environments
 Bi-weekly deployment to production
 Search engine has very flexible
configuration
 Complex business requirements
 Platform consists of many collaborating
services, including NoSQL database, SQL
database, clustered search engine, two
clustered services
 Strict Non-functional and performance
requirement
Results
 Reduce time for investigation of
performance issues from weeks to 1-2
days
 No critical or major performance defects
in production in 3 years
 1-2 performance issues/year discovered
in pre-release performance certification
22
Thank you!
Mikhail Klokov: mklokov@griddynamics.com
Grid Dynamics blog: blog.griddynamics.com
Follow up on twitter: @griddynamics
Jagger: jagger.griddynamics.net
We are hiring!
griddynamics.com/careers
Privileged and confidential
www.griddynamics.com
About Grid Dynamics
Founded in 2006, Grid Dynamics is an engineering services company built on
the premise that cloud computing is disruptive within the enterprise technology
landscape. Since that time, we’ve had the privilege to help companies like
Microsoft, eBay, PayPal, Cisco, Macy’s, Yahoo, ING, Bank of America, Kohl's,
among others, to re-architect their core mission-critical systems, develop new
cloud services, accelerate innovation cycles, increase software quality, and
automate application management.
Grid Dynamics has multiple locations in the USA and Europe, and employs over
700 expert engineers worldwide.

Más contenido relacionado

La actualidad más candente

Test Automation and Continuous Integration
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration
TestCampRO
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
VijayChowthri Nagaprakasham
 

La actualidad más candente (20)

B4usolution performance testing
B4usolution performance testingB4usolution performance testing
B4usolution performance testing
 
Jenkins as the Test Reporting Framework
Jenkins as the Test Reporting FrameworkJenkins as the Test Reporting Framework
Jenkins as the Test Reporting Framework
 
Test Automation and Continuous Integration
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration
 
Build Your Custom Performance Testing Framework
Build Your Custom Performance Testing FrameworkBuild Your Custom Performance Testing Framework
Build Your Custom Performance Testing Framework
 
WiKi Based Automation Testing: Fitness & DevOps
WiKi Based Automation Testing: Fitness & DevOpsWiKi Based Automation Testing: Fitness & DevOps
WiKi Based Automation Testing: Fitness & DevOps
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
Automation Testing Approach for Responsive Web Design
Automation Testing Approach for Responsive Web DesignAutomation Testing Approach for Responsive Web Design
Automation Testing Approach for Responsive Web Design
 
Qa process
Qa processQa process
Qa process
 
Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
ATAGTR2017 Differentiation using Testing Tools and Automation in the BFS COTS...
ATAGTR2017 Differentiation using Testing Tools and Automation in the BFS COTS...ATAGTR2017 Differentiation using Testing Tools and Automation in the BFS COTS...
ATAGTR2017 Differentiation using Testing Tools and Automation in the BFS COTS...
 
QTest
QTest QTest
QTest
 
Test automation process
Test automation processTest automation process
Test automation process
 
Create an architecture for web test automation
Create an architecture for web test automationCreate an architecture for web test automation
Create an architecture for web test automation
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
 
Putting Quality First through Continuous Testing
Putting Quality First through Continuous TestingPutting Quality First through Continuous Testing
Putting Quality First through Continuous Testing
 
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
 
Team Foundation Server 2010 - Overview
Team Foundation Server 2010 - OverviewTeam Foundation Server 2010 - Overview
Team Foundation Server 2010 - Overview
 

Similar a Continuous performance testing

Saving resources with simulation webinar 092011
Saving resources with simulation webinar 092011Saving resources with simulation webinar 092011
Saving resources with simulation webinar 092011
Scott Althouse
 
Lean for Competitive Advantage and Customer Delight
Lean for Competitive Advantage and Customer DelightLean for Competitive Advantage and Customer Delight
Lean for Competitive Advantage and Customer Delight
Lean India Summit
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
Future Simmons
 
Software Project Management - NESDEV
Software Project Management - NESDEVSoftware Project Management - NESDEV
Software Project Management - NESDEV
Krit Kamtuo
 

Similar a Continuous performance testing (20)

Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Neotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga Moorthy
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
 
DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017
 
Continuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and JenkinsContinuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and Jenkins
 
Performance Engineering Basics
Performance Engineering BasicsPerformance Engineering Basics
Performance Engineering Basics
 
Saving resources with simulation webinar 092011
Saving resources with simulation webinar 092011Saving resources with simulation webinar 092011
Saving resources with simulation webinar 092011
 
Amq Overview Continuous Quality Assurance
Amq Overview Continuous Quality AssuranceAmq Overview Continuous Quality Assurance
Amq Overview Continuous Quality Assurance
 
Shuvam dutta
Shuvam duttaShuvam dutta
Shuvam dutta
 
Shuvam dutta | Performance tester
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance tester
 
Keyword Driven Automation
Keyword Driven AutomationKeyword Driven Automation
Keyword Driven Automation
 
Lean for Competitive Advantage and Customer Delight
Lean for Competitive Advantage and Customer DelightLean for Competitive Advantage and Customer Delight
Lean for Competitive Advantage and Customer Delight
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
 
SV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptxSV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptx
 
Shuvam Dutta | Performance analyst
Shuvam Dutta | Performance analystShuvam Dutta | Performance analyst
Shuvam Dutta | Performance analyst
 
Software Project Management - NESDEV
Software Project Management - NESDEVSoftware Project Management - NESDEV
Software Project Management - NESDEV
 
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ...
 
Continuous Delivery of a Cloud Deployment at a Large Telecommunications Provider
Continuous Delivery of a Cloud Deployment at a Large Telecommunications ProviderContinuous Delivery of a Cloud Deployment at a Large Telecommunications Provider
Continuous Delivery of a Cloud Deployment at a Large Telecommunications Provider
 

Más de SQALab

Más de SQALab (20)

Готовим стажировку
Готовим стажировкуГотовим стажировку
Готовим стажировку
 
Куда приводят мечты? или Искусство развития тестировщика
Куда приводят мечты? или Искусство развития тестировщикаКуда приводят мечты? или Искусство развития тестировщика
Куда приводят мечты? или Искусство развития тестировщика
 
Оптимизация Selenium тестов и ускорение их поддержки
Оптимизация Selenium тестов и ускорение их поддержкиОптимизация Selenium тестов и ускорение их поддержки
Оптимизация Selenium тестов и ускорение их поддержки
 
Автоматизация 0.0: 0 - бюджет, 0 - опыт программирования
Автоматизация 0.0: 0 - бюджет, 0 - опыт программированияАвтоматизация 0.0: 0 - бюджет, 0 - опыт программирования
Автоматизация 0.0: 0 - бюджет, 0 - опыт программирования
 
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
 
Конфиги вместо костылей. Pytestconfig и зачем он нужен
Конфиги вместо костылей. Pytestconfig и зачем он нуженКонфиги вместо костылей. Pytestconfig и зачем он нужен
Конфиги вместо костылей. Pytestconfig и зачем он нужен
 
Команда чемпионов в ИТ стихии
Команда чемпионов в ИТ стихииКоманда чемпионов в ИТ стихии
Команда чемпионов в ИТ стихии
 
API. Серебряная пуля в магазине советов
API. Серебряная пуля в магазине советовAPI. Серебряная пуля в магазине советов
API. Серебряная пуля в магазине советов
 
Добиваемся эффективности каждого из 9000+ UI-тестов
Добиваемся эффективности каждого из 9000+ UI-тестовДобиваемся эффективности каждого из 9000+ UI-тестов
Добиваемся эффективности каждого из 9000+ UI-тестов
 
Делаем автоматизацию проектных KPIs
Делаем автоматизацию проектных KPIsДелаем автоматизацию проектных KPIs
Делаем автоматизацию проектных KPIs
 
Вредные привычки в тест-менеджменте
Вредные привычки в тест-менеджментеВредные привычки в тест-менеджменте
Вредные привычки в тест-менеджменте
 
Как hh.ru дошли до 500 релизов в квартал без потери в качестве
Как hh.ru дошли до 500 релизов в квартал без потери в качествеКак hh.ru дошли до 500 релизов в квартал без потери в качестве
Как hh.ru дошли до 500 релизов в квартал без потери в качестве
 
Стили лидерства и тестирование
Стили лидерства и тестированиеСтили лидерства и тестирование
Стили лидерства и тестирование
 
"Давайте не будем про качество"
"Давайте не будем про качество""Давайте не будем про качество"
"Давайте не будем про качество"
 
Apache.JMeter для .NET-проектов
Apache.JMeter для .NET-проектовApache.JMeter для .NET-проектов
Apache.JMeter для .NET-проектов
 
Тестирование геолокационных систем
Тестирование геолокационных системТестирование геолокационных систем
Тестирование геолокационных систем
 
Лидер или босс? Вот в чем вопрос
Лидер или босс? Вот в чем вопросЛидер или босс? Вот в чем вопрос
Лидер или босс? Вот в чем вопрос
 
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...
 
Истинная сила тестировщика - информация
Истинная сила тестировщика - информацияИстинная сила тестировщика - информация
Истинная сила тестировщика - информация
 
Автоматизация тестирования встроенного ПО
Автоматизация тестирования встроенного ПОАвтоматизация тестирования встроенного ПО
Автоматизация тестирования встроенного ПО
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

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.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
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
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 

Continuous performance testing

  • 1. Continuous Performance TestingMikhail Klokov, QA Technical Director 17/11/17
  • 2. 2 Agenda  Section 1: Introduction to CPT  Section 2: CPT solution  Section 2: Jagger CPT Solution  Section 4: Customer Success Story
  • 3. 3 Why performance testing?  2012: Research showed that Amazon would lose $1.6 billion in sales every year if its site took one more second to load.  2013: 39% of e-retailers claimed they lost money last year due to performance or stability problems.  2014: The web performance monitoring company Catchpoint Systems looked at aggregate performance on Black Friday and compared it to the same timeframe in 2013.The results are notable: desktop web pages were 19.85 percent slower, while mobile web pages were a whopping 57.21 percent slower.  2015: Some major e-retailers’ sites buckled under the pressure of heavy holiday traffic during 2015’s Cyber Monday peak traffic times.
  • 5. 5 Performance only as sign off Commit Build Unit Smoke Regression Integration Release deployment Performance tests and sign off Security sign off UAT sign off Functional E2E Release Candidate
  • 6. 6 Performance impact of each change Add new feature Functionality check Performance impact
  • 7. 7 Principles  Divide and conquer: stage your test execution  One throat to choke: target APIs for all testing goals  Keep your eyes on the prize: get your risks and KPIs right  Automate everything: one-click automation must be end-to-end  Analyze this: discover, visualize and deliver performance insights  Retain all results: value of data grows over time
  • 8. 8 Include performance tests to CI loop Commit Build Unit Smoke Perf SmokeRegression Perf Regression Integration Perf E2E Release deployment Performance sign off Security sign off UAT sign off Functional E2E Release Candidate
  • 9. 9 CPT goals  Certify that the application meets performance targets.  Plan capacity and manage growth.  Track useful performance metrics.  Identify load-related weaknesses and track SLA break points.
  • 11. 11 Solution parts CPT PLATFORM  Create test loads for our SUT (System Under Test)  Collect metrics and store the results  Provide an analytics and visualization engine  Integrate with the CI/CD pipeline TEST DATA MANAGEMENT  Generate data based on existing subsets  Always use fresh test data  Compare test results on test data and production  Mask any sensitive test data ENVIRONMENT MANAGEMENT  Cloud  Provisioning on demand  Automated configuration  Automated deployment
  • 12. 12 CPT framework requirement  Load  Generation different types of load (TPS, RPS, etc.)  Distributed load  Complex user scenarios for load  Visualization  Summary of test results  Detailed view during test run  Comparison of test runs and building trends  Metric  Standard performance metrics (response time, throughput, etc)  System and JVM metrics (CPU, memory, disk, network, etc)  Custom metrics (specific for SUT)  Results of validators (functional verification of the SUT responses)  Integration with CI platforms
  • 14. 14 Bird’s Eye View on Jagger
  • 15. 15 Automation Decision Making  Baseline build is established as a reference point  New build results are compared with baseline  Results analysis: Pass when value is in range (Lower Warning Threshold *ref .. Upper Warning Threshold*ref) Warning when value is in range (Lower Error Threshold*ref .. Lower Warning Threshold*ref) OR (Upper Warning Threshold*ref .. Upper Error Threshold*ref) Error when value is less than Lower Error Threshold*ref OR is greater than Upper Error Threshold*ref
  • 18. 18 Detailed report: Parameters during test execution
  • 19. 19 Jagger specifications  General Performance test in Jagger – Java project To develop test, some basic knowledge in programming is required Simple tests can be implemented just by XML editing  How to start Download and start test project example: Jagger Getting Started
  • 21. 21 CPT: Search and Browse for large eCommerce site 21 Challenges for delivery from testing perspective Solution overview Continuous performance testing platform  Jagger based performance testing platform with load generation and full performance and JVM metrics collection, automated trend analysis.  Evaluated SLA and critical metrics for all part our SUT (System Under Test) and automatically decision making based on them  Jagger WebUI for analytics and visualization. Compare test and session results, build trend, monitoring parameters during test.  Integrate with the CI/CD pipeline Continuous delivery platform  Jenkins based multi-stage testing pipelines  Cloud based deployment and configuration of all artifacts  Daily deployment into UAT environments  Bi-weekly deployment to production  Search engine has very flexible configuration  Complex business requirements  Platform consists of many collaborating services, including NoSQL database, SQL database, clustered search engine, two clustered services  Strict Non-functional and performance requirement Results  Reduce time for investigation of performance issues from weeks to 1-2 days  No critical or major performance defects in production in 3 years  1-2 performance issues/year discovered in pre-release performance certification
  • 22. 22 Thank you! Mikhail Klokov: mklokov@griddynamics.com Grid Dynamics blog: blog.griddynamics.com Follow up on twitter: @griddynamics Jagger: jagger.griddynamics.net We are hiring! griddynamics.com/careers
  • 23. Privileged and confidential www.griddynamics.com About Grid Dynamics Founded in 2006, Grid Dynamics is an engineering services company built on the premise that cloud computing is disruptive within the enterprise technology landscape. Since that time, we’ve had the privilege to help companies like Microsoft, eBay, PayPal, Cisco, Macy’s, Yahoo, ING, Bank of America, Kohl's, among others, to re-architect their core mission-critical systems, develop new cloud services, accelerate innovation cycles, increase software quality, and automate application management. Grid Dynamics has multiple locations in the USA and Europe, and employs over 700 expert engineers worldwide.