Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Install and conduct performance testing using Apache JMeter on your Web App

Posted on 29/10/202215/08/2026 Temitope Odemo By Temitope Odemo No Comments on Install and conduct performance testing using Apache JMeter on your Web App
  1. Home
  2. Configuration Management Tool
  3. Install and conduct performance testing using Apache JMeter on your Web App
jmeterlogo-1

JMeter is an Open Source Java application designed to measure performance and load test applications. Apache JMeter can measure performance and load test static and dynamic web 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. In this article, we will discuss “how to Install and conduct performance testing using Apache JMeter on your Web App”. Please see How to work with Windows Performance Toolkit, How to install Java Runtime Environment on Mac OS, and How to Install Apache HTTP Server on Ubuntu 20.04 LTS.

We have the JMeter GUI mode and Non-GUI mode, while the GUI mode is better for adding and editing new configuration elements, thread groups, and samplers but it consumes a lot of memory and resources when it runs a recorded script. The Non-GUI mode is highly recommended as a test execution mode in JMeter for those that do not have a high-capacity system that can withstand the GUI mode. JMeter consumes less memory and can accommodate more threads on a load generator.

Install JMeter to Conduct Performance Testing

JMeter requires Java to work on your system. You may want to know the Difference between testing and debugging and you may want to read more on other configuration settings you can read these: Configuration Manager Tools: How to install and debug logs with the CMTrace Tool, How to install and configure Ansible on Azure Virtual Machine, Keepalive Settings: Understanding keepalive configuration, Installation and configuration of Cockpit on CentOS Linux and you may want to learn How to Perform Load Test on Mobile App using Apache JMeter installed on your Windows System

Follow these steps to install JMeter: If you want to know the current Java version on your system try this command:

java --version
image-39

Download Java here!

2. After installing Java then go ahead to download JMeter here. Go to the binary section and download the zip file and extract the file.

image-40

3. Now click on the jmeter.bat file

image-41

Immediately this will launch the JMeter screen

image-42

The home screen is divided into two sections, the left section is all about the elements of the test plan and the right section is where you add the configuration of the elements.

image-43

4. Rename the Test Plan to any name of your choice but in this article, I will name it NBA and click on the Save icon.

image-44

5. Now add a thread group. Right-click on the Test Plan and select Add > Threads (Users) > Thread Group.  Thread groups are users that will be needed during this test.

image-45

6. Give the Thread Group a name and set the Thread Properties

image-46

Configure JMeter

7. Next Configure the Request that JMeter can work on. I will first select HTTP Request the simplest for now. Right-click the Thread Group you created and select Add > Sampler > HTTP Request.

image-47

8. Give the HTTP Request a name and add the server name or IP. There is no need of adding HTTPS or HTTP as it will be routed through the correct protocol. In the Path add a forward ‘/’ since we are going to access the route pages.

image-48

9. Let’s Perform an HTTP test now since we have set up all these. But we still need to add some more test elements and to do this right-click the Thread Group select Add > Listener > [View Results Tree] [View Results in Table]

image-49

Run Performace Test

10. Now Save and Run the Test. Check your result from the View Results Tree and View Results in Table. You can always go back to the Thread Group to change Thread Properties.

image-50

11. Let us assume we have an account Super Admin setup the below image shows I was able to log-in successfully. The Response code is 200 and OK.

image-51

The below shows the successful login token

image-52

The image below shows the Request body

image-53

The Summary report for the Login process for all the users shows 0.00% error

image-54

We will now be increasing the load on the Login. But if we will be Simulating multi-users then we will not be using the GUI mode rather we will use the command prompt. Remember that on the opening screen when launching JMeter state that :

Don't use GUI mode for load testing !, only for Test creation and Test debugging. For load testing, use CLI Mode (was NON-GUI):

Let’s simulate 60 users making a total 60 samples. The result returns with 0.00% error and Status 200 which is OK.

image-55

We are still having status 200 for the 60 samples

image-56

Simulate using the Non-GUI Command

Next, i will be using a Non GUI-like command prompt as I will be simulating more loads by simulating 300 users.

Run this command:

jmeter -n -t <test JMX file> -l <test log file>
jmeter -n -t C:\apachejmeter\bin\NBA.jmx -l C:\apachejmeter\bin\Report\NBA.csv

I will change the directory to the bin folder of my JMeter installation file and run the command there. Then I will state the name of the CSV file which will be used to capture the log like a report.

image-57

The test returns successfully. Go into the Bin folder and open the CSV file.

Below is the CSV file that captures the log of the simulation and you will know the status of the application performance.

image-58

I hope you found this blog post on how to install and conduct performance testing using Apache JMeter on your Web App Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Configuration Management Tool, Windows, Windows Server Tags:Performance, software testing, Testing, Windows 10, Windows 11

Post navigation

Previous Post: Detect if an application was uninstalled on Windows: Find out who has uninstalled an application via Windows Event Viewer
Next Post: How to clear Cache and Manually Update Microsoft Defender

Related Posts

  • image 1
    Fix Windows Can’t find the path: Please check the spelling and try again Windows
  • ETWindows
    An Overview of Event Tracing for Windows Windows
  • images
    How to fix you are not allowed to view this folder on SSRS: MBAM reports cannot be accessed because it could not load folder contents Windows Server
  • img 1686
    The trust relationship between this workstation and the primary domain failed Windows Server
  • control panel
    Enable or Disable Control Panel and Windows Settings App Windows
  • article 1280x720.192a2586 1 1
    No valid offer received: WDS PXE-E16 error when booting clients Windows Server

More Related Articles

image 1 Fix Windows Can’t find the path: Please check the spelling and try again Windows
ETWindows An Overview of Event Tracing for Windows Windows
images How to fix you are not allowed to view this folder on SSRS: MBAM reports cannot be accessed because it could not load folder contents Windows Server
img 1686 The trust relationship between this workstation and the primary domain failed Windows Server
control panel Enable or Disable Control Panel and Windows Settings App Windows
article 1280x720.192a2586 1 1 No valid offer received: WDS PXE-E16 error when booting clients Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • FEATURE ZABBIX
    How to Install Zabbix Monitoring Tool on a Linux System Linux
  • Fix windows Update corruption e1786450279443
    How to fix Update Error 0x800f0831 in Windows or Windows Server Windows
  • create a new Azure SQL Database
    How to create a new Azure SQL Database [PaaS] AWS/Azure/OpenShift
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • veeam vulnerability backups
    Fix critical Veeam Backup and Replication 9.5, 10, and 11 vulnerabilities Backup
  • hero windowsserver hyperv scaled
    Pass-Through Authentication Authentication and ADFS environment setup on Hyper-V for Hybrid Identity integration Virtualization
  • azure resource groups 1
    Setup Public Load Balancer in Azure AWS/Azure/OpenShift
  • VM failed to Start on Hyper V e1781126442904
    Fix an error occurred while attempting to start selected VM on Hyper-V Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,757 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.