September 9, 2015
“Continuous Testing in DevOps”Dan Boutin – Senior Product Evangelist
[email protected] (404) 304-9529@DanBoutinSOASTA
© 2014 SOASTA. All rights reserved. 2
In This Discussion Today
Agenda: • SOASTA Introduction• The need for “Continuous”• The “Big 3”• CI with mobile and performance testing
© 2014 SOASTA. All rights reserved. 3
SOASTA – Performance Analytics
100 BillionUser Experiences Tested
10 MillionTests Performed
Actual CloudTest view
© 2014 SOASTA. All rights reserved. 4
In This Discussion Today
Agenda: • SOASTA Introduction• The need for “Continuous”• CI with mobile and performance testing
© 2014 SOASTA. All rights reserved. 5
CI Offers Speed of Delivery & TestingWhat’s not to like?
© 2014 SOASTA. All rights reserved. 6
CI Offers Speed of Delivery
o Small Batch Sizes
What’s not to like?
© 2014 SOASTA. All rights reserved. 7
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Control
What’s not to like?
© 2014 SOASTA. All rights reserved. 8
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategies
What’s not to like?
© 2014 SOASTA. All rights reserved. 9
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategieso Automation
What’s not to like?
© 2014 SOASTA. All rights reserved. 10
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategieso Automation o Continuous Feedback
What’s not to like?
© 2014 SOASTA. All rights reserved. 11
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategieso Automation o Continuous Feedbacko Emphasis on working builds
What’s not to like?
© 2014 SOASTA. All rights reserved. 12
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategieso Automation o Continuous Feedbacko Emphasis on working buildso Consistent environments
What’s not to like?
© 2014 SOASTA. All rights reserved. 13
CI Offers Speed of Delivery
o Small Batch Sizeso Comprehensive Version Controlo Simple Branch Strategieso Automation o Continuous Feedbacko Emphasis on working buildso Consistent environmentso Developer – Tester Collaboration
What’s not to like?
© 2014 SOASTA. All rights reserved. 14
In This Discussion Today
Agenda: • SOASTA Introduction• The need for “Continuous”• CI with mobile and performance testing
© 2014 SOASTA. All rights reserved. 15
So, what?
• We can only test as fast as the conveyor belt allows.
• If the conveyor belt is moving slow, testing is delayed.
• The Big 3 drives testing cycle.
o Why is CI critical? https://youtu.be/8NPzLBSBzPI • Speed
• New features, functions, etc. need to get to the customer, ASAP!
“We didn’t have enough testing for a very complicated project”
US Health and Human Services Secretary, Kathleen Sebelius
© 2014 SOASTA. All rights reserved. 16
s
Memory leaks
Scale of Test
Stag
e / T
eam
Dev & Test
Release& Deploy
Network& Ops
CDN file placement
Load Balancer configuration
Network bandwidth
Network configuration
DNS routing
Inadequate server resourcesDefault configuration settings
Unbalanced web serversAuto-scaling failures
Latency between systems
Slow third-party plug-ins
Garbage collectionDatabase thread counts
Inefficient database queriesSlow pages
Conflict with other apps
Test Lab Staging Production (100% +++)
Search technology limits
Method-level tuning
Max sockets exceeded
Firewall max capacity
Global latency variance
Security bottlenecks
Tuning for full-scale…and well beyond
Issues Found As Scale IncreasesCloud Testing reveals risks at any scale
© 2014 SOASTA. All rights reserved. 17
Laying the FoundationA factory streamlines for quality and speed
Does it work as designed?
Does it perform under
extreme circumstance
s?
Approve materials
Real Drivers
What happens in actual conditions?
Assembly Line
© 2014 SOASTA. All rights reserved. 18
Laying the FoundationCI streamlines for continuous quality
Functional validation
Performance,reliability,scalability tests
Real Users
Build
What happens in actual conditions?
Unit-tested code
© 2014 SOASTA. All rights reserved. 19
Continuous QualitySOASTA’s Lifecycle
© 2014 SOASTA. All rights reserved. 20
Continuous QualitySOASTA’s LifeCycle
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 21
Continuous QualitySOASTA’s Lifecycle
Run iterative load tests via Jenkins
Spin up suitable, consistent test environments in the
cloud or the lab
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 22
Continuous QualitySOASTA’s Lifecycle
Run iterative load tests via Jenkins
Mobile? Run functional automation on real devices for functional & performance validation
Spin up suitable, consistent test environments in the
cloud or the lab
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 23
Continuous QualitySOASTA’s Lifecycle
Run iterative load tests via Jenkins
Daily (or more frequent) updates keep teams quality focused
Embedded failure details & bottleneck data isolate issues
Mobile? Run functional automation on real devices for functional & performance validation
Spin up suitable, consistent test environments in the
cloud or the lab
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 24
Continuous QualitySOASTA’s Lifecycle
Run iterative load tests via Jenkins
Daily (or more frequent) updates keep teams quality focused
Embedded failure details & bottleneck data isolate issues
Manage to a performance
baseline
Mobile? Run functional automation on real devices for functional & performance validation
Spin up suitable, consistent test environments in the
cloud or the lab
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 25
Continuous QualitySOASTA’s Lifecycle
Use real user data toiterate dev & test plans
Run iterative load tests via Jenkins
Daily (or more frequent) updates keep teams quality focused
Embedded failure details & bottleneck data isolate issues
Manage to a performance
baseline
Mobile? Run functional automation on real devices for functional & performance validation
Spin up suitable, consistent test environments in the
cloud or the lab
I JUST MADE A CODE CHANGE
Jenkins runs any unit tests as usual
© 2014 SOASTA. All rights reserved. 26
Continuous Testing Demo
o Load and Performance Testing with Cloudtesto Mobile Functional Test Automation with TouchTest
© 2014 SOASTA. All rights reserved. 27
Continuous Quality for Continuous Delivery
o SOASTA’s Process Metrics• 3 Main Products
• (2) Builds per day of each product (Dev branch + Customer branch)• 8,000 tests executed per build• For Mobile (TouchTest), Over 300 fully-automated tests each for iOS &
Android
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 28
The Path to Continuous Testing
o Understand your requirements
o Identify the cloud advantages for you
o Automate the obvious and most critical
o Connect to a continuous process
o Align teams with actionable information
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 29
The Path to Continuous Testing
o Understand your requirements
o Identify the cloud advantages for you
o Automate the obvious and most critical
o Connect to a continuous process
o Align teams with actionable information
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 30
The Path to Continuous Testing
o Understand your requirements
o Identify the cloud advantages for you
o Automate the obvious and most critical
o Connect to a continuous process
o Align teams with actionable information
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 31
The Path to Continuous Testing
o Understand your requirements
o Identify the cloud advantages for you
o Automate the obvious and most critical
o Connect to a continuous process
o Align teams with actionable information
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 32
The Path to Continuous Testing
o Understand your requirements
o Identify the cloud advantages for you
o Automate the obvious and most critical
o Connect to a continuous process
o Align teams with actionable information
SOASTA - Takeaways
© 2014 SOASTA. All rights reserved. 33
CONFIDENTIAL – Not for Distribution
Final TakeawayWhy is CI important?
RevenueBrandCompetitive advantage
© 2014 SOASTA. All rights reserved. 34
We will close with some Mobile Trivia
@DanBoutinSOASTA
© 2014 SOASTA. All rights reserved. 35
Questions?
Dan Boutin – Senior Product [email protected]
Mobile (404) 304-9529@DanBoutinSOASTA
Visit our Blog: http://goo.gl/TA2HKP
Questions? @DanBoutinSOASTA
78days
16hours
September 9, 2015
“Continuous Testing in DevOps”Dan Boutin – Senior Product Evangelist
[email protected] (404) 304-9529@DanBoutinSOASTA