SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Presented By Anjali K G
Livares Technologies Pvt Ltd
Apache JMeter
Introduction
❖ Java open source desktop application
❖ Designed to analyze and measure performance of web applications
❖ JMeter has friendly GUI
❖ Platform independent
❖ Full multithreading framework
❖ Visualize test result
❖ Easy installation
❖ Support multi protocol
❖ Record and play back
❖ Can be integrated with selenium for automated testing
Installing JMeter
Step 1: Install Java
JMeter is a pure Desktop Application. You will need to have a JVM 6 or higher. You can
always download the latest version.
Step 2: Download JMeter
Choose the binary file (either zip or tgz) to download as shown in the picture
Step 3: Install JMeter
To install JMeter, unzip the files into the directory that you want JMeter to be installed.
Step 4: Run JMeter
• You can start JMeter in three (3) modes:
• GUI Mode
• Server Mode
• Command Line Mode
GUI Mode
To run JMeter in GUI mode, you can run the jmeter.bat file in Windows. For Linux/Mac run
the jmeter.sh file.
Server Mode
Server Mode is used for distributed testing. You would use this with the client-server model.
To start the server mode, run the bat file. This is in bin/jmeter-server.bat as shown below
Command Line Mode
You can also run JMeter from the command line
Here is an example: jmeter -n -t "..ProjectDirectorylHome.jmx" -l "ResultsDirectory/test" -e -o "test-report/"
JMeter Components
JMeter Components
There are several JMeter components that you need too know before you
can begin testing.
The most common components include:
• Thread Group
• Samplers
• Listeners
• Timers
Thread Groups
A Thread Group is a collection of threads.
A thread represents a user that will carry out specific actions.
Ex: Let us say John, Susan, Mary and Paul visit www.google.com. That would be four threads. JMeter will create and simulate these four
users accessing Google.
Samplers
Samplers inform the Thread Group (Users) of the type of request it is to make.
The requests are processed in the order they are made.
There are different request that can be made. They include: HTTP Request, FTP Request, JDBC Request,Java object request, LDAP
Request and WebService (SOAP) Request
Listeners
Listeners show the result of the test.
There are various Listeners that will display the results in different formats.
Timers
Timers add a delay between each request a user makes.
A timer makes a test more realistic as all users will not visit the site at the same time..
Performance Test
What is Performance Testing?
• Performance Testing refers to the process of determining the effectiveness of a computer/device,
network, software or application when exposed to certain conditions.
• JMeter Performance Testing includes Load Testing and Stress Testing
Load Testing
This is usually carried out to determine how the system will behave when being used by the expected
number of users The amount of users using the system would constantly be increased over a specific
time period.
Stress Testing
This is usually carried out to determine how well the system will perform if the load is beyond that which
is expected. Stress Testing tries to break the system under test by overwhelming its resources or by
taking resources away from it (in which case it is sometimes called negative testing). The purpose of this
is to ensure that the system fails and recovers gracefully.
Performance Testing with JMeter
Step 1. Add Thread Group
This performance test will be done on ShelterLuv using 30 Users.
• The ramp up period tells JMeter how long it should take before all the users have executed the required
action.
• The loop count states the number of times each user will repeat the action.
Performance Testing with JMeter
Step 2. Add JMeter Elements
Performance Testing with JMeter
Step 3. Add Listener
The Listener will allow you to view the result of your test. For this test we will choose the Summary Report and
the Table.
Performance Testing with JMeter
Step 4. Run Test
Click the green button to run your test. You can view the results in the Summary report and the Table.
OR
Run JMeter from the command line
OUR CONTACT DETAILS
Our helpline is always open to receive any inquiry or feedback. Please feel free to contact us
Livares Technologies Pvt Ltd
5th Floor, Yamuna Building
Technopark Phase III Campus
Trivandrum, Kerala, India-695581
www.livares.com
contact@livares.com
+91-471-2710003 | +91-471-2710004
@livaresofficial
www.facebook.com/livaresofficial
ADDRESS:
EMAIL:
TELEPHONE:
WEBSITE:
THANK YOU FOR YOUR TIMEComing together is a beginning; keeping together is progress; working together is success.

Weitere ähnliche Inhalte

Was ist angesagt?

JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webapp
Amit Solanki
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
 
Jmeter load testing
Jmeter load testingJmeter load testing
Jmeter load testing
Ali Raza
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter Introduction
Søren Lund
 

Was ist angesagt? (20)

JMeter
JMeterJMeter
JMeter
 
JMeter - Performance testing your webapp
JMeter - Performance testing your webappJMeter - Performance testing your webapp
JMeter - Performance testing your webapp
 
How to Get Automatic Analysis for Load Test Results
How to Get Automatic Analysis for Load Test ResultsHow to Get Automatic Analysis for Load Test Results
How to Get Automatic Analysis for Load Test Results
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
 
JMeter Post-Processors
JMeter Post-ProcessorsJMeter Post-Processors
JMeter Post-Processors
 
Jmeter load testing
Jmeter load testingJmeter load testing
Jmeter load testing
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter Introduction
 
Day1_Apache_JMeter_Overview
Day1_Apache_JMeter_OverviewDay1_Apache_JMeter_Overview
Day1_Apache_JMeter_Overview
 
Unit testing using Munit Part 1
Unit testing using Munit Part 1Unit testing using Munit Part 1
Unit testing using Munit Part 1
 
Jmeter
JmeterJmeter
Jmeter
 
Open source load testing
Open source load testingOpen source load testing
Open source load testing
 
NUnit Features Presentation
NUnit Features PresentationNUnit Features Presentation
NUnit Features Presentation
 
Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWS
 
Unit testing with NUnit
Unit testing with NUnitUnit testing with NUnit
Unit testing with NUnit
 
Beginners - Get Started With Unit Testing in .NET
Beginners - Get Started With Unit Testing in .NETBeginners - Get Started With Unit Testing in .NET
Beginners - Get Started With Unit Testing in .NET
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
 
TestNG Data Binding
TestNG Data BindingTestNG Data Binding
TestNG Data Binding
 
PERFORMANCE TESTING USING LOAD RUNNER
PERFORMANCE  TESTING  USING  LOAD RUNNERPERFORMANCE  TESTING  USING  LOAD RUNNER
PERFORMANCE TESTING USING LOAD RUNNER
 
Unit Testing Using N Unit
Unit Testing Using N UnitUnit Testing Using N Unit
Unit Testing Using N Unit
 
TestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingTestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit Testing
 

Ähnlich wie Apache J meter

Software testing
Software testingSoftware testing
Software testing
nil65
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
Nitish Bhardwaj
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
Bhojan Rajan
 

Ähnlich wie Apache J meter (20)

Software testing
Software testingSoftware testing
Software testing
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
J meter
J meterJ meter
J meter
 
Perofrmance testing and apache jmeter
Perofrmance testing and apache jmeterPerofrmance testing and apache jmeter
Perofrmance testing and apache jmeter
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
 
Day1 JMeter_training_overview
Day1 JMeter_training_overviewDay1 JMeter_training_overview
Day1 JMeter_training_overview
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
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
 
Mastering Distributed Performance Testing
Mastering Distributed Performance TestingMastering Distributed Performance Testing
Mastering Distributed Performance Testing
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 
JMeter Training in Delhi
JMeter Training in DelhiJMeter Training in Delhi
JMeter Training in Delhi
 
jmeter interview q.pdf
jmeter interview q.pdfjmeter interview q.pdf
jmeter interview q.pdf
 
J-meter Workshop Vodqa
J-meter Workshop VodqaJ-meter Workshop Vodqa
J-meter Workshop Vodqa
 
JMeter Workshop vodQA
JMeter Workshop vodQAJMeter Workshop vodQA
JMeter Workshop vodQA
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Presentation on Apache Jmeter
Presentation on Apache JmeterPresentation on Apache Jmeter
Presentation on Apache Jmeter
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 

Mehr von Livares Technologies Pvt Ltd

Mehr von Livares Technologies Pvt Ltd (20)

Web Performance Optimization
Web Performance OptimizationWeb Performance Optimization
Web Performance Optimization
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Software Architecture Design
Software Architecture DesignSoftware Architecture Design
Software Architecture Design
 
Automation using Appium
Automation using AppiumAutomation using Appium
Automation using Appium
 
Bubble(No code Tool)
Bubble(No code Tool)Bubble(No code Tool)
Bubble(No code Tool)
 
Unsupervised Machine Learning
Unsupervised Machine LearningUnsupervised Machine Learning
Unsupervised Machine Learning
 
Developing Secure Apps
Developing Secure AppsDeveloping Secure Apps
Developing Secure Apps
 
Micro-Frontend Architecture
Micro-Frontend ArchitectureMicro-Frontend Architecture
Micro-Frontend Architecture
 
Introduction to Angular JS
Introduction to Angular JSIntroduction to Angular JS
Introduction to Angular JS
 
An Insight into Quantum Computing
An Insight into Quantum ComputingAn Insight into Quantum Computing
An Insight into Quantum Computing
 
Just in Time (JIT)
Just in Time (JIT)Just in Time (JIT)
Just in Time (JIT)
 
Introduction to Bitcoin
Introduction to Bitcoin Introduction to Bitcoin
Introduction to Bitcoin
 
Data Mining Technniques
Data Mining TechnniquesData Mining Technniques
Data Mining Technniques
 
Facade Design Pattern
Facade Design PatternFacade Design Pattern
Facade Design Pattern
 
Manual Vs Automation Testing
Manual Vs Automation TestingManual Vs Automation Testing
Manual Vs Automation Testing
 
Screenless display
Screenless displayScreenless display
Screenless display
 
Database Overview
Database OverviewDatabase Overview
Database Overview
 
An Introduction to Machine Learning
An Introduction to Machine LearningAn Introduction to Machine Learning
An Introduction to Machine Learning
 
An Introduction to Face Detection
An Introduction to Face DetectionAn Introduction to Face Detection
An Introduction to Face Detection
 
Smart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - TroncartSmart water meter solutions using LoRa WAN - Troncart
Smart water meter solutions using LoRa WAN - Troncart
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+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@
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
+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...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Apache J meter

  • 1. Presented By Anjali K G Livares Technologies Pvt Ltd Apache JMeter
  • 2. Introduction ❖ Java open source desktop application ❖ Designed to analyze and measure performance of web applications ❖ JMeter has friendly GUI ❖ Platform independent ❖ Full multithreading framework ❖ Visualize test result ❖ Easy installation ❖ Support multi protocol ❖ Record and play back ❖ Can be integrated with selenium for automated testing
  • 3. Installing JMeter Step 1: Install Java JMeter is a pure Desktop Application. You will need to have a JVM 6 or higher. You can always download the latest version. Step 2: Download JMeter Choose the binary file (either zip or tgz) to download as shown in the picture Step 3: Install JMeter To install JMeter, unzip the files into the directory that you want JMeter to be installed. Step 4: Run JMeter • You can start JMeter in three (3) modes: • GUI Mode • Server Mode • Command Line Mode
  • 4. GUI Mode To run JMeter in GUI mode, you can run the jmeter.bat file in Windows. For Linux/Mac run the jmeter.sh file.
  • 5. Server Mode Server Mode is used for distributed testing. You would use this with the client-server model. To start the server mode, run the bat file. This is in bin/jmeter-server.bat as shown below
  • 6. Command Line Mode You can also run JMeter from the command line Here is an example: jmeter -n -t "..ProjectDirectorylHome.jmx" -l "ResultsDirectory/test" -e -o "test-report/"
  • 8. JMeter Components There are several JMeter components that you need too know before you can begin testing. The most common components include: • Thread Group • Samplers • Listeners • Timers
  • 9. Thread Groups A Thread Group is a collection of threads. A thread represents a user that will carry out specific actions. Ex: Let us say John, Susan, Mary and Paul visit www.google.com. That would be four threads. JMeter will create and simulate these four users accessing Google.
  • 10. Samplers Samplers inform the Thread Group (Users) of the type of request it is to make. The requests are processed in the order they are made. There are different request that can be made. They include: HTTP Request, FTP Request, JDBC Request,Java object request, LDAP Request and WebService (SOAP) Request
  • 11. Listeners Listeners show the result of the test. There are various Listeners that will display the results in different formats.
  • 12. Timers Timers add a delay between each request a user makes. A timer makes a test more realistic as all users will not visit the site at the same time..
  • 14. What is Performance Testing? • Performance Testing refers to the process of determining the effectiveness of a computer/device, network, software or application when exposed to certain conditions. • JMeter Performance Testing includes Load Testing and Stress Testing Load Testing This is usually carried out to determine how the system will behave when being used by the expected number of users The amount of users using the system would constantly be increased over a specific time period. Stress Testing This is usually carried out to determine how well the system will perform if the load is beyond that which is expected. Stress Testing tries to break the system under test by overwhelming its resources or by taking resources away from it (in which case it is sometimes called negative testing). The purpose of this is to ensure that the system fails and recovers gracefully.
  • 15. Performance Testing with JMeter Step 1. Add Thread Group This performance test will be done on ShelterLuv using 30 Users. • The ramp up period tells JMeter how long it should take before all the users have executed the required action. • The loop count states the number of times each user will repeat the action.
  • 16. Performance Testing with JMeter Step 2. Add JMeter Elements
  • 17. Performance Testing with JMeter Step 3. Add Listener The Listener will allow you to view the result of your test. For this test we will choose the Summary Report and the Table.
  • 18. Performance Testing with JMeter Step 4. Run Test Click the green button to run your test. You can view the results in the Summary report and the Table. OR Run JMeter from the command line
  • 19. OUR CONTACT DETAILS Our helpline is always open to receive any inquiry or feedback. Please feel free to contact us Livares Technologies Pvt Ltd 5th Floor, Yamuna Building Technopark Phase III Campus Trivandrum, Kerala, India-695581 www.livares.com contact@livares.com +91-471-2710003 | +91-471-2710004 @livaresofficial www.facebook.com/livaresofficial ADDRESS: EMAIL: TELEPHONE: WEBSITE:
  • 20. THANK YOU FOR YOUR TIMEComing together is a beginning; keeping together is progress; working together is success.