Thursday, 19 December 2013

JMeter Basic

Learning Apache JMeter By Practice

Learning Apache Jmeter by practice is basically a blog for those who wish to learn Jmeter by doing hands on practice on Jmeter and to understand the performance testing.

Apache Jmeter is basically a open source performance testing tool to put load on various protocols, currently Jmeter supports on below mentioned protocols:

1) Web - HTTP/HTTPS
2) SOAP 
3) FTP
4) Database via JDBC
5) LDAP
6) Message-oriented middleware (MOM) via JMS 
7) Mail - SMTP(S), POP3(S) and IMAP(S)
8) Native commands or shell scripts
9) TCP 

Jmeter is 100% Java based open source tool for performance testing .

So we will not waste our time in describing the capabilities of JMeter, we will jump over on real examples in Jmeter from basics.

First we will describe the GUI part of Jmeter than we will dive more in non GUI part of running jmeter.

To run Jmeter first you have to download the Jmeter from Apache Jmeter site i.e  http://jmeter.apache.org

In the left side navigation panel you will see the Download Releases link, click on the link than you will be redirected to Jmeter downloads page. In downloads page you see the Archive section , download the apache jmeter 2.9 from archive section which is most stable version of jmeter at the time of writing this blog.

Extract Jmeter from zip archive to the any of the directory in your systems , suppose you have selected D: drive of your system than you will find a folder like apache-jmeter-2.9 in your D: driver like as shown below
Open your Jmeter folder there you will find the jmeter.bat file which is used to run JMeter on Windows system and Jmeter.sh file to be run on Linux/Mac machine.

After clicking on Jmeter.bat file you will get GUI mode of JMeter on your machine as shown below as displayed below


So you are up and running Jmeter , now you can create your test and run performance test for performance testing.

No comments:

Post a Comment