What is Apache JMeter?
The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. JMeter is mainly used for testing Web application or FTP application but currently, it is applicable in functional testing, JDBC database connections, Web services, generic TCP connections and OS native processes. You can perform various testing activities like Performance, Load, Stress, Regression and Functional testing, in order to get accurate performance metrics against your web server.
Apache JMeter features include:
- Open Source – JMeter is a 100% pure Java desktop application
- Platform independent –JMeter is written and developed using java, so it can run on any environment / workstation that accepts a Java virtual machine, for example – Windows, Linux, Mac, etc.
- Supports cross platform –JMeter has unlimited testing capabilities allowing you to work both with local and server-based instances. The only thing you need to get started is Java (JRE) installed on the host.
- Simulation – JMeter can simulate multiple users by using virtual users or unique users in order to generate heavy load against web application under test.
- Supports Concurrency – Full multi-threading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.
- Easy to Use – On Linux/Unix, JMeter can be invoked by clicking on JMeter shell script. On Windows, it can be invoked by starting the jmeter.bat file.
- Test Result Visualization – JMeter has a set of tools for collecting and displaying results, like table, graph, tree, reports. The The results can be saved in CSV, XML, HTML etc.
- Support various server types –JMeter is highly extensible and capable to load the performance test in different server types: HTTP, HTTPS, SOAP, JDBC, LDAP, JMS, POP3
- Works great even without UI. Test cases are executable in the command line which allows for their full integration into CI tools’ cases.
JMeter sends requests to a target server by simulating a group of users. Server process the requests. Subsequently, data is collected to calculate statistics and display performance metrics of the target server through various formats.