Thursday, October 20, 2016

JMeter Installation Procedure Step by Step

Steps to Install JMeter

Step 1) Install Java
Because JMeter is pure Java desktop application, it requires a fully compliant JVM 6 or higher.

In Window/Linux, go to Terminal
Enter command java -version

Step 2) Download Jmeter
You can download Latest version of JMeter from here
http://jmeter.apache.org/download_jmeter.cgi

Choose the Binaries file (either zip or tgz) to download as shown in figure below

Step 3) Installation
You simply unzip the zip/tar file into the directory where you want JMeter to be installed.

installation directory structure should look like as figure below




Step 4) Launch JMeter
You can start JMeter in 3 modes

1. GUI Mode
2. Server Mode
3. Command Line Mode

1. Start JMeter in GUI Mode
If you are using Window, just run the file /bin/jmeter.bat to start JMeter in GUI mode as shown below

Following figure annotates the various components in the JMeter GUI


2. Start JMeter in Server Mode
Server mode is used for distributed testing. This testing works as client-server model. In this model, JMeter runs on server computer in server mode. On client computer, JMeter runs in GUI mode.

To start the server mode, you run the bat file bin\jmeter-server.bat as below figure


3. Start JMeter in command line mode
JMeter in GUI mode consumes much computer memory. For saving resource, you may choose to run JMeter without the GUI. To do so, use the following command options

This is a command line example

$jmeter -n -t testPlan.jmx - l log.jtl -H 127.0.0.1 -P 8000


Resource Link: All documents are copied from following link for study purpose.
 http://www.guru99.com/guide-to-install-jmeter.html


No comments:

Post a Comment