Continuous performance testing

SQALab
SQALabSQALab
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.
1 of 23

Recommended

What does it take to be a performance tester? by
What does it take to be a performance tester?What does it take to be a performance tester?
What does it take to be a performance tester?SQALab
327 views43 slides
Мощь переполняет с JDI 2.0 - новая эра UI автоматизации by
Мощь переполняет с JDI 2.0 - новая эра UI автоматизацииМощь переполняет с JDI 2.0 - новая эра UI автоматизации
Мощь переполняет с JDI 2.0 - новая эра UI автоматизацииSQALab
453 views44 slides
Continuous Performance Testing with Taurus and Jmeter by
Continuous Performance Testing with Taurus and JmeterContinuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and JmeterAgile Testing Alliance
5.8K views10 slides
Demo1ghjkl by
Demo1ghjklDemo1ghjkl
Demo1ghjklcrazyvirtue
183 views42 slides
Silk Performer Presentation v1 by
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
2.8K views122 slides
Test Automation Framework Design | www.idexcel.com by
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comIdexcel Technologies
11.8K views8 slides

More Related Content

What's hot

B4usolution performance testing by
B4usolution performance testingB4usolution performance testing
B4usolution performance testingHoa Le
197 views14 slides
Jenkins as the Test Reporting Framework by
Jenkins as the Test Reporting FrameworkJenkins as the Test Reporting Framework
Jenkins as the Test Reporting FrameworkNitin Sharma
1.9K views24 slides
Test Automation and Continuous Integration by
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration TestCampRO
2K views24 slides
Build Your Custom Performance Testing Framework by
Build Your Custom Performance Testing FrameworkBuild Your Custom Performance Testing Framework
Build Your Custom Performance Testing FrameworkTechWell
2.4K views11 slides
WiKi Based Automation Testing: Fitness & DevOps by
WiKi Based Automation Testing: Fitness & DevOpsWiKi Based Automation Testing: Fitness & DevOps
WiKi Based Automation Testing: Fitness & DevOpsAgile Testing Alliance
3.6K views13 slides
Centralized test automation framework implementation by
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementationBharathi Krishnamurthi
5.8K views33 slides

What's hot(20)

B4usolution performance testing by Hoa Le
B4usolution performance testingB4usolution performance testing
B4usolution performance testing
Hoa Le197 views
Jenkins as the Test Reporting Framework by Nitin Sharma
Jenkins as the Test Reporting FrameworkJenkins as the Test Reporting Framework
Jenkins as the Test Reporting Framework
Nitin Sharma1.9K views
Test Automation and Continuous Integration by TestCampRO
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration
TestCampRO2K views
Build Your Custom Performance Testing Framework by TechWell
Build Your Custom Performance Testing FrameworkBuild Your Custom Performance Testing Framework
Build Your Custom Performance Testing Framework
TechWell2.4K views
Agile Engineering Sparker GLASScon 2015 by Stephen Ritchie
Agile Engineering Sparker GLASScon 2015Agile Engineering Sparker GLASScon 2015
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie668 views
Final Automation Testing by priya_trivedi
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi4.7K views
ATAGTR2017 Differentiation using Testing Tools and Automation in the BFS COTS... by Agile Testing Alliance
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...
Create an architecture for web test automation by Elias Nogueira
Create an architecture for web test automationCreate an architecture for web test automation
Create an architecture for web test automation
Elias Nogueira1.2K views
Putting Quality First through Continuous Testing by TechWell
Putting Quality First through Continuous TestingPutting Quality First through Continuous Testing
Putting Quality First through Continuous Testing
TechWell547 views
Team Foundation Server 2010 - Overview by Steve Lange
Team Foundation Server 2010 - OverviewTeam Foundation Server 2010 - Overview
Team Foundation Server 2010 - Overview
Steve Lange5.7K views

Similar to Continuous performance testing

Continuous Performance Testing by
Continuous Performance TestingContinuous Performance Testing
Continuous Performance TestingGrid Dynamics
594 views24 slides
Continuous Performance Testing by
Continuous Performance TestingContinuous Performance Testing
Continuous Performance TestingGrid Dynamics
602 views28 slides
Neotys PAC 2018 - Ramya Ramalinga Moorthy by
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys_Partner
715 views25 slides
T3 Consortium's Performance Center of Excellence by
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellenceveehikle
825 views23 slides
DevOps at TestausOSY 20june2017 by
DevOps at TestausOSY 20june2017DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017Jouni Jätyri
675 views24 slides
Continuous Integration and Delivery using TeamCity and Jenkins by
Continuous Integration and Delivery using TeamCity and JenkinsContinuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and JenkinsMahmoud Ali
493 views41 slides

Similar to Continuous performance testing(20)

Continuous Performance Testing by Grid Dynamics
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
Grid Dynamics594 views
Continuous Performance Testing by Grid Dynamics
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
Grid Dynamics602 views
Neotys PAC 2018 - Ramya Ramalinga Moorthy by Neotys_Partner
Neotys PAC 2018 - Ramya Ramalinga MoorthyNeotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys PAC 2018 - Ramya Ramalinga Moorthy
Neotys_Partner715 views
T3 Consortium's Performance Center of Excellence by veehikle
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
veehikle825 views
DevOps at TestausOSY 20june2017 by Jouni Jätyri
DevOps at TestausOSY 20june2017DevOps at TestausOSY 20june2017
DevOps at TestausOSY 20june2017
Jouni Jätyri675 views
Continuous Integration and Delivery using TeamCity and Jenkins by Mahmoud Ali
Continuous Integration and Delivery using TeamCity and JenkinsContinuous Integration and Delivery using TeamCity and Jenkins
Continuous Integration and Delivery using TeamCity and Jenkins
Mahmoud Ali493 views
Saving resources with simulation webinar 092011 by Scott Althouse
Saving resources with simulation webinar 092011Saving resources with simulation webinar 092011
Saving resources with simulation webinar 092011
Scott Althouse751 views
Shuvam dutta | Performance tester by Shuvam Dutta
Shuvam dutta | Performance testerShuvam dutta | Performance tester
Shuvam dutta | Performance tester
Shuvam Dutta85 views
Keyword Driven Automation by Pankaj Goel
Keyword Driven AutomationKeyword Driven Automation
Keyword Driven Automation
Pankaj Goel1.5K views
Lean for Competitive Advantage and Customer Delight by Lean India Summit
Lean for Competitive Advantage and Customer DelightLean for Competitive Advantage and Customer Delight
Lean for Competitive Advantage and Customer Delight
Lean India Summit1.3K views
Performance Test Slideshow Recent by Future Simmons
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons475 views
Performance Test Slideshow R E C E N T by Future Simmons
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 Simmons622 views
Shuvam Dutta | Performance analyst by Shuvam Dutta
Shuvam Dutta | Performance analystShuvam Dutta | Performance analyst
Shuvam Dutta | Performance analyst
Shuvam Dutta143 views
Software Project Management - NESDEV by Krit Kamtuo
Software Project Management - NESDEVSoftware Project Management - NESDEV
Software Project Management - NESDEV
Krit Kamtuo723 views
Driving Systems Stability & Delivery Agility through DevOps [Decoding DevOps ... by InfoSeption
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 ...
InfoSeption1.2K views
Continuous Delivery of a Cloud Deployment at a Large Telecommunications Provider by M Kevin McHugh
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 Kevin McHugh318 views

More from SQALab

Готовим стажировку by
Готовим стажировкуГотовим стажировку
Готовим стажировкуSQALab
2.6K views18 slides
Куда приводят мечты? или Искусство развития тестировщика by
Куда приводят мечты? или Искусство развития тестировщикаКуда приводят мечты? или Искусство развития тестировщика
Куда приводят мечты? или Искусство развития тестировщикаSQALab
1.7K views16 slides
Оптимизация Selenium тестов и ускорение их поддержки by
Оптимизация Selenium тестов и ускорение их поддержкиОптимизация Selenium тестов и ускорение их поддержки
Оптимизация Selenium тестов и ускорение их поддержкиSQALab
1.2K views36 slides
Автоматизация 0.0: 0 - бюджет, 0 - опыт программирования by
Автоматизация 0.0: 0 - бюджет, 0 - опыт программированияАвтоматизация 0.0: 0 - бюджет, 0 - опыт программирования
Автоматизация 0.0: 0 - бюджет, 0 - опыт программированияSQALab
774 views21 slides
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J... by
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...SQALab
800 views18 slides
Конфиги вместо костылей. Pytestconfig и зачем он нужен by
Конфиги вместо костылей. Pytestconfig и зачем он нуженКонфиги вместо костылей. Pytestconfig и зачем он нужен
Конфиги вместо костылей. Pytestconfig и зачем он нуженSQALab
717 views94 slides

More from SQALab(20)

Готовим стажировку by SQALab
Готовим стажировкуГотовим стажировку
Готовим стажировку
SQALab2.6K views
Куда приводят мечты? или Искусство развития тестировщика by SQALab
Куда приводят мечты? или Искусство развития тестировщикаКуда приводят мечты? или Искусство развития тестировщика
Куда приводят мечты? или Искусство развития тестировщика
SQALab1.7K views
Оптимизация Selenium тестов и ускорение их поддержки by SQALab
Оптимизация Selenium тестов и ускорение их поддержкиОптимизация Selenium тестов и ускорение их поддержки
Оптимизация Selenium тестов и ускорение их поддержки
SQALab1.2K views
Автоматизация 0.0: 0 - бюджет, 0 - опыт программирования by SQALab
Автоматизация 0.0: 0 - бюджет, 0 - опыт программированияАвтоматизация 0.0: 0 - бюджет, 0 - опыт программирования
Автоматизация 0.0: 0 - бюджет, 0 - опыт программирования
SQALab774 views
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J... by SQALab
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
Нагрузочное тестирование нестандартных протоколов с использованием Citrix и J...
SQALab800 views
Конфиги вместо костылей. Pytestconfig и зачем он нужен by SQALab
Конфиги вместо костылей. Pytestconfig и зачем он нуженКонфиги вместо костылей. Pytestconfig и зачем он нужен
Конфиги вместо костылей. Pytestconfig и зачем он нужен
SQALab717 views
Команда чемпионов в ИТ стихии by SQALab
Команда чемпионов в ИТ стихииКоманда чемпионов в ИТ стихии
Команда чемпионов в ИТ стихии
SQALab727 views
API. Серебряная пуля в магазине советов by SQALab
API. Серебряная пуля в магазине советовAPI. Серебряная пуля в магазине советов
API. Серебряная пуля в магазине советов
SQALab539 views
Добиваемся эффективности каждого из 9000+ UI-тестов by SQALab
Добиваемся эффективности каждого из 9000+ UI-тестовДобиваемся эффективности каждого из 9000+ UI-тестов
Добиваемся эффективности каждого из 9000+ UI-тестов
SQALab580 views
Делаем автоматизацию проектных KPIs by SQALab
Делаем автоматизацию проектных KPIsДелаем автоматизацию проектных KPIs
Делаем автоматизацию проектных KPIs
SQALab361 views
Вредные привычки в тест-менеджменте by SQALab
Вредные привычки в тест-менеджментеВредные привычки в тест-менеджменте
Вредные привычки в тест-менеджменте
SQALab655 views
Как hh.ru дошли до 500 релизов в квартал без потери в качестве by SQALab
Как hh.ru дошли до 500 релизов в квартал без потери в качествеКак hh.ru дошли до 500 релизов в квартал без потери в качестве
Как hh.ru дошли до 500 релизов в квартал без потери в качестве
SQALab722 views
Стили лидерства и тестирование by SQALab
Стили лидерства и тестированиеСтили лидерства и тестирование
Стили лидерства и тестирование
SQALab463 views
"Давайте не будем про качество" by SQALab
"Давайте не будем про качество""Давайте не будем про качество"
"Давайте не будем про качество"
SQALab543 views
Apache.JMeter для .NET-проектов by SQALab
Apache.JMeter для .NET-проектовApache.JMeter для .NET-проектов
Apache.JMeter для .NET-проектов
SQALab715 views
Тестирование геолокационных систем by SQALab
Тестирование геолокационных системТестирование геолокационных систем
Тестирование геолокационных систем
SQALab340 views
Лидер или босс? Вот в чем вопрос by SQALab
Лидер или босс? Вот в чем вопросЛидер или босс? Вот в чем вопрос
Лидер или босс? Вот в чем вопрос
SQALab600 views
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут... by SQALab
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...
От Зефира в коробке к Structure Zephyr или как тест-менеджеру перекроить внут...
SQALab1.6K views
Истинная сила тестировщика - информация by SQALab
Истинная сила тестировщика - информацияИстинная сила тестировщика - информация
Истинная сила тестировщика - информация
SQALab1.7K views
Автоматизация тестирования встроенного ПО by SQALab
Автоматизация тестирования встроенного ПОАвтоматизация тестирования встроенного ПО
Автоматизация тестирования встроенного ПО
SQALab479 views

Recently uploaded

Drama KS5 Breakdown by
Drama KS5 BreakdownDrama KS5 Breakdown
Drama KS5 BreakdownWestHatch
87 views2 slides
Dance KS5 Breakdown by
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 BreakdownWestHatch
86 views2 slides
Sociology KS5 by
Sociology KS5Sociology KS5
Sociology KS5WestHatch
76 views23 slides
7 NOVEL DRUG DELIVERY SYSTEM.pptx by
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptxSachin Nitave
61 views35 slides
Use of Probiotics in Aquaculture.pptx by
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptxAKSHAY MANDAL
104 views15 slides
MIXING OF PHARMACEUTICALS.pptx by
MIXING OF PHARMACEUTICALS.pptxMIXING OF PHARMACEUTICALS.pptx
MIXING OF PHARMACEUTICALS.pptxAnupkumar Sharma
82 views35 slides

Recently uploaded(20)

Drama KS5 Breakdown by WestHatch
Drama KS5 BreakdownDrama KS5 Breakdown
Drama KS5 Breakdown
WestHatch87 views
Dance KS5 Breakdown by WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch86 views
Sociology KS5 by WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch76 views
7 NOVEL DRUG DELIVERY SYSTEM.pptx by Sachin Nitave
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptx
Sachin Nitave61 views
Use of Probiotics in Aquaculture.pptx by AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL104 views
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB... by Nguyen Thanh Tu Collection
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
AUDIENCE - BANDURA.pptx by iammrhaywood
AUDIENCE - BANDURA.pptxAUDIENCE - BANDURA.pptx
AUDIENCE - BANDURA.pptx
iammrhaywood89 views
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively by PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 598 views
11.30.23 Poverty and Inequality in America.pptx by mary850239
11.30.23 Poverty and Inequality in America.pptx11.30.23 Poverty and Inequality in America.pptx
11.30.23 Poverty and Inequality in America.pptx
mary850239167 views
Ch. 8 Political Party and Party System.pptx by Rommel Regala
Ch. 8 Political Party and Party System.pptxCh. 8 Political Party and Party System.pptx
Ch. 8 Political Party and Party System.pptx
Rommel Regala53 views
Ch. 7 Political Participation and Elections.pptx by Rommel Regala
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptx
Rommel Regala105 views
Psychology KS4 by WestHatch
Psychology KS4Psychology KS4
Psychology KS4
WestHatch90 views
Narration lesson plan by TARIQ KHAN
Narration lesson planNarration lesson plan
Narration lesson plan
TARIQ KHAN59 views
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx by Ms. Pooja Bhandare
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptxPharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.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.