How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

23
1 How To Use Jenkins for Continuous Load Testing and Mobile Test Automation Webinar and Present Introducing performance and functional automation early with Continuous Integration

Transcript of How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Page 1: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

1

How To Use Jenkins for Continuous Load Testing and Mobile Test Automation

Webinar

andPresent

Introducing performance and functional automation early with Continuous Integration

Page 2: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

2

CI Gets More TestingIn This Webinar

TODAY’S PRESENTERS

Andy Pemberton: CloudBees, Sr. Dir. Solution ArchitectureMike Ostenberg: SOASTA, Dir. Solutions EngineeringBrad Johnson: SOASTA, VP Product

TWO COMPANIES, A SINGLE SOLUTION

- the leader in Mobile and Cloud Testing

- the Jenkins Enterprise company

Together, we offer a complete cloud-based service:

Continuous Delivery for Web & Mobile

@apemberton

@bradjohnsonsv

Page 3: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

3

Agenda

• Achieving (even) more test coverage with Jenkins• Utilizing cloud in development and test• CloudBees and Jenkins• From Continuous Integration to Continuous Delivery• CI with SOASTA CloudTest (load) and TouchTest

(mobile)

Questions: Submit in the question box during event

Page 4: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

4

TestingThe Legacy of….WAIT

UtUnit

Testing

FtFunctional

Testing

Development Testing Operations

PtPerformance

Testing

MoMonitoring

Legacy Approach: Silos and waiting

TIME

Page 5: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

5

Eliminating Delays Compresses TimeEnabling more testing to be done earlier and more often

UtUnit

Testing

FtFunctional

Testing

Testing

PtPerformance

Testing

MoMonitoring

Legacy Approach: Silos and waiting

Agile Approach: Automation and Continuous Testing

OperationsDevelopment

Dev OpsTesting

TIME

Page 6: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

6

Continuous Integration BlueprintGartner models “Shift Left” for testing

* Source: Gartner, “Blueprint for Adding Continuous Integration as a Start to Your Continuous Delivery Process” Sean Kenefick, Aug 25, 2014

Traditionally later-stage testing!

Perf & mobile testing plugins enhance value across delivery cycle

Page 7: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

7

Poll Question

Page 8: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

8

CloudBees and JenkinsFrom Continuous Integration to Continuous

Delivery

Andy Pemberton

@apemberton

Page 9: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

o#1 OSS CI server

oWritten in Java

oHighly Extensible

oFounded ~2005

oEasy to install / use

oExtensible via 1000+ plugins

oWidely adopted

o 80K+ installations

oCloudBees knows Jenkins

oOn-premise, cloud and hybrid

oExpert support

oEnterprise plugins

Have you met Jenkins?

Page 10: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

o Jenkins founder, Kohsuke Kawaguchi, CloudBees CTO

oWe optimize Jenkins for the enterprise

o Jenkins Operations Center

o Jenkins OSS Support

oEnterprise-class plugins

oCommit code and support the Jenkins Community

o Jenkins training and consulting

o Jenkins User Conferences (JUC) and newsletters

o…we are the Jenkins Enterprise experts!

CloudBees

Page 11: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

CloudBees Jenkins Products

On-Premise In the Cloud Hybrid

No matter how you use Jenkins

Jenkins Enterprise by CloudBees

Jenkins Operations Centerby CloudBees

DEV@cloud DEV@cloudHybrid

Page 12: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Jenkins: the Hub of Continuous Delivery

Source Code

Binaries

Quality Analysis Functional Test

Performance / Load Test

Production

Page 13: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Jenkins: the Hub of Continuous Delivery

Source Code

Binaries

Quality Analysis Functional Test

Performance / Load Test

Production

Page 14: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

o“Survival is not mandatory (nor is adopting DevOps)”

o Gene Kim, Wall Street Journal - CIO Journal DevOps piece

oSeek out opportunities for automation - testing is an ideal first step

oLoad, functional, and mobile testing have been challenging…

DevOps is a Journey

http://blogs.wsj.com/cio/2014/05/22/enterprise-devops-adoption-isnt-mandatory-but-neither-is-survival/

8x more frequent releases

8000x faster release process

2x higher releases success

12x faster defect fixes

DevOps

Page 15: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

15

Mike Ostenberg

Building your tests and automating with Jenkins

Page 16: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

16

CI Mobile Application Func & Perf Testing

o Demo:

• Creating a quick functional test in TouchTest

• Creating a quick performance test in CloudTest

• Running Load and Performance Tests from Jenkins:

• Play TouchTest/CloudTest tests from Jenkins

• Setting Thresholds to automatically alert on poor performance

• Plotting performance trending data directly in Jenkins

• Reviewing detailed results directly in Jenkins

• Jenkins Enterprise by CloudBees enhancements

• Add templates

• Add folders

• Add roles and permissions

What are we going to show

Page 17: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

17

SOASTA SolutionsQuality Across the Software Application Lifecycle

Expertise

Page 18: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

18

Setting up the Test Environment

TouchTest

o Run MATT utility to create testable application

o Install Testable application on device

CloudTest

o Install conductor on laptop

o Modify mobile device proxy settings

Jenkins

o Install SOASTA PlugIn

o Install Plot PlugIn

o Install Jenkins Enterprise by CloudBees

Page 19: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

• Open Source: online at jenkins-ci.org

• Automatically available on CloudBees DEV@cloud

• Complete control over CloudTest/TouchTest Automation from within your Jenkins builds:

• Totally integrated into Jenkins environment

SOASTA Jenkins Plug-in

Page 20: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Jenkins Enterprise by CloudBees – Folders Plus Plugin

Page 21: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Jenkins Enterprise by CloudBees – Role-based Access Control

Page 22: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

Jenkins Enterprise by CloudBees – Templates Plugin

Page 23: How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & CloudBees

23

Thanks & Q&A

Contact SOASTA:www.soasta.com/cloudtest/[email protected] us:

twitter.com/cloudtest

facebook.com/cloudtest

Knowledge Center• White Papers• Webinar

Recordings• Case Studies

CloudLink Community• Support• Tutorials• Video

RESOURCES

Contact [email protected] us:

twitter.com/cloudbees

facebook.com/CloudBees

www.SOASTA.com www.CloudBees.com/jenkins

blog.cloudbees.com

developer.cloudbees.com• Platform Services• Frameworks