Friday, November 25, 2011

Downloading & Installing JMeter on Windows

Now finally we will learn from where we should download JMeter and how to install it on your local Windows Machine.
But before that, we should know what are the basic requirements for installing JMeter and to run it on your local windows machine.


JMeter Requirements 

JMeter requires your computing environment meets some minimum requirements.

Java Version

• JMeter requires a fully compliant JVM 1.4 or higher.

• Version 2.2 and later no longer support Java 1.3.

• It is recommended to use JVM 1.5 to conduct HTTPS test with JMeter.

Operating System

• JMeter is a 100% Java application and should run correctly on any system that
has a compliant Java implementation.

• JMeter has been tested and works under:

• Unix (Solaris, Linux, Fedora etc)

• Windows (98, NT, XP, etc)

• OpenVMS Alpha 7.3+


Downloading and Installing JMeter

Jmeter is a Java application, so a JRE or SDK first needs to be installed with a JAVA_HOME environment variable.
Jmeter can be downloaded in the below link:


• 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.

When you run jmeter.bat file in bin directory of  jakarta-jmeter Directory, you will see the following JMeter Screen.

The user interface has two panes. The left pane displays the elements used in our testing. Initially, there are the Root and two sub-elements, Test Plan and WorkBench.
In this article we're only concerned with Test Plans. Add an element to a node by right-clicking it and selecting Add. To remove an element, select the element by clicking on it, then right-click on the element and choose the Remove option.

Test Plan: A test plan describes a series of steps JMeter will execute when run. A complete test plan will consist of one or more Thread Groups, logic conrollers, sample generating controllers, listeners, timers, assertions, and configuration elements.

WorkBench: Workbench is place where we store test elements which are saved and used in later stages. It has two elements which are HTTP proxy server and HTTP mirror server. Http proxy server is used for recording purpose.
To use it right click on workbench  then select Add --> Non-Test Elements --> HTTP Proxy Server.

This is how we install and run JMeter in windows.
I think its quite easy to download and install JMeter and even more if you get such stuffs which does your work more simpler.


13 comments:

  1. nice article..worth reading..nice guide for beginners

    ReplyDelete
    Replies
    1. Thanks a lot for your valuable response.

      Delete
    2. Mahesh

      Really great blog

      Delete
  2. The Blog you are running is just awesome. The stuff and theme of the blog is so impressive. The actual match, like your blog, is found on very rare places. This blog is so clear and simple, there is no useless content you have added just to show a fake knowledge about the topic. I am new to blogging and picking lot from your blog. Here is my blog if you want to take a look and do suggest me if any problem or something missing.
    Thanks a lot!!!

    ReplyDelete
    Replies
    1. Thanks a lot for your valuable response. I will definitely visit your blog. Your comments are always welcome & valuable.

      Delete
  3. Hi Mahesh,
    i have installed Jmeter on windows8 system..and when i try to record the authenticated application, then its simply show blank screen instead of login pop-up....i dont know why, this is happenening in IE.
    In IE LAN settings, i have used '127.0.0.1' as address instead 'localhost' and am running on 8080

    Please suggest, how to get out from this problem...

    ReplyDelete
  4. I had double click the jmeter.bat in the apache jemeter, the command prompt opens and the message "Press any key to continue" appears but if I enter any key means the command prompt was closed and nothing happens

    ReplyDelete
    Replies
    1. i had the same problem .. when i try to open the jmeter.bat file

      Delete
    2. After double clicking jmeter.bat file, Does the command prompt show just "Press any key to continue" or is there anything else listed??

      Delete
    3. try opening 'ApacheJMeter.jar' file by double clicking on it.

      Delete
  5. great blog for the first time users

    ReplyDelete