SlideShare a Scribd company logo
World®
’16
Pre	Con	Lab:	Apache	JMeter from	
the	Ground	Up
Refael	Botbol – Services	Client	Manager	– CA	Technologies
DO5X50L
DEVOPS
2 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
For	Informational	Purposes	Only	
Terms	of	this	Presentation
©	2016	CA.	All	rights	reserved.	All	trademarks	referenced	herein	belong	to	their	respective	companies.
The	content	provided	in	this CA	World	2016	presentation	is	intended	for	informational	purposes	only	and	does	not	form	any	type	of	
warranty. The information	provided	by	a	CA	partner	and/or	CA	customer	has	not	been	reviewed	for	accuracy	by	CA.
3 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Abstract
Apache	JMeter is	an	easy	to	use	open-source	tool	for	load	and	
performance	testing	for	web	and	mobile	applications	and	APIs.	
For	those	of	you	just	getting	to	grips	with	JMeter,	this	session	
will	provide	you	with	a	quick	introduction	to	JMeter and	walk	
through	basic	JMeter concepts	with	hands-on	lab	exercises	on	
building	and	running	basic	load	tests.
Refael	Botbol
CA	Technologies
Services	Client	
Manager
4 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Agenda
JMETER	OVERVIEW	
JMETER	DEMONSTRATION	
JMETER	LABS	
Q	&	A
1
2
3
4
5 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter
§ Open	Source	solution	to	perform	
– Performance	tests
– Business	functional	test
– Regression	test,	etc.
§ Created	by	Stefano	Mazzocchi of	the	Apache	Software	
Foundation	in	1998	to	execute	performance	test	on	what	is	
now	Tomcat.	
Overview
6 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter
§ Apache	redesigned	JMeter to	enhance	GUI	and	
other	capabilities
§ JMeter is	a	100%	Java	desktop	application	with	a	
Java	Swing	based	GUI
§ Can	run	on	any	environment	that	runs	Java	virtual	machine
Overview	(Contd.)
7 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ Web	−	HTTP,	HTTPS	sites	'web	1.0'	web	2.0	ajax	
§ Web	Services	−	SOAP	/	XML-RPC,	REST
§ Database	via	JDBC	drivers
§ Directory	−	LDAP
§ Messaging	Oriented	service	via	JMS
§ Service	−	POP3,	IMAP,	SMTP
§ FTP	Service
§ Extendable	using	Plugins
Supported	Protocols
8 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ Freely	available	– Open	Source	software
§ Perform	automated	functional	and	performance	testing
§ Supports	multiple	server	types/platforms	– Linux,	Win,	OSX
§ Simple	and	intuitive	GUI	
§ Test	plans	are	stored	in	XML	format
§ Full	multi-threading	framework	allows	concurrent	sampling
§ Extensible	through	Plugins	– CA	Founded	by	BlazeMeter Chief	
Scientist Andrey	Pokhilko
Key	Features
9 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ JMeter simulates	virtual	users	sending	requests	to	
target	server
§ Returns	statistics	that	show	the	performance/functionality	
of	the	target	server/application	via	tables,	graphs,	etc.
How	it	works?
10 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ Java	JDK	1.7	(for	JMeter 3.0)	– JMeter is	a	
framework	for	Java	and	needs	JDK	to	run	
§ Windows,	Linux,	Unix,	Mac
§ System	resource	(CPU,	Memory,	Disk,	network)	requirements	
depends	on	type	or	tests	executed	and	test	configurations	
(#	of	threads	etc.)
System	Requirements
11 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
1. Download	and	install	JDK.	Verify	installation.	
Add	JAVA_HOME	environment	variable	and	add	
Java	binary	to	PATH
2. Download	and	install	Apache	JMeter -
http://jmeter.apache.org/download_jmeter.cgi
3. Run	JMeter using	jmeter.bat or	jmeter.sh
Installation	and	Configuration
12 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
Installation	Directory	Structure
apache-jmeter-2.9
apache-jmeter-2.9bin
apache-jmeter-2.9docs
apache-jmeter-2.9extras
apache-jmeter-2.9lib
apache-jmeter-2.9libext
apache-jmeter-2.9libjunit
apache-jmeter-2.9printable_docs
13 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
1. Create	Test	Plan
1. Recording,	Manually
2. Add,	Remove,	Load,	Save	Elements
3. Configure	Elements
4. Save	Test	Plan
5. Run	Test	Plan
6. Stop	Test	Run
7. Review	Test	Results
Using	JMeter
14 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
1. Thread	Group
2. Controllers
3. Samplers
4. Logic	Controllers
5. Test	Fragments
6. Listeners
Elements
7. Timers
8. Assertions
9. Configuration	Elements
10. Pre-Processor
11. Post-Processor
15 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
Elements
16 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
1. Configuration	elements
2. Pre-Processors
3. Timers
4. Sampler
5. Post-Processors
6. Assertions	
7. Listeners
Elements	Execution	Order
17 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
1. Start	JMeter
2. Rename	Default	Test	Plan
3. Add	Thread	Group
4. Add	Sampler
5. Add	Listener
6. Run	Test	Plan
7. Review	output/results
8. Save	results
Creating	a	Simple	Web	Test	Plan
18 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ Consists	of	Master	System	(GUI)	which	controls	remote	
Slave	Systems	(running	JMeter Server)
§ Uses	Java	RMIRegistry service	for	communication	
across	instances
§ Listens	on	1099	port	by	default
Distributed	Architecture
19 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
Master	– System	running	JMeter GUI
Slave	– System	running	JMeter	
Server	which	takes	command	
from	GUI	and	sends	requests	to	
target	system(s)
Target	– System	Under	Test
Distributed	Architecture	(Contd.)
SUT
Target	WebServer
Slave
JMeter	Server
Slave
JMeter	Server
Slave
JMeter	Server
Master
JMeter	GUI
20 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
§ Extend	JMeter to	support	various	capabilities
§ 60+	plugins
– Stepping	&	Ultimate	thread	groups
– Dummy	sampler
– Flexible	file	writer
– …
§ Founded	by	Andrey	Pokhilko,	Chief	Scientist,	CA	BlazeMeter
§ More	information	at	– https://jmeter-plugins.org/	
Creating	a	Simple	Web	Test	Plan
21 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Apache	JMeter	
Create	basic	JMeter test	script
§ Create	and	execute	a	simple	JMeter test	case	to	test	a	website	
http://blazedemo.com
§ Increase	threads	from	1	to	10	
§ Add	cookie	and	cache	mangers	to	better	simulate	real	
browser’s	behavior
§ Review	response	times
Labs
22 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Questions?
23 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Recommended	Sessions
SESSION	# TITLE DATE/TIME
DO5X26S What's	New	in	CA	Test	Data	Manager	4.0? 11/16/2016	at	4:30	pm	
DO5T17S
Case	Study:	Nationwide	Building	Society's	CA	Test	Data	
Manager	Success	Story
11/17/2016	at	1:45	pm
DO5X42S
TechVision:	Test	Data	on	Demand:	Delivering	the	Right	
Data,	to	the	Right	Place,	at	the	Right	Time
11/17/2016	at	4:30	pm
24 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Must	See	Demos
Data	
Compliance	and	
Testing
CA	TDM
DevOps	Theatre	5
Deliver	Test	
Data	Faster	
CA	TDM
DevOps	Theatre	5
Use	Model	
Based	Testing
CA	ARD
DevOps	Theatre	5	
Achieve	
Maximum	Test	
Coverage
CA	ARD
DevOps	Theatre	5
25 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Stay	connected	at	communities.ca.com
Thank	you.
@CAWORLD					#CAWORLD ©	2016	CA.	All	RIGHTS	RESERVED.26 @CAWORLD					#CAWORLD
DevOps	– Continuous	Delivery
For	more	information	on	DevOps	– Continuous	Delivery,	
please	visit:	http://cainc.to/PiTFpu

More Related Content

PDF
Changing the landscape of Load Testing with Open Source Projects of JMeter an...
PDF
CA Agile Requirements Designer and Coverage 101 - Hands on Lab
PDF
Decrease Test Build Time, Not Test Quality with CA BlazeMeter
PDF
CA BlazeMeter Essentials
PDF
Auto Integrate – DevTest Automation and Integration Best Practices
PDF
Moving from Load Runner to Open Source: Increase Performance Test Coverage 10...
PDF
Tech Talk: Running Successful Betas in a DevOps World
PDF
Pre-Con Ed: Become a Power User of CA Release Automation to Get the Most out ...
Changing the landscape of Load Testing with Open Source Projects of JMeter an...
CA Agile Requirements Designer and Coverage 101 - Hands on Lab
Decrease Test Build Time, Not Test Quality with CA BlazeMeter
CA BlazeMeter Essentials
Auto Integrate – DevTest Automation and Integration Best Practices
Moving from Load Runner to Open Source: Increase Performance Test Coverage 10...
Tech Talk: Running Successful Betas in a DevOps World
Pre-Con Ed: Become a Power User of CA Release Automation to Get the Most out ...

What's hot (20)

PDF
CA Agile Requirements Designer 101 - an introduction to the general premise o...
PDF
Pre-Con Education: Winning at Continuous Delivery with Service Virtualization
PDF
Pre-Con Ed: Migrate to CA Release Automation 6.x to Exploit New Features
PDF
Data on Demand: Now That’s What we’re Lookin’ For!
PDF
DevOps: From Industry Buzzword to Real Implementation / Real Benefits
PDF
Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Pra...
PDF
What's New in CA Test Data Manager 4.0?
PDF
Pre-Con Lab: Test Automation Across Nine Open Source Tools—Taurus
PDF
Pre-Con Ed: What's New in Service Virtualization V10.0?
PDF
Tech Talk: The Continuous Delivery Metrics That Will Make Your Pipeline Fast ...
PDF
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
PDF
TechTalk: Going Full Circle - Linking Code to Tests to Requirements and Back ...
PDF
Case Study: American Family Insurance Best Practices for Automating Guidewire...
PDF
Pre-Con Ed: CA API Gateway: How to Deploy Your Gateway Across Multiple Enviro...
PDF
Pre-Con Education: Changing End Points Getting You Down While Trying to Creat...
PDF
Pre-Con Lab: Build Plug-ins for CA Release Automation Continuous Delivery Edi...
PPTX
Pre-Con Ed: CA Mobile App Services: Build the Powerful Mobile App Every Enter...
PDF
Pre-Con Ed: Make Zero-Touch Application Releases a Reality with the Integrate...
PDF
Model-Based Testing for Achieving Maximum CD Pipeline Acceleration
PPTX
Pre-Con Ed: There has to be a Better Way to Fast Test Coverage!
CA Agile Requirements Designer 101 - an introduction to the general premise o...
Pre-Con Education: Winning at Continuous Delivery with Service Virtualization
Pre-Con Ed: Migrate to CA Release Automation 6.x to Exploit New Features
Data on Demand: Now That’s What we’re Lookin’ For!
DevOps: From Industry Buzzword to Real Implementation / Real Benefits
Pre-Con Ed: Automated Application Deployment 101—Getting Started and Best Pra...
What's New in CA Test Data Manager 4.0?
Pre-Con Lab: Test Automation Across Nine Open Source Tools—Taurus
Pre-Con Ed: What's New in Service Virtualization V10.0?
Tech Talk: The Continuous Delivery Metrics That Will Make Your Pipeline Fast ...
Pre-Con Education: Shift-Left Performance Testing for Shift-Forward Quality
TechTalk: Going Full Circle - Linking Code to Tests to Requirements and Back ...
Case Study: American Family Insurance Best Practices for Automating Guidewire...
Pre-Con Ed: CA API Gateway: How to Deploy Your Gateway Across Multiple Enviro...
Pre-Con Education: Changing End Points Getting You Down While Trying to Creat...
Pre-Con Lab: Build Plug-ins for CA Release Automation Continuous Delivery Edi...
Pre-Con Ed: CA Mobile App Services: Build the Powerful Mobile App Every Enter...
Pre-Con Ed: Make Zero-Touch Application Releases a Reality with the Integrate...
Model-Based Testing for Achieving Maximum CD Pipeline Acceleration
Pre-Con Ed: There has to be a Better Way to Fast Test Coverage!
Ad

Viewers also liked (15)

PDF
How to Solve Problems of Testing in Agile Environments
PDF
Get Started with JMeter in 60 Minutes
PDF
Introduction to Service Virtualization
PDF
Case Study: Dell - APIs and Microservices for Cloud-Native Application Archit...
PDF
TDM: Masking, Subsetting and generating Synthetic Data
PDF
Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...
PDF
GM Financial's Test Data Management and Automated Testing Journey
PPTX
PPTX
Performance testing with Apache JMeter
PDF
Performance Testing - Apache Benchmark, JMeter
PDF
A Brief History of IT Infrastructure
PDF
PPTX
Continuous Performance Testing with Taurus and Jmeter
PDF
JMeter
PDF
Apache JMeter로 웹 성능 테스트 방법
How to Solve Problems of Testing in Agile Environments
Get Started with JMeter in 60 Minutes
Introduction to Service Virtualization
Case Study: Dell - APIs and Microservices for Cloud-Native Application Archit...
TDM: Masking, Subsetting and generating Synthetic Data
Moving to Open-Source Tools - How to Increase Performance Test Coverage Throu...
GM Financial's Test Data Management and Automated Testing Journey
Performance testing with Apache JMeter
Performance Testing - Apache Benchmark, JMeter
A Brief History of IT Infrastructure
Continuous Performance Testing with Taurus and Jmeter
JMeter
Apache JMeter로 웹 성능 테스트 방법
Ad

Similar to Apache JMeter from the Ground Up (20)

PPTX
Performance testing using jmeter
PPTX
JMeter Training in Delhi
PDF
This Is How We Test Our Performance With JMeter
PPTX
What Is JMeter?
PPTX
Introduction to jmeter & how to view jmeter Test Result in Real-Time
PPTX
How to use Jmeter for performance testing
PPTX
Perofrmance testing and apache jmeter
PPTX
PDF
Performancetestingjmeter 131210111657-phpapp02
PPTX
Load testing a website through JMETER
PDF
Automation Testing with JMeter
PDF
Automation testing with J-Meter
PPTX
apache_jmeter.pptx
PPTX
J Meter Intro
PPTX
JMeter Intro
PDF
Pre-Con Ed: Who Moved My UI? API Testing in a Headless World.
PDF
Apache Jmeter 3.2 Performance & Load Testing 2017
PPTX
Presentation on Apache Jmeter
PPT
JMeter_introduction_Final.ppt for jmeter
Performance testing using jmeter
JMeter Training in Delhi
This Is How We Test Our Performance With JMeter
What Is JMeter?
Introduction to jmeter & how to view jmeter Test Result in Real-Time
How to use Jmeter for performance testing
Perofrmance testing and apache jmeter
Performancetestingjmeter 131210111657-phpapp02
Load testing a website through JMETER
Automation Testing with JMeter
Automation testing with J-Meter
apache_jmeter.pptx
J Meter Intro
JMeter Intro
Pre-Con Ed: Who Moved My UI? API Testing in a Headless World.
Apache Jmeter 3.2 Performance & Load Testing 2017
Presentation on Apache Jmeter
JMeter_introduction_Final.ppt for jmeter

More from CA Technologies (20)

PPTX
CA Mainframe Resource Intelligence
PDF
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
PDF
Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...
PDF
Case Study: How The Home Depot Built Quality Into Software Development
PDF
Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...
PDF
Case Study: Privileged Access in a World on Time
PDF
Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...
PDF
Case Study: Putting Citizens at The Center of Digital Government
PDF
Making Security Work—Implementing a Transformational Security Program
PDF
Keynote: Making Security a Competitive Advantage
PDF
Emerging Managed Services Opportunities in Identity and Access Management
PDF
The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...
PDF
Leveraging Monitoring Governance: How Service Providers Can Boost Operational...
PDF
The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...
PDF
Application Experience Analytics Services: The Strategic Digital Transformati...
PDF
Application Experience Analytics Services: The Strategic Digital Transformati...
PDF
Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...
PDF
Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...
PDF
Blockchain: Strategies for Moving From Hype to Realities of Deployment
PDF
Establish Digital Trust as the Currency of Digital Enterprise
CA Mainframe Resource Intelligence
Mainframe as a Service: Sample a Buffet of IBM z/OS® Platform Excellence
Case Study: How CA Went From 40 Days to Three Days Building Crystal-Clear Tes...
Case Study: How The Home Depot Built Quality Into Software Development
Pre-Con Ed: Privileged Identity Governance: Are You Certifying Privileged Use...
Case Study: Privileged Access in a World on Time
Case Study: How SGN Used Attack Path Mapping to Control Privileged Access in ...
Case Study: Putting Citizens at The Center of Digital Government
Making Security Work—Implementing a Transformational Security Program
Keynote: Making Security a Competitive Advantage
Emerging Managed Services Opportunities in Identity and Access Management
The Unmet Demand for Premium Cloud Monitoring Services—and How Service Provid...
Leveraging Monitoring Governance: How Service Providers Can Boost Operational...
The Next Big Service Provider Opportunity—Beyond Infrastructure: Architecting...
Application Experience Analytics Services: The Strategic Digital Transformati...
Application Experience Analytics Services: The Strategic Digital Transformati...
Strategic Direction Session: Deliver Next-Gen IT Ops with CA Mainframe Operat...
Strategic Direction Session: Enhancing Data Privacy with Data-Centric Securit...
Blockchain: Strategies for Moving From Hype to Realities of Deployment
Establish Digital Trust as the Currency of Digital Enterprise

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Electronic commerce courselecture one. Pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Empathic Computing: Creating Shared Understanding
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
Programs and apps: productivity, graphics, security and other tools
Electronic commerce courselecture one. Pdf
A comparative analysis of optical character recognition models for extracting...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Empathic Computing: Creating Shared Understanding
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MIND Revenue Release Quarter 2 2025 Press Release
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Diabetes mellitus diagnosis method based random forest with bat algorithm
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
sap open course for s4hana steps from ECC to s4
Review of recent advances in non-invasive hemoglobin estimation
Big Data Technologies - Introduction.pptx
Encapsulation_ Review paper, used for researhc scholars

Apache JMeter from the Ground Up