- Mar 27, 2020 Apache JMeter is an open-source testing tool that is trusted for its reliable performance. The benefits of Apache JMeter is that it is easy to set up and use and also supports multiple protocols for testing. It can be run on a single machine, on multiple devices in a distributed environment, or by using docker on the cloud.
- The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. What can I do with it?
Apache JMeter - Open Source Functional and Load Testing Tool
Sander Stevens, TechTest, http://www.techtest.nl/
JMETER COURSE CURRICULUM. JMeter Training course videos start with managing requests and responses. How JMeter acts on the protocol level. Covering all the necessary topics like Logic Controllers, Config Elements, Data Processors and correlation, etc, and Projects based on these concepts. Apache JMeter may be used to test performance both on static and dynamic resources, Web dynamic applications. It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types. Apache JMeter is also known as JMeter. Apache JMeter Buyer's Guide.
Apache JMeter is open source software, a 100% pure Java desktop application, designed to load test functional behavior and measure performance of web sites. It was originally designed for load testing web applications but has since expanded to other test functions.
Web Site:https://jmeter.apache.org/index.html
Version Tested: jmeter 2.3.4 tested from October 2009 until February 2010
License & Pricing: Open Source
Support: User mailing list https://jmeter.apache.org/mail.html
What can I do with it?
Apache Jmeter Free Download
Apache JMeter may be used to test functional and performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can also use it perform a functional test on websites, databases, LDAPs, webservices etc.
JMeter is not a browser. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does (it's possible to view the response as HTML etc, but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time).
In this course we will learn Jmeter from scratch step by step. We will learn the basics in a very easy way and you will be able to use JMeter for all types of performance and functional testing. After this course you can work with JMeter for personal and enterprise projects.
Installation
The installation of JMeter (if you would call it an installation) is pretty straight forward. On the website is a link to the download area of stable versions. You also have the possibility to use nightly builds, but this is at your own risk. No guarantee that they work properly. So the advice is always to start with a stable version.
Download the latest version (zip or tgz) and unpack the archive to a local folder. Before starting JMeter it is wise to have a look at the configuration. The jmeter.properties file (located in the bin folder) contains a lot of settings. Most of those settings should be fine for the average user. The file is well documented and easy to read (and change where needed).
Also pay attention to needed additional jars. If you are going to use for example JDBC, JMS or JavaMail additional jars are not included in the JMeter installation. The user guide on the website explains how to use it and where to get it.
Starting JMeter is just a matter of double clicking jmeter.bat in the bin folder.
Documentation
There is an extensive documentation on the web site. In all kinds of ways. User manual, Wikis, docs and user experiences. The user manual describes how to create specific testplans (Web, Database, JMS, Webservice, etc) including step by step instructions, examples, bitmaps and tips. Also additional information is described in the user manual like best practices, information about regular expressions and how to use the variables and predefined functions. And last but not least: the component reference describes in detail how every component can be used.
The principle of JMeter
The principle of JMeter is very simple. If you want to test e.g. a SOAP interface layer, all you basically need is the URL and SOAP request. Starting with that you can build your test plan. And this can be as fancy as you want. Using variables, counters, parameters, CSV files, loops, logs, etc. There are almost no limits in designing your test and making it as maintainable as possible.
Figure 1 - Snapshot of the JMeter interface
Let's assume you want to test a web server and fire off some http requests. Figure 1 shows a sample testplan. The testplan starts with some declarations for authorization and user defined variables. Also the JDBC connection is included. If a database is involved, you can set the database configuration and username/password. Don't forget to included the correct jars!
The HTTP request has some variables in its name. The name of the HTTP request will be displayed in the Result tree and therefore it is handy to include some kind of reference to the test you are running. In this example the testcase number, error description and error code is used to uniquely identify the request.
Figure 2 shows the detail pane of the HTTP request. You can add all the needed information like server name, portnumber, protocol (HTTPS is supported!) and parameters.
Figure 2 - Adding an HTTP request to the testplan
With regular expressions you can extract for example session ids, store them in a variable and use them in following requests.
Reporting
For reporting purposes JMeter offers several possibilities. Most common is the View Results Tree. This tree will display the requests and has the ability to show the request and the response. The response can be displayed as text, XML, HTML or JSON. The component View Results Tree is mostly used for functional testing.
Figure 3 - A snapshot of the View Results Tree
Performance testing needs a more advanced kind of logging with graphs and statistical data. The component Aggregate Graph is very useful. During the performance run you can monitor all kinds of statistical data like the # samples, average, median, 90% line and min / max. All this per request and total average. The data can be written to a file (plain text, csv or xml) and after formatting can be used to create a performance report.
How To Download & Install Apache JMeter In Easy Steps
You also have the possibility to view a graph of the statistical data. Select you column, enter the width, height and titles and click the Display Graph button. Of course is there again the possibility to save your graph or table data to a file.
Figure 4 - Snapshot of the component Aggregate Graph
Conclusion
Need to test your web service, database, FTP- or web server? Both performance and functional testing? Have a look at Apache JMeter. It is free, very intuitive and has all the possibilities you need to automate your work. Another big advantage of JMeter: open source. You can download the source and make modifications to it if you like. Also direct contact with the developers through a mailing list is very handy.
Cached
More JMeter, Load Testing and Java Content
The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
See the version list below for details.
Dependencies
This package has no dependencies.
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JMeter:
Package | Downloads |
---|---|
AutoTestExtras.Core Automation test extension for API/Web/Mobile/Performance with enabled dotnet core support and other features. This package includes the AutoTestExtras framework assembly, which is referenced by your automation tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
5.4.1 | 496 | 3/5/2021 |
5.4.0 | 2,449 | 12/9/2020 |
5.3.0 | 7,557 | 6/11/2020 |
5.2.1 | 1,528 | 11/27/2019 |
5.2.0 | 658 | 11/15/2019 |
5.1.1 | 2,536 | 3/19/2019 |
5.1.0 | 372 | 2/21/2019 |
5.0.0 | 645 | 2/9/2019 |
3.1.0.1 | 4,097 | 2/20/2017 |