SlideShare a Scribd company logo
Getting Started with
Apache-Jmeter
Presenter: Charan Sethi, Mindfire Solutions
Date: 19/05/2014
Name: Charan Sethi
Organization: Mindfire Solutions
Skills :
ManualTesting FunctionalTesting TestCaseCreation
TestCaseExecution WebApplicationTesting JMeter
DeviceTesting BankingAndFinanceDomain
BasicKnowledgeOfAdobeInsdesign BasicsOfFinancialMarkets
ExploratoryTesting
Connect Me :
Facebook : https://www.facebook.com/charan.sethi.7
Google+ :
https://plus.google.com/u/0/108017116741601716455/about
Contact Me :
Email : charans@mindfiresolutions.com /
charan.sethi1@gmail.com
Skype: mfsi_charansethi
ABOUT ME
AGENDA
-Performance Testing and Objectives
-Initial steps before starting the Project.
-Examples of Client Requests and
scenarios.
-Jmeter Installation
-A Basic Jmeter Test
Performance Testing
In software engineering, performance testing is in general testing
performed to determine how a system performs in terms of responsiveness
and stability under a particular workload. It can also serve to investigate,
measure, validate or verify other quality attributes of the system, such as
scalability, reliability and resource usage.
Goal is to find Bottlenecks and improve the
User Experience
Testing types
Load testing: A type of performance testing conducted to evaluate the
behavior of a component or system with increasing load, e.g. numbers of
parallel users and/or numbers of transactions, to determine what load can be
handled by the component or system
Stress testing: A type of performance testing conducted to evaluate a
system or component at or beyond the limits of its anticipated or specified
workloads, or with reduced availability of resources such as access to
memory or servers
Spike Testing: Spike testing is done by suddenly increasing the number of or
load generated by users - by a very large amount - and observing the
behaviour of the system. The goal is to determine whether performance will
suffer, the system will fail, or it will be able to handle dramatic changes in
load.
Volume Testing: Testing where the system is subjected to large
volumes of data
Soak testing: Soak testing, also known as endurance testing, is usually done to
determine if the system can sustain the continuous expected load. During soak
tests, memory utilization is monitored to detect potential leaks. Also important, but
often overlooked is performance degradation. That is, to ensure that the
throughput and/or response times after some long period of sustained activity are
as good or better than at the beginning of the test. It essentially involves applying
a significant load to a system for an extended, significant period of time. The goal
is to discover how the system behaves under sustained use.
Testing types
Performance Goals:
->It can demonstrate that the system meets performance criteria.
-->It can compare two systems to find which performs better.
→ It can measure what parts of the system or workload causes the system to perform badly.
Performance Goals and Important terms
Concurrency/throughput
If a system identifies end-users by some form of log-in procedure then a concurrency goal
is highly desirable. By definition this is the largest number of concurrent system users that
the system is expected to support at any given moment. The work-flow of a scripted
transaction may impact true concurrency especially if the iterative part contains the log-in
and log-out activity.
If the system has no concept of end-users then performance goal is likely to be based on a
maximum throughput or transaction rate. A common example would be casual browsing of
a web site such as Wikipedia.
Server response time
This refers to the time taken for one system node to respond to the request of another. A
simple example would be a HTTP 'GET' request from browser client to web server. In terms
of response time this is what all load testing tools actually measure. It may be relevant to
set server response time goals between all nodes of the system.
Many performance tests are undertaken without due consideration to the setting of
realistic performance goals. The first question from a business perspective should
always be "why are we performance testing?". These considerations are part of
the business case of the testing
Performance Objectives
→ Reliability: To know how reliable the application is.
→ Determine if the application complies with contracts, regulations, and service level
agreements (SLAs).
→ Detect bottlenecks to be tuned.
→ Assist the development team in determining the performance characteristics for various
configuration options.
→ Provide input data for scalability and capacity-planning efforts.
→ Determine if the application is ready for deployment to production.
→ Review the architecture
→ Review the Test Plan
→ Ask Team Members
Questions to ask:
What is our anticipated average number of users (normal load) ?
What is our anticipated peak number of users ?
When is a good time to load-test our application (i.e. off-hours or week-ends), bearing in
mind that this may very well crash one or more of our servers ?
Does our application have state ? If so, how does our application manage it (cookies,
session-rewriting, or some other method) ?
What is the testing intended to achieve?
Initial steps before starting the Project.
Understanding the application is a must. Understanding the Business Scenarios
can really help clear up the mind and aligning with what needs to be done and
how this can be achieved
Examples of Client
Requests and scenarios.
About Jmeter
The Apache JMeter™ desktop application is open source software, a 100%
pure Java application designed to load test functional behavior and measure
performance. It was originally designed for testing Web Applications but has
since expanded to other test functions.
Apache JMeter features include:
Ability to load and performance test many different server/protocol types:
Web - HTTP, HTTPS
SOAP
FTP
Database via JDBC
LDAP
Message-oriented middleware (MOM) via JMS
Mail - SMTP(S), POP3(S) and IMAP(S)
MongoDB (NoSQL)
Native commands or shell scripts
TCP
Complete portability and 100% Java purity .
Full multithreading framework allows concurrent sampling by many threads and
simultaneous sampling of different functions by separate thread groups.
Careful GUI design allows faster Test Plan building and debugging.
Jmeter Installation
→ Jmeter is a Java application, so a JRE or SDK first needs to be installed
→ Go to http://jmeter.apache.org/download_jmeter.cgi
→ Download Jmeter, and install by unzipping the .zip or .tgz file in any
directory.
→ Go to jakarta-jmeter Directory (Directory in which the .zip of .tgz file is
unzipped)
→ Type ./bin/jmeter on command prompt(for Unix) or Run bin/jmeter.bat (for
Windows)
→ JMeter is ready to test application.
A Basic Test
Jmeter Basic test
→ Add Thread Group element
→ Define Number of Users and Ramp up Time
→ Adding Cookie Support
→ Adding Samplers
→ Adding Listeners
Record and Play
→ Set up proxy in Browser
→ Add Test Script Recorder from in workbench
from Non Test Elements
→ Select Recording Controller/HTTP Test Script
Recorder/Test Plan on Test Script Recorder
Window to tell Jmeter where to Capture results
→ Click Start
→ Perform Action on Application under Test and
see whether Actions are being captured
Question and
Answer
Presenter: Charan Sethi, Mindfire Solutions
Thank you
Presenter: Charan Sethi, Mindfire Solutions
References
→ apache.jmeter.org
→ wikipedia
→ ISTQB Glossary
www.mindfiresolutions.com
https://www.facebook.com/MindfireSolutions
http://www.linkedin.com/company/mindfire-solutions
http://twitter.com/mindfires

More Related Content

What's hot

Performance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity TestingPerformance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity Testing
Akshay Patole
 
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
BugRaptors
 
JMeter
JMeterJMeter
Open source load testing
Open source load testingOpen source load testing
Open source load testing
Richard Friedman
 
Wap tpresentation (Load testing Tool )
Wap tpresentation (Load testing Tool )Wap tpresentation (Load testing Tool )
Wap tpresentation (Load testing Tool )
jagdishdevabhaipatel
 
Jmeter load testing
Jmeter load testingJmeter load testing
Jmeter load testing
Ali Raza
 
Apache jMeter
Apache jMeterApache jMeter
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
Clare Avieli
 
Load Testing Tools | Testbytes
Load Testing Tools | TestbytesLoad Testing Tools | Testbytes
Load Testing Tools | Testbytes
Testbytes
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
Naga Mallala
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
Prashanth Kumar
 
JMeter & ColdFusion
JMeter & ColdFusion JMeter & ColdFusion
JMeter & ColdFusion
isummation
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
Wira Santos
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeter
Yuriy Gerasimov
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
Rachappa Bandi
 
Jmeter From Scratch
Jmeter From ScratchJmeter From Scratch
Jmeter From Scratch
ChinmayBrahma22
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETER
BugRaptors
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
Neill Lima
 
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load TestingA Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
Birgit Pauli-Haack
 
Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017
Shay Ginsbourg
 

What's hot (20)

Performance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity TestingPerformance Testing using Jmeter and Capacity Testing
Performance Testing using Jmeter and Capacity Testing
 
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
 
JMeter
JMeterJMeter
JMeter
 
Open source load testing
Open source load testingOpen source load testing
Open source load testing
 
Wap tpresentation (Load testing Tool )
Wap tpresentation (Load testing Tool )Wap tpresentation (Load testing Tool )
Wap tpresentation (Load testing Tool )
 
Jmeter load testing
Jmeter load testingJmeter load testing
Jmeter load testing
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
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
 
Load Testing Tools | Testbytes
Load Testing Tools | TestbytesLoad Testing Tools | Testbytes
Load Testing Tools | Testbytes
 
Perfromane Test Tool jmeter
Perfromane Test Tool jmeterPerfromane Test Tool jmeter
Perfromane Test Tool jmeter
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
JMeter & ColdFusion
JMeter & ColdFusion JMeter & ColdFusion
JMeter & ColdFusion
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Load Testing with JMeter
Load Testing with JMeterLoad Testing with JMeter
Load Testing with JMeter
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
 
Jmeter From Scratch
Jmeter From ScratchJmeter From Scratch
Jmeter From Scratch
 
Load testing a website through JMETER
Load testing a website through JMETERLoad testing a website through JMETER
Load testing a website through JMETER
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load TestingA Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
 
Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017Apache Jmeter 3.2 Performance & Load Testing 2017
Apache Jmeter 3.2 Performance & Load Testing 2017
 

Viewers also liked

Filemaker design concept_handout
Filemaker design concept_handoutFilemaker design concept_handout
Filemaker design concept_handout
정권 김
 
File_Organization_112014
File_Organization_112014File_Organization_112014
File_Organization_112014
eshuppy
 
Ruby Metaprogramming
Ruby MetaprogrammingRuby Metaprogramming
Ruby Metaprogramming
Mindfire Solutions
 
YSlow For QA
YSlow For QAYSlow For QA
YSlow For QA
Mindfire Solutions
 
An Introduction to Apache Hadoop
An  Introduction to Apache HadoopAn  Introduction to Apache Hadoop
An Introduction to Apache Hadoop
Mindfire Solutions
 
Filemaker design concept
Filemaker design conceptFilemaker design concept
Filemaker design concept
정권 김
 

Viewers also liked (6)

Filemaker design concept_handout
Filemaker design concept_handoutFilemaker design concept_handout
Filemaker design concept_handout
 
File_Organization_112014
File_Organization_112014File_Organization_112014
File_Organization_112014
 
Ruby Metaprogramming
Ruby MetaprogrammingRuby Metaprogramming
Ruby Metaprogramming
 
YSlow For QA
YSlow For QAYSlow For QA
YSlow For QA
 
An Introduction to Apache Hadoop
An  Introduction to Apache HadoopAn  Introduction to Apache Hadoop
An Introduction to Apache Hadoop
 
Filemaker design concept
Filemaker design conceptFilemaker design concept
Filemaker design concept
 

Similar to Getting Started with Apache Jmeter

Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
Garuda Trainings
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
Qspiders - Software Testing Training Institute
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
Shivakumara .
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
Qspiders - Software Testing Training Institute
 
Performance testing and j meter overview
Performance testing and j meter overviewPerformance testing and j meter overview
Performance testing and j meter overview
krishna chaitanya
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
Suresh Mishra
 
What is dynamic testing ?
  What is dynamic testing ?  What is dynamic testing ?
What is dynamic testing ?
pooja deshmukh
 
What do you mean by recovery testing ?
What do you mean by recovery testing ?What do you mean by recovery testing ?
What do you mean by recovery testing ?
pooja deshmukh
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
Selin Gungor
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
Future Simmons
 
Some Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software TestingSome Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software Testing
Kumari Warsha Goel
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?
QA InfoTech
 
PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
techgajanan
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
vladimir zaremba
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
Purna Chandar
 
Best Practices for Applications Performance Testing
Best Practices for Applications Performance TestingBest Practices for Applications Performance Testing
Best Practices for Applications Performance Testing
Bhaskara Reddy Sannapureddy
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
TestingXperts
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
Sam Varadarajan
 

Similar to Getting Started with Apache Jmeter (20)

Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02Performancetestingjmeter 121109061704-phpapp02
Performancetestingjmeter 121109061704-phpapp02
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
 
Performance testing and j meter overview
Performance testing and j meter overviewPerformance testing and j meter overview
Performance testing and j meter overview
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
 
What is dynamic testing ?
  What is dynamic testing ?  What is dynamic testing ?
What is dynamic testing ?
 
What do you mean by recovery testing ?
What do you mean by recovery testing ?What do you mean by recovery testing ?
What do you mean by recovery testing ?
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
 
Performance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N TPerformance Test Slideshow R E C E N T
Performance Test Slideshow R E C E N T
 
Some Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software TestingSome Commonly Asked Question For Software Testing
Some Commonly Asked Question For Software Testing
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?
 
PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 
Best Practices for Applications Performance Testing
Best Practices for Applications Performance TestingBest Practices for Applications Performance Testing
Best Practices for Applications Performance Testing
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 

More from Mindfire Solutions

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
Mindfire Solutions
 
diet management app
diet management appdiet management app
diet management app
Mindfire Solutions
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
Mindfire Solutions
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
Mindfire Solutions
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
Mindfire Solutions
 
ELMAH
ELMAHELMAH
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
Mindfire Solutions
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
Mindfire Solutions
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
Mindfire Solutions
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
Mindfire Solutions
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
Mindfire Solutions
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
Mindfire Solutions
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
Mindfire Solutions
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
Mindfire Solutions
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
Mindfire Solutions
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
Mindfire Solutions
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
Mindfire Solutions
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
Mindfire Solutions
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
Mindfire Solutions
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
Mindfire Solutions
 

More from Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Recently uploaded

8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
YousufSait3
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
ssuserad3af4
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 

Recently uploaded (20)

8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
316895207-SAP-Oil-and-Gas-Downstream-Training.pptx
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 

Getting Started with Apache Jmeter

  • 1. Getting Started with Apache-Jmeter Presenter: Charan Sethi, Mindfire Solutions Date: 19/05/2014
  • 2. Name: Charan Sethi Organization: Mindfire Solutions Skills : ManualTesting FunctionalTesting TestCaseCreation TestCaseExecution WebApplicationTesting JMeter DeviceTesting BankingAndFinanceDomain BasicKnowledgeOfAdobeInsdesign BasicsOfFinancialMarkets ExploratoryTesting Connect Me : Facebook : https://www.facebook.com/charan.sethi.7 Google+ : https://plus.google.com/u/0/108017116741601716455/about Contact Me : Email : charans@mindfiresolutions.com / charan.sethi1@gmail.com Skype: mfsi_charansethi ABOUT ME
  • 3. AGENDA -Performance Testing and Objectives -Initial steps before starting the Project. -Examples of Client Requests and scenarios. -Jmeter Installation -A Basic Jmeter Test
  • 4. Performance Testing In software engineering, performance testing is in general testing performed to determine how a system performs in terms of responsiveness and stability under a particular workload. It can also serve to investigate, measure, validate or verify other quality attributes of the system, such as scalability, reliability and resource usage. Goal is to find Bottlenecks and improve the User Experience
  • 5. Testing types Load testing: A type of performance testing conducted to evaluate the behavior of a component or system with increasing load, e.g. numbers of parallel users and/or numbers of transactions, to determine what load can be handled by the component or system Stress testing: A type of performance testing conducted to evaluate a system or component at or beyond the limits of its anticipated or specified workloads, or with reduced availability of resources such as access to memory or servers Spike Testing: Spike testing is done by suddenly increasing the number of or load generated by users - by a very large amount - and observing the behaviour of the system. The goal is to determine whether performance will suffer, the system will fail, or it will be able to handle dramatic changes in load.
  • 6. Volume Testing: Testing where the system is subjected to large volumes of data Soak testing: Soak testing, also known as endurance testing, is usually done to determine if the system can sustain the continuous expected load. During soak tests, memory utilization is monitored to detect potential leaks. Also important, but often overlooked is performance degradation. That is, to ensure that the throughput and/or response times after some long period of sustained activity are as good or better than at the beginning of the test. It essentially involves applying a significant load to a system for an extended, significant period of time. The goal is to discover how the system behaves under sustained use. Testing types
  • 7. Performance Goals: ->It can demonstrate that the system meets performance criteria. -->It can compare two systems to find which performs better. → It can measure what parts of the system or workload causes the system to perform badly. Performance Goals and Important terms Concurrency/throughput If a system identifies end-users by some form of log-in procedure then a concurrency goal is highly desirable. By definition this is the largest number of concurrent system users that the system is expected to support at any given moment. The work-flow of a scripted transaction may impact true concurrency especially if the iterative part contains the log-in and log-out activity. If the system has no concept of end-users then performance goal is likely to be based on a maximum throughput or transaction rate. A common example would be casual browsing of a web site such as Wikipedia. Server response time This refers to the time taken for one system node to respond to the request of another. A simple example would be a HTTP 'GET' request from browser client to web server. In terms of response time this is what all load testing tools actually measure. It may be relevant to set server response time goals between all nodes of the system.
  • 8. Many performance tests are undertaken without due consideration to the setting of realistic performance goals. The first question from a business perspective should always be "why are we performance testing?". These considerations are part of the business case of the testing Performance Objectives → Reliability: To know how reliable the application is. → Determine if the application complies with contracts, regulations, and service level agreements (SLAs). → Detect bottlenecks to be tuned. → Assist the development team in determining the performance characteristics for various configuration options. → Provide input data for scalability and capacity-planning efforts. → Determine if the application is ready for deployment to production. → Review the architecture → Review the Test Plan → Ask Team Members
  • 9. Questions to ask: What is our anticipated average number of users (normal load) ? What is our anticipated peak number of users ? When is a good time to load-test our application (i.e. off-hours or week-ends), bearing in mind that this may very well crash one or more of our servers ? Does our application have state ? If so, how does our application manage it (cookies, session-rewriting, or some other method) ? What is the testing intended to achieve? Initial steps before starting the Project. Understanding the application is a must. Understanding the Business Scenarios can really help clear up the mind and aligning with what needs to be done and how this can be achieved
  • 10. Examples of Client Requests and scenarios.
  • 11. About Jmeter The Apache JMeter™ desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. Apache JMeter features include: Ability to load and performance test many different server/protocol types: Web - HTTP, HTTPS SOAP FTP Database via JDBC LDAP Message-oriented middleware (MOM) via JMS Mail - SMTP(S), POP3(S) and IMAP(S) MongoDB (NoSQL) Native commands or shell scripts TCP Complete portability and 100% Java purity . Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups. Careful GUI design allows faster Test Plan building and debugging.
  • 12. Jmeter Installation → Jmeter is a Java application, so a JRE or SDK first needs to be installed → Go to http://jmeter.apache.org/download_jmeter.cgi → Download Jmeter, and install by unzipping the .zip or .tgz file in any directory. → Go to jakarta-jmeter Directory (Directory in which the .zip of .tgz file is unzipped) → Type ./bin/jmeter on command prompt(for Unix) or Run bin/jmeter.bat (for Windows) → JMeter is ready to test application.
  • 14. Jmeter Basic test → Add Thread Group element → Define Number of Users and Ramp up Time → Adding Cookie Support → Adding Samplers → Adding Listeners
  • 16. → Set up proxy in Browser → Add Test Script Recorder from in workbench from Non Test Elements → Select Recording Controller/HTTP Test Script Recorder/Test Plan on Test Script Recorder Window to tell Jmeter where to Capture results → Click Start → Perform Action on Application under Test and see whether Actions are being captured
  • 18. Presenter: Charan Sethi, Mindfire Solutions Thank you
  • 19. Presenter: Charan Sethi, Mindfire Solutions References → apache.jmeter.org → wikipedia → ISTQB Glossary