Jmeter - Overview: - by Nandini
Jmeter - Overview: - by Nandini
- By Nandini
Introduction
What is Jmeter ?
Preparing tests
Bad boy
HTTP Proxy server
Running tests
GUI mode
Non GUI mode
Distributed testing
Analyzing Test
Introduction
Definition:
• JMeter is an open source Apache Jakarta application.
• Used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus
on web applications.
• Now can be extended to run the protocols Web (HTTP/HTTPS),FTP, JDBC, JMS, LDAP, SOAP.
• Originally developed by Stefano Mazzocchi
Requirements:
• JMeter requires a fully compliant JVM 1.4 or higher.
• JMeter has been tested and works under - Unix (Solaris, Linux, etc),Windows (98, NT, XP, etc), OpenVMS
Alpha 7.3+
Installation:
• Download and install the latest version of Apache Jakarta JMeter from
http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi
Preparing Tests
• One way to create a test plan is to use the HTTP Proxy server provided by Jmeter. What
the proxy does is it records the requests sent to the server using recording controller.
• Jmeter's proxy server currently does not support recording HTTPS. Since HTTPS is
secure, the proxy is unable to decrypt the traffic and record the request parameters or
cookies.
Badboy:
• Easiest method is to use Badboy http://www.badboy.com.au/
Running Tests
Distributed testing
--- Why ?
◦ To simulate stressed environment with a lot of clients.
– How ?
• Edit “remote_hosts=127.0.0.1” in jmeter.properties
• Start jmeter_server.bat on the host machines
• Run jmeter.bat
Running Tests (Continued….)
GUI Mode:
To run JMeter, run the jmeter.bat (for Windows) located in bin directory
Aggregated graph
Result tree
• Gives all the statistics concerning the tests • Gives in a tree form, all the samplers
results, the requests, and the sampler
data.
• May be recorded in a specified file for • May also be recorded in a specified file
further treatment (data mining) for further treatment