Top Banner
World ® ’1 6 Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko Andrey Pokhilko - Chief Scientist, BlazeMeter - CA Technologies DO5X54E DEVOPS
40

Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

Jan 07, 2017

Download

Technology

CA Technologies
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

World®’16

ExploretheStateofOpenSourcePerformanceTestinginContinuousDeliveryPipelineswithBlazeMeter ChiefScientistAndreyPokhilkoAndreyPokhilko - ChiefScientist,BlazeMeter - CATechnologies

DO5X54E

DEVOPS

Page 2: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

ContinuousIntegrationhasrapidlybecomethedefactostandardinsoftwaredevelopmentprocesses.Whilefunctionalandunittestinghaveprovedrelativelyeasytointegrateintotheseprocesses,performancetestinghastypicallyraisedmorechallenges.Inthistalk,AndreywillexaminekeyapproachestointegratingperformancetestingintoContinuousDeliveryworkflows,includinghowtoovercomethekeychallengesencounteredineachmethod.

Ultimately,atruecontinuousdeliveryprocessreliesupontheactualizationoffullyautomated,configurationdrivenandversion-basedworkflows.YouwillgetanunderstandingonhowtoevolveyourCIsystemtofacilitatethis.

AndreyPokhilkoCATechnologiesChiefScientist,BlazeMeter

Page 4: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ImportanceofCIandCD

§ Machinetimecostsnothing,humantimepriceless

§ De-factowinningpractice

§ MostadvancedteamsgowithCD

§ Alotofteamsarestillinprocessofadoptingit

Page 5: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 6: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 7: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TriggeringandPreparations

§ Whentodothejob

§ VCScheckout+dependenciescheckout

§ Buildingproject(compilingetc.)

§ Putresultingpackagesintorepos

Page 8: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

QualityControl

1. Staticcodeanalysis

2. Unittests

3. Functionaltests

4. Performancetests

needs deployment

Page 9: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Deployment

§ ToQAenvironment(forfurthermanualtests)

§ Tostagingenvironment

§ Toproductionenvironment

Page 10: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 11: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

OneWayRoad(Driverless)

VCSCheckout+

DependenciesBuild Unit

Tests

FunctionalTests

PerfromanceTests

Deployment

Filter Filter Filter Filter

Page 12: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

VCS-DrivenPipeline

§ NaturalevolutionofCIsystems

§ Branchingandpullrequests

§ Jenkins2.0pipelines

§ TaurusToolaspartofthisapproach

Page 13: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 14: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Challenge#1:TestEnvironment

§ Applicationsarecomplex§ Lotsofdependencies§ Third-partysystems

Databases

Microservices

Third-parties

Page 15: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Challenge#2:TimeConsuming

§ Preparations§ Alotoffunctionaltests§ Performancetestsarenaturallylong

Page 16: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Challenge#3:DebuggingCIJobs

§ Evolvingtestcomplexity§ Debuggingandtroubleshooting§ Buildhistoryisavalue

Page 17: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Challenge#4:ResultsAnalysis

§ Richreportingneeded§ JenkinsUIhasitslimits§ AutomateddecisionmakingforCD§ Collaborationfornon-techpeople

wut???

Page 18: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 19: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:TestEnvironment

§ Containershelp(youhavetousecontainers:)§ Youdon’tneedtobeasrealistic

Page 20: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:TimeConsuming

§ Preparewhatyoucanupfront- inthenight§ Reusewhatyoucan§ Shorttestscanrevealalotofthings§ Don’ttrytoputspikeandendurancetestsintoCI§ Parallelizetests,Jenkins2.0orTaurushelps

Page 21: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:DebuggingandImproving

§ TaurusTool,thehandheldpieceofCI

Page 22: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:DebuggingandImproving

LoadTestJob

LocalDebugging

Page 23: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:Reporting&ResultConsumption

§ Purpose-builtserviceswithintegrations§ Overview&StatusinJenkins

Page 24: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Overcome:DecisionMaking

§ Deploytostagingisgreatwin§ Havepass/failcriteria,includingAPMinfo§ It’soktohavedeployasseparatejob(forUAT,toavoid

disruptions)

Page 25: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 26: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhyUseJenkinsforTesting?

§ Multi-stepprocess§ Longprocess§ Repetitiveprocess

Page 27: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

StartSimple

LoadTest1

LoadTest2

LoadTest3

Center of Excellence

Developer

Operations

QA

Maintain Jobs

Page 28: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BecomeContinuous

§ Periodicjobshavemanyapplications§ Havevalidfailurecriteria(thresholds)§ Usenon-blockingdownstreamjobs

Page 29: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PursueContinuousDelivery

FastFeedbackDeveloper/

DevOps

Build+xUnit

FunctionalTests

LoadTests

Deploy Staging

SlowerFeedback

Page 30: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

THINGSWEPUTINTOCI

BESTPRACTICE(FORNOW)

CHALLENGESOFTESTINGINCI

OVERCOMINGCHALLENGES

1

2

3

4

JENKINSFORPERFORMANCETESTING

SOMEUSEFULPLUGINS

5

6

Page 31: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PlotPlugin

Page 32: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PerformancePublisherPlugin

Page 33: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

BlazeMeterPlugin

Page 34: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

TaurusTool

§ Whynotplugin,butcommand-linetool§ UniversalplugfortestsinsideJenkins§ TaurusdesignedtoworkwithotherJenkinsplugins

gettaurus.org

Page 35: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FinalSummary

WehavetotestinsideCI

Therearewaystostartitsimple

Therearetools&pluginstohelp

Jenkins2.0pipelinesFTW!

Page 36: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 37: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

DO5T57SCaseStudy:HowIMovedTheNFLfromWaterfalltoAgilein4Months 11/16/2016at03:45pm

DO5X55SCaseStudy:WalmartBrasil—SeasonalPeakTrafficReadiness 11/16/2016at04:30am

DO5X56SNext-GenerationPerformanceTestingwithBlazeMeter,ServiceVirtualizationandTestDataManagement 11/17/2016at04:30pm

Page 38: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

MustSeeDemos

ModernizeAppDeliveryIntegratedCDTheater5- DOV501P

DeliverTestDataFasterTestDataManagerTheater5- DOV511P

DeliverBetterAppsServiceVirtualizationTheater5- DOV507P

OrchestrateYourReleaseReleaseAutomationTheater5- DOV513P

Page 39: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 40: Explore the State of Open Source Performance Testing in Continuous Delivery Pipelines with BlazeMeter Chief Scientist Andrey Pokhilko

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.40 @CAWORLD#CAWORLD

DevOps– ContinuousDelivery

FormoreinformationonDevOps– ContinuousDelivery,pleasevisit:http://cainc.to/PiTFpu