SlideShare a Scribd company logo
Stating the obvious
Adding performance/load/stress testing
to your Continuous Integration pipeline
Giulio Vian
giulio@nolbej.com
@giulio_vian
http://blog.casavian.eu/
Agenda
Why obvious?
CI / CD Integration
Perf / load/ stress testing basics
Closing
2
This Session
200 level
Tight on time: avoid
open questions
3
I. Why obvious?
5
Performance is a
Feature
«there are two kinds of
websites: the quick and
the dead»
https://blog.codinghorror.com/performance-is-a-feature/
Response time
0.1 second is about the limit for having the user
feel that the system is reacting instantaneously,
meaning that no special feedback is necessary
except to display the result.
1.0 second is about the limit for the user's flow of
thought to stay uninterrupted, even though the
user will notice the delay. Normally, no special
feedback is necessary during delays of more than
0.1 but less than 1.0 second, but the user does lose
the feeling of operating directly on the data.
10 seconds is about the limit for keeping the user's
attention focused on the dialogue. For longer
delays, users will want to perform other tasks
while waiting for the computer to finish, so they
should be given feedback indicating when the
computer expects to be done. Feedback during
the delay is especially important if the response
time is likely to be highly variable, since users will
then not know what to expect.
Miller, R. B. (1968).
Response time in man-
computer
conversational
transactions. Proc. AFIPS
Fall Joint Computer
Conference Vol. 33, 267-
277.
Hard facts
Google
Half a second delay
caused a 20% drop in
traffic.
Amazon.com
Even very small delays
(100 ms) would result in
substantial and costly
drops in revenue.
Why lubricant in
an engine?
Do you like the motor
to seize?
Always necessary?
Gartner Hype Cycle,
Source: Wikipedia
My perf test
of the year
2M users
40,000 RPS
2Gbps
There’s Nothing
Like Production
11
© 2016 IMG Universe, LLC.
All Rights Reserved
II. CI / CD Integration
12
Tooling
Scripts & Runners
Load generators
Monitoring
Tools: Script & Runners
JMeter
Visual Studio (.webtest / .loadtest)
Selenium
×Unit family
Gatling
*Custom & More…
Tools: Load
VSTS Cloud-based load testing
CA BlazeMeter
SOASTA (Akamai) CloudTest
HPE LoadRunner
*Custom
& More…
Tools:
Monitoring
Loading tool
Basic
Performance Counters*
Application logs
Cloud
& More…
Analyzing
High level architecture
You
Load
Generator
SUT
Monitoring
CI / CD
pipeline
Web Load Testing
19
Considerations
for CI/CD
Trunk or branch of
pipeline
Resources
KPIs
Time factor
Short-running Tests
Long-running Tests
Test Coverage
Frequency of execution
Value from test
Hidden Gremlins
Cloud infrastructure
warm up
ELB
Default configuration
nginx worker processes
Client resources
III. Perf / load/ stress testing
basics
23
(Technical) Goals
Benchmarking
Force defects to emerge
code, configuration, architecture
Capacity planning
Breaking point
Security leakage
Emerging Problems
Connection pool exhaustion
File locks
Database locks
(Thread) deadlocks
Memory exahustion
Domino Effect
Lack of scalability
Indicators
Latency
Throughput
Load
Error rate
Tool (client) errors
Compound graph
+Error rates
+Tools errors
Relative Load
Latency
Required threshold
Max N seconds
100%60%
Throughput
Usage
How you read
this?
Relative Load
Latency
Required threshold
Max N seconds
100%60%
Throughput
Usage
Analyze
Response curve
Inflection point
Bottlenecks
Common scenarios
Desktop / mobile / library Server / web
Database
server
Web serverClient
N1
N4
A1
A3 A2N3
N2
What to monitor
CPU
RAM
Disk I/O
Network I/O
Threads / processes
IV. Closing
32
Resources
Sisyphus
Choosing to invest
33
(Photo: Elya)
Bibliografy & References
http://www.slideshare.net/giuliov/presentations
https://github.com/giuliov/Stating-the-obvious/
https://docs.microsoft.com/en-us/vsts/build-release/tasks/test/cloud-
based-load-test
AWS Well-Architected Framework - Performance Efficiency Pillar
https://www.amazon.com/dp/B01MSSLHBX
Performance Testing Guidance for Web Applications
https://msdn.microsoft.com/en-us/library/bb924375.aspx
http://www.brendangregg.com/linuxperf.html
34
Bibliografy (2)
Writing High-Performance .NET Code —
Ben Watson (Ben Watson)
https://www.amazon.it/Writing-High-
Performance-NET-Code-
Watson/dp/0990583430/
Time Is Money: The Business Value of
Web Performance — Tammy Everts
(O'Reilly Media)
https://www.amazon.com/Time-Money-
Business-Value-Performance/dp/1491928743
35
Bibliografy (3)
Software Performance and Scalability: A
Quantitative Approach — Henry H. Liu
(Wiley)
https://www.amazon.com/Software-
Performance-Scalability-Quantitative-
Approach/dp/0470462531
Continuous Delivery with Windows and .NET
— Matthew Skelton and Chris O'Dell
(O'Reilly)
http://www.oreilly.com/webops-
perf/free/continuous-delivery-with-windows-and-
net.csp
36
Bibliografy (4)
Continuous Delivery: Reliable Software
Releases through Build, Test, and
Deployment Automation — J.Humble,
D.Farley (Addison-Wesley)
https://www.amazon.com/Continuous-
Delivery/dp/0321601912/
The DevOps Handbook — G.Kim, P.Debois,
J.Willis, J.Humble (IT Revolution Press)
https://www.amazon.com/DevOps-Handbook-
World-Class-Reliability-
Organizations/dp/1942788002/
37
About me
38
giulio@nolbej.com
@giulio_vian
http://blog.casavian.eu/
Call to action
39
(Photo: Francesco Canu)
End of transmission
40

More Related Content

PPTX
Stating the obvious - All Day DevOps 2017
PPTX
Stating the obvious - 121 Test Automation Day, Dublin, 2018
PPTX
DevOps Deep Dive - Alla fiera dell'ovvio
ODT
Healthcheck 07 application
PPT
Securely connecting to apps over the internet using rds
PPTX
PPT
Rapidly deploying software
PDF
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Stating the obvious - All Day DevOps 2017
Stating the obvious - 121 Test Automation Day, Dublin, 2018
DevOps Deep Dive - Alla fiera dell'ovvio
Healthcheck 07 application
Securely connecting to apps over the internet using rds
Rapidly deploying software
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...

Similar to TestCon Vilnius 2017 - Stating the obvious (20)

PPTX
Performance Testing in Continous Delivery
PDF
What is Continuous Integration Testing.pdf
PDF
Door to perfomance testing
PPTX
Multiple Dimensions of Load Testing
PDF
How to Attain Business Success with CI_CD Pipeline Automation Testing (1).pdf
PDF
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
PPT
Performance Testing Overview
PPTX
Testing ppts 20 march
PPTX
Performance testing
PPS
Performance Test Slideshow R E C E N T
PPS
Performance Test Slideshow Recent
PPTX
Tips and tricks for performance testing CI. Лайфхак для безперервного процесу...
PDF
Neotys PAC 2018 - Ramya Ramalinga Moorthy
PDF
Building Your Digital Assembly Line Mastering the Modern CICD Pipeline.pdf
PPTX
QSpiders - Introduction to JMeter
PDF
Accelerate Software Delivery with a CICD Pipeline.pdf
PPTX
Tester’s considerations when moving towards successful CI/CD
PPTX
Alexander Podelko - Context-Driven Performance Testing
PPTX
DevOps: Age Of CI/CD
PDF
Continuous Testing- A Key Ingredient for Success in Agile & DevOps
Performance Testing in Continous Delivery
What is Continuous Integration Testing.pdf
Door to perfomance testing
Multiple Dimensions of Load Testing
How to Attain Business Success with CI_CD Pipeline Automation Testing (1).pdf
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
Performance Testing Overview
Testing ppts 20 march
Performance testing
Performance Test Slideshow R E C E N T
Performance Test Slideshow Recent
Tips and tricks for performance testing CI. Лайфхак для безперервного процесу...
Neotys PAC 2018 - Ramya Ramalinga Moorthy
Building Your Digital Assembly Line Mastering the Modern CICD Pipeline.pdf
QSpiders - Introduction to JMeter
Accelerate Software Delivery with a CICD Pipeline.pdf
Tester’s considerations when moving towards successful CI/CD
Alexander Podelko - Context-Driven Performance Testing
DevOps: Age Of CI/CD
Continuous Testing- A Key Ingredient for Success in Agile & DevOps
Ad

More from Giulio Vian (20)

PPTX
Come implementare la governance nella vostra piattaforma e lavorare felici se...
PDF
Is Technical Debt the right metaphor for Continuous Update?
PPTX
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
PPTX
Software rotting - DevOpsCon Berlin
PPTX
Software rotting
PPTX
Software rotting - 28 Apr - DeveloperWeek Europe 2022
PPTX
L'impatto della sicurezza su DevOps
PPTX
L'impatto della sicurezza su DevOps
PPTX
A map for DevOps on Microsoft Stack - MS DevSummit
PPTX
Perché è così difficile il deploy dei database - DevCast DevOps Serie
PPTX
Database deployments - dotnetsheff
PPTX
Database deployment: still hard after all these years - Data Saturday #1
PPTX
Pipeline your Pipelines - 2020 All Day DevOps
PPTX
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
PPTX
Top 10 pipeline mistakes - dotnetsheff
PPTX
Introduction to Terraform with Azure flavor
PPTX
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
PPTX
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
PPTX
Pipeline your pipelines!
PPTX
Why is DevOps vital for my company’s business
Come implementare la governance nella vostra piattaforma e lavorare felici se...
Is Technical Debt the right metaphor for Continuous Update?
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
Software rotting - DevOpsCon Berlin
Software rotting
Software rotting - 28 Apr - DeveloperWeek Europe 2022
L'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOps
A map for DevOps on Microsoft Stack - MS DevSummit
Perché è così difficile il deploy dei database - DevCast DevOps Serie
Database deployments - dotnetsheff
Database deployment: still hard after all these years - Data Saturday #1
Pipeline your Pipelines - 2020 All Day DevOps
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
Top 10 pipeline mistakes - dotnetsheff
Introduction to Terraform with Azure flavor
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
Pipeline your pipelines!
Why is DevOps vital for my company’s business
Ad

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
System and Network Administraation Chapter 3
PDF
AI in Product Development-omnex systems
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPT
Introduction Database Management System for Course Database
PDF
System and Network Administration Chapter 2
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Transform Your Business with a Software ERP System
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Internet Downloader Manager (IDM) Crack 6.42 Build 41
ISO 45001 Occupational Health and Safety Management System
How to Choose the Right IT Partner for Your Business in Malaysia
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
System and Network Administraation Chapter 3
AI in Product Development-omnex systems
Odoo Companies in India – Driving Business Transformation.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Introduction Database Management System for Course Database
System and Network Administration Chapter 2
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Which alternative to Crystal Reports is best for small or large businesses.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Transform Your Business with a Software ERP System
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Wondershare Filmora 15 Crack With Activation Key [2025
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)

TestCon Vilnius 2017 - Stating the obvious

Editor's Notes

  • #7: https://blog.codinghorror.com/performance-is-a-feature/
  • #20: https://docs.microsoft.com/en-us/vsts/release-notes/2017/sep-15-team-services#run-webtests-using-the-vstest-task
  • #34: Performance is one of those areas that you could spend an infinite amount of time on, so failing to recognise it as a business interest could mean either chronic under-investment in it – or massive amounts of invisible over-spending if the technical team have placed too much emphasis on it. – Steve Fenton https://www.stevefenton.co.uk/2016/06/performance-is-a-feature/