+ All Categories
Home > Internet > Continuous Testing

Continuous Testing

Date post: 16-Apr-2017
Category:
Upload: soasta
View: 1,798 times
Download: 0 times
Share this document with a friend
37
September 9, 2015 “Continuous Testing in DevOps” Dan Boutin – Senior Product Evangelist [email protected] Mobile (404) 304-9529 @DanBoutinSOASTA
Transcript
Page 1: Continuous Testing

September 9, 2015

“Continuous Testing in DevOps”Dan Boutin – Senior Product Evangelist

[email protected] (404) 304-9529@DanBoutinSOASTA

Page 2: Continuous Testing

© 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

Page 3: Continuous Testing

© 2014 SOASTA. All rights reserved. 3

SOASTA – Performance Analytics

100 BillionUser Experiences Tested

10 MillionTests Performed

Actual CloudTest view

Page 4: Continuous Testing

© 2014 SOASTA. All rights reserved. 4

In This Discussion Today

Agenda: • SOASTA Introduction• The need for “Continuous”• CI with mobile and performance testing

Page 5: Continuous Testing

© 2014 SOASTA. All rights reserved. 5

CI Offers Speed of Delivery & TestingWhat’s not to like?

Page 6: Continuous Testing

© 2014 SOASTA. All rights reserved. 6

CI Offers Speed of Delivery

o Small Batch Sizes

What’s not to like?

Page 7: Continuous Testing

© 2014 SOASTA. All rights reserved. 7

CI Offers Speed of Delivery

o Small Batch Sizeso Comprehensive Version Control

What’s not to like?

Page 8: Continuous Testing

© 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?

Page 9: Continuous Testing

© 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?

Page 10: Continuous Testing

© 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?

Page 11: Continuous Testing

© 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?

Page 12: Continuous Testing

© 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?

Page 13: Continuous Testing

© 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?

Page 14: Continuous Testing

© 2014 SOASTA. All rights reserved. 14

In This Discussion Today

Agenda: • SOASTA Introduction• The need for “Continuous”• CI with mobile and performance testing

Page 15: Continuous 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

Page 16: Continuous Testing

© 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

Page 17: Continuous Testing

© 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

Page 18: Continuous Testing

© 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

Page 19: Continuous Testing

© 2014 SOASTA. All rights reserved. 19

Continuous QualitySOASTA’s Lifecycle

Page 20: Continuous Testing

© 2014 SOASTA. All rights reserved. 20

Continuous QualitySOASTA’s LifeCycle

I JUST MADE A CODE CHANGE

Jenkins runs any unit tests as usual

Page 21: Continuous Testing

© 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

Page 22: Continuous Testing

© 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

Page 23: Continuous Testing

© 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

Page 24: Continuous Testing

© 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

Page 25: Continuous Testing

© 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

Page 26: Continuous Testing

© 2014 SOASTA. All rights reserved. 26

Continuous Testing Demo

o Load and Performance Testing with Cloudtesto Mobile Functional Test Automation with TouchTest

Page 27: Continuous Testing

© 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

Page 28: Continuous Testing

© 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

Page 29: Continuous Testing

© 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

Page 30: Continuous Testing

© 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

Page 31: Continuous Testing

© 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

Page 32: Continuous Testing

© 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

Page 33: Continuous Testing

© 2014 SOASTA. All rights reserved. 33

CONFIDENTIAL – Not for Distribution

Final TakeawayWhy is CI important?

RevenueBrandCompetitive advantage

Page 34: Continuous Testing

© 2014 SOASTA. All rights reserved. 34

We will close with some Mobile Trivia

@DanBoutinSOASTA

Page 35: Continuous Testing

© 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

Page 36: Continuous Testing

78days

16hours

Page 37: Continuous Testing

September 9, 2015

“Continuous Testing in DevOps”Dan Boutin – Senior Product Evangelist

[email protected] (404) 304-9529@DanBoutinSOASTA


Recommended