SlideShare a Scribd company logo
1 of 16
TestHive Workshops Week 8
Performance Testing with Cucumber and Jmeter
Ahmet KÖK
testhive@googlegroups.com
What is Performance testing?
 Performance testing is testing that is performed, to
determine how fast some aspect of a system performs
under a particular workload.
Types of Performance Testing
 Load Testing
A test to measure the performance of a system under a
specified level of load.
 Stress Testing
A test in which the load on a system is progressively
increased until performance degrades below a specified level.
The test finds the maximum load the system can support.
 Volume Testing
A test in which the volume of data in the system is set to a
realistic or pre-agreed level. The performance of a system on
an empty database is normally better than that on a database
with a realistic volume of data.
Performance Testing Process
Maybe your boss, who is a beginner, will ask you
What is JMeter ?
The Apache JMeterTM is pure Java open source software, which was first
developed by Stefano Mazzocchi of the Apache Software Foundation,
designed to load test functional behavior and measure performance. You
can use JMeter to analyze and measure the performance of web
application or variety of services. Performance testing means testing a
web application against heavy load, multiple and concurrent user traffic.
JMeter originally is used for testing Web Application or FTP application.
Nowadays, it is used for functional test, database server test etc.
Why JMeter ?
How does JMeter work ?
How does JMeter work ?
Operating system Support for JMeter
Operating system Java Virtual Machine Architecture
Free BSD 9.0 Open JDK 6 amd64
Linux 2.4, 2.6, 3.1 Sun JDK 5, 6, 7 and Open
JDK 6
i386, amd64
Mac OS JDK6
Window XP Sun JDK6, Sun JDK 7 32/64 bits
Window 7 Sun JDK 5, 6, 7. 32 bits
Steps to Install JMeter
Step 1) Install Java
You can download and install the latest version of Java SE Development
Kit.
Step 2) Download Jmeter
http://jmeter.apache.org/download_jmeter.cgi
Step 3) Installation
Installation of JMeter is extremely easy and simple. You simply unzip
the zip/tar file into the directory where you want JMeter to be installed.
Step 4) Launch Jmeter
You can start JMeter in 3 modes:
 GUI Mode
 Server Mode
 Command Line Mode
Start JMeter in GUI Mode
Use JMeter in Linux
• Using JMeter in Linux is the same as in Window; you simply run
the following shell script.
• Run the script file jmeter (This file has no extension)- run
JMeter (in GUI mode by default).
• Run the script file jmeter-server - start JMeter in server mode
(calls JMeter script with appropriate parameters)
• jmeter.sh - very basic JMeter script with no JVM options
specified.
• mirror-server.sh - runs the JMeter Mirror Server in non-GUI
mode
• shutdown.sh - Run the Shutdown client to stop a non-GUI
instance gracefully
• stoptest.sh - Run the Shutdown client to stop a non-GUI
instance abruptly
JMeter GUI
Recording Elements & Settings
THANK YOU
Resources:
http://jmeter.apache.org/
http://www.guru99.com/
http://www.automation-consultants.com/
http://community.blazemeter.com/

More Related Content

What's hot

What's hot (10)

JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
JMeter Load Testing | Load Testing Using JMmeter | JMeter Tutorial For Beginn...
 
Jmeter
JmeterJmeter
Jmeter
 
Scaling Engineering with Docker
Scaling Engineering with DockerScaling Engineering with Docker
Scaling Engineering with Docker
 
This Is How We Test Our Performance With JMeter
This Is How We Test Our Performance With JMeterThis Is How We Test Our Performance With JMeter
This Is How We Test Our Performance With JMeter
 
Monufacture: Effortless Test Data for MongoDB
Monufacture: Effortless Test Data for MongoDBMonufacture: Effortless Test Data for MongoDB
Monufacture: Effortless Test Data for MongoDB
 
Stress driven development
Stress driven developmentStress driven development
Stress driven development
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Odoo profiler
Odoo profilerOdoo profiler
Odoo profiler
 
Making more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - PhoronixMaking more informed Linux hardware Choices - Phoronix
Making more informed Linux hardware Choices - Phoronix
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeter
 

Similar to J meter

Software testing
Software testingSoftware testing
Software testing
nil65
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
Nitish Bhardwaj
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
David O'Dowd
 

Similar to J meter (20)

Apache J meter
Apache J meterApache J meter
Apache J meter
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
Software testing
Software testingSoftware testing
Software testing
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeter
 
Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overview
 
Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_Overview
 
Continuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and JmeterContinuous Performance Testing with Taurus and Jmeter
Continuous Performance Testing with Taurus and Jmeter
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
Performance Testing With Jmeter
Performance Testing With JmeterPerformance Testing With Jmeter
Performance Testing With Jmeter
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 
Introduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-TimeIntroduction to jmeter & how to view jmeter Test Result in Real-Time
Introduction to jmeter & how to view jmeter Test Result in Real-Time
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
 
jmeter interview q.pdf
jmeter interview q.pdfjmeter interview q.pdf
jmeter interview q.pdf
 
How to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and BeyondHow to Simplify Load Testing: JMeter and Beyond
How to Simplify Load Testing: JMeter and Beyond
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
JMeter Training in Delhi
JMeter Training in DelhiJMeter Training in Delhi
JMeter Training in Delhi
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

J meter

  • 1. TestHive Workshops Week 8 Performance Testing with Cucumber and Jmeter Ahmet KÖK testhive@googlegroups.com
  • 2. What is Performance testing?  Performance testing is testing that is performed, to determine how fast some aspect of a system performs under a particular workload.
  • 3. Types of Performance Testing  Load Testing A test to measure the performance of a system under a specified level of load.  Stress Testing A test in which the load on a system is progressively increased until performance degrades below a specified level. The test finds the maximum load the system can support.  Volume Testing A test in which the volume of data in the system is set to a realistic or pre-agreed level. The performance of a system on an empty database is normally better than that on a database with a realistic volume of data.
  • 5. Maybe your boss, who is a beginner, will ask you
  • 6. What is JMeter ? The Apache JMeterTM is pure Java open source software, which was first developed by Stefano Mazzocchi of the Apache Software Foundation, designed to load test functional behavior and measure performance. You can use JMeter to analyze and measure the performance of web application or variety of services. Performance testing means testing a web application against heavy load, multiple and concurrent user traffic. JMeter originally is used for testing Web Application or FTP application. Nowadays, it is used for functional test, database server test etc.
  • 10. Operating system Support for JMeter Operating system Java Virtual Machine Architecture Free BSD 9.0 Open JDK 6 amd64 Linux 2.4, 2.6, 3.1 Sun JDK 5, 6, 7 and Open JDK 6 i386, amd64 Mac OS JDK6 Window XP Sun JDK6, Sun JDK 7 32/64 bits Window 7 Sun JDK 5, 6, 7. 32 bits
  • 11. Steps to Install JMeter Step 1) Install Java You can download and install the latest version of Java SE Development Kit. Step 2) Download Jmeter http://jmeter.apache.org/download_jmeter.cgi Step 3) Installation Installation of JMeter is extremely easy and simple. You simply unzip the zip/tar file into the directory where you want JMeter to be installed. Step 4) Launch Jmeter You can start JMeter in 3 modes:  GUI Mode  Server Mode  Command Line Mode
  • 12. Start JMeter in GUI Mode
  • 13. Use JMeter in Linux • Using JMeter in Linux is the same as in Window; you simply run the following shell script. • Run the script file jmeter (This file has no extension)- run JMeter (in GUI mode by default). • Run the script file jmeter-server - start JMeter in server mode (calls JMeter script with appropriate parameters) • jmeter.sh - very basic JMeter script with no JVM options specified. • mirror-server.sh - runs the JMeter Mirror Server in non-GUI mode • shutdown.sh - Run the Shutdown client to stop a non-GUI instance gracefully • stoptest.sh - Run the Shutdown client to stop a non-GUI instance abruptly