The Apache JMeter is a pure Java application developed by Apache foundation to test and measure the performance of web application and a variety of other test functions. It can be used to test the performance of static and dynamic resources, web dynamic applications using tests like performance test, functional test and load simulate test for ascertaining web performance.
Advantages of using JMeter
Since Apache JMeter is an open source application, it does not require any license to use it. The JMeter can function on various protocols like HTTP, JDBC, LDAP, SOAP, JMS, and FTP and supports the testing of web application and database server performance evaluation. One of the most important highlights of the Apache JMeter is the record and playback feature of the user activity on the browser. This software can also be integrated with various automation tools like Selenium and Bean shell.
How to Install
The installation of Jmeter is pretty straightforward. It does not take away a large chunk of your time or system memory. All you need is to run a .bat file on Windows or a .sh file on Linux system which is in the JMeter package.
You can download the JMeter package from this link. The latest JMeter version will only work if you have Java 8 or higher version installed. Once you have downloaded the files from the above link. Unzip those files. Open the folder apache- jmeter-4.0 –>bin → run Jmeter.bat

Run Jmeter.bat file and then the Apache JMeter will launch.

Some Basics of JMeter

Test Plan

In test plan, you can add the elements required for the test. To add a new test, click on test Plan on the right side to create.


Workbench option can be seen only on the previous version of Jmeter. Workbench has been removed on the version 4. It simply provides a space to temporarily to store elements. The workbench contents will not be saved on the Jmeter. It only saves the test branch.
HTTP(S) proxy server testing using Apache JMeter Version 4
1) Run jmeter.bat file
2) Once the JMeter is launched, select test plan on the tree.
3) Right click on the Test plan and add a new thread group. Test Plan —> Add—>Thread(users)—>Thread Group.

4) Now select the Thread Group, Right click —> Add → Config Element —> HTTP request defaults.

5) Now right click on the Thread Group and add a recording controller like below image
Thread Group → Add–. Logic controller → Recording controller

6) Now right click on Test Plan –>Add–>Non-Test elements–>HTTP(s) Test script recorder.

7) On HTTP(S) Test Script Recorder, click on the add button –>Request filtering→ under the content type filter include the entry ; enter “.*\.php or *\.html

8) Now.Right click on HTTP(S) Test Script Recorder”and add a listener. Add -> Listener -> View Results Tree.

9) Now return to HTTP(S) Test Script Recorder, and click the “Start” button at the bottom. This will start the JMeter proxy server which is used to intercept the browser requests. A file called ApacheJMeterTemporaryRootCA.crt will be generated in jmeter/bin folder.
Thanks for dropping by. Ready for the next blog?

Get new insights right to your inbox

How can our experts help you?

Schedule your consultation

You may also like

  • By admin
  • in DevOps

Agile vs DevOps: What’s the difference

  • Nov 18, 2022 .
  • 9 min min
Read More
  • By admin
  • in DevOps

DevOps as a Service: All You Should Know

  • Aug 9, 2022 .
  • 9 min min
Read More
  • By admin
  • in Containerization

Containerization VS Virtualization: Understanding the Differences

  • Aug 4, 2022 .
  • 8 min min
Read More

Be in the know

Techno tips served hot! Subscribe now and stay atop.