get started with jmeter in 60 minutes

11
Get Started With JMeter in 60 Minutes Wing Ho Principal Customer Success Manager [email protected]

Upload: ca-technologies

Post on 25-Jan-2017

23 views

Category:

Technology


0 download

TRANSCRIPT

GetStartedWithJMeterin60Minutes

[email protected]

2 ©2017CA.ALLRIGHTSRESERVED.

WhatIsPerformanceTesting?

3 ©2017CA.ALLRIGHTSRESERVED.

BadUserExperienceCanLeadTo

§ LossofSales

§ HurtsyourBrand

§ LossofUsersPermanently

3 ©2017CA.ALLRIGHTSRESERVED.

4 ©2017CA.ALLRIGHTSRESERVED.

http://www.blazedemo.com

CLIENTS

Performance/LoadTesting

5 ©2017CA.ALLRIGHTSRESERVED.

JMeter Architecture

§ Cross-platform,open-sourceloadandperformancetestingtool

§ JMeter isNOTabrowser

§ Worksattheprotocolleveltosimulateclientrequestsatscale

§ CABlazeMeter®is100%JMetercompatible;thinkJMeter inthecloud

6 ©2017CA.ALLRIGHTSRESERVED.

JMeterInstallation

http://jmeter.apache.org/download_jmeter.cgi

7 ©2017CA.ALLRIGHTSRESERVED.

JMeter Terminology

§ TestPlan(JMeter Script)

§ ThreadGroup(thread=user)

§ Sampler(request)

§ ConfigElements

§ Timer(delay)

§ Listener(reporting,logginganddebugging)

§ Assertion(errorchecking)

§ Pre-Processor(modifytherequest)

§ Post-Processor(parsetheresponse)

§ LogicController

8 ©2017CA.ALLRIGHTSRESERVED.

RecordingaTestPlan

BlazeMeter’s recorder JMeter’s recorder

9 ©2017CA.ALLRIGHTSRESERVED.

Assertions(akaCheckpoints)

Is the response from the server correct or not?

10 ©2017CA.ALLRIGHTSRESERVED.

Data-DrivenTesting

Test inputs are simply read from

a CSV file.

Toviewthefullwebcastrecording,visit:

http://info.blazemeter.com/get-started-jmeter-60-minutes-webinar