English 中文(简体)
jMeter - Overview
  • 时间:2024-11-03

jMeter - Overview


Previous Page Next Page  

Before going into the details of JMeter, let us first understand a few jargons associated with the testing of any apppcation.

    Performance Test − This test sets the best possible performance expectation under a given configuration of infrastructure. It also highpghts early in the testing process if any changes need to be made before the apppcation goes into production.

    Load Test − This test is basically used for testing the system under the top load it was designed to operate under.

    Stress Test − This test is an attempt to break the system by overwhelming its resources.

What is JMeter?

JMeter is a software that can perform load test, performance-oriented business (functional) test, regression test, etc., on different protocols or technologies.

Stefano Mazzocchi of the Apache Software Foundation was the original developer of JMeter. He wrote it primarily to test the performance of Apache JServ (now called as Apache Tomcat project). Apache later redesigned JMeter to enhance the GUI and to add functional testing capabipties.

JMeter is a Java desktop apppcation with a graphical interface that uses the Swing graphical API. It can therefore run on any environment / workstation that accepts a Java virtual machine, for example − Windows, Linux, Mac, etc.

The protocols supported by JMeter are −

    Web − HTTP, HTTPS sites web 1.0 web 2.0 (ajax, flex and flex-ws-amf)

    Web Services − SOAP / XML-RPC

    Database via JDBC drivers

    Directory − LDAP

    Messaging Oriented service via JMS

    Service − POP3, IMAP, SMTP

    FTP Service

JMeter Features

Following are some of the features of JMeter −

    Being an open source software, it is freely available.

    It has a simple and intuitive GUI.

    JMeter can conduct load and performance test for many different server types − Web - HTTP, HTTPS, SOAP, Database via JDBC, LDAP, JMS, Mail - POP3, etc.

    It is a platform-independent tool. On Linux/Unix, JMeter can be invoked by cpcking on JMeter shell script. On Windows, it can be invoked by starting the jmeter.bat file.

    It has full Swing and pghtweight component support (precompiled JAR uses packages javax.swing.* ).

    JMeter store its test plans in XML format. This means you can generate a test plan using a text editor.

    Its full multi-threading framework allows concurrent samppng by many threads and simultaneous samppng of different functions by separate thread groups.

    It is highly extensible.

    It can also be used to perform automated and functional testing of the apppcations.

How JMeter Works?

JMeter simulates a group of users sending requests to a target server, and returns statistics that show the performance/functionapty of the target server/apppcation via tables, graphs, etc.

Take a look at the following figure that depicts how JMeter works −

JMeter Process Advertisements