3. Introduction
PerformanceTest
AutomatedTesting
Introduction to Jmeter
Test Plan
Thread Group
Sampler
Listener
HowTo
Web Server PerformanceTest
View Result
4. PerformanceTesting is a type of testing that
intended to determine :
responsiveness
reliability
throughput
Interoperability
scalability
of a system and/or application under a given
workload
5. Test automation is the use of software to
control the execution of tests …
Why do I need to automate testing?
Manual test cost too much
TakeToo much time
6. Zero acquisition cost
Platform Independent
Performance test of different server types
HTTP/HTTPS,SOAP
Database
FTP, LDAP, mail, …
GUI / Non-GUI
HTTP proxy recording server
Highly extensible
7. Apache Project
First developed by Stefano Mazzocchi
designed to test and measure the
performance and functional behavior of
client/server applications
one of the most widely used open-source
100% Java-based
8. ATest Plan defines and provides a layout of how and what to
test
Element Of Test Plan:
Thread Group
Controlloer
▪ Sampler
▪ Logic Controller
Configuration Element
Listener
….
9. controls the threads that will be created to
simulate simultaneous users.
10. Samplers
Allow JMeter to send specific types of requests to a server.
Ex: Http Request, JDBC Request,TCP Sampler, etc…
11. Logic Controllers
These allow you to customize the logic that JMeter uses to
decide when to send requests.
Ex: Loop Controller, Once Only Controller, Random Controller
12. Configuration Elements allow you to create defaults
and variables to be used by Samplers.They are used to
add or modify requests made by Samplers.
13. Listeners let you view the results of the Samplers in
the form of tables, graphs, trees or simple text in
some log files.
Ex:
Agregate Report
Agregate Graph
Summary Report
14. 1. Download & Run Jmeter
2. AddThread Group
1. Set Number ofThread (ex: 100)
2. Set Ramp-Up Period (ex: 1)
3. Set LoopCount (ex: 1)
3. Add Configuration Controller (Ex: HTTP Request Default)
1. Set Default Server Name or IP (ex: sengokuixa.co.id)
4. Add Sampler (Ex: 3 HTTP Request)
1. Set Path, Method, parameter to send if exists
▪ Home Page : /
▪ Intro : /season5/introduction.php
▪ HowTo Play : /season5/
5. Add Listener (ex: Agregate Graph)
6. Save & RunTest Plan
7. View Result