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

  • SCVMM setup fails because it cannot find the specific Windows ADK Deployment Tools files
    SCVMM setup Fails: Fix Missing Windows ADK Deployment Files Windows Server
  • Featured image 2
    Enable Microsoft Defender SmartScreen: How to prevent Exe files from getting deleted randomly in Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • Windows 11 Taskmanager
    Create Task Manager Shortcuts: How to add access, pin the Task Manager on Windows 11 Windows
  • How to Disable Windows Startup Sound in Windows 11 banner
    How to Disable and Enable Startup Sound in Windows 11 Windows
  • disable automatic updates in Windows
    How to disable automatic Windows updates via Windows Settings Windows
  • change keyboard layout windows 10 thumb800
    Prevent on-screen keyboard from starting automatically and from appearing at login Windows

More Related Articles

Fix windows Update corruption e1786450279443 How to fix Update Error 0x800f0831 in Windows or Windows Server Windows
uninstall installed Windows Update from Windows How to uninstall installed Windows Update Windows
windows update 03 Fix Windows cannot check for updates in Windows 8, 7, and 10 Windows
Remove Desktop Desktop services How to Remove Remote Desktop Services Role on Windows Server Windows Server
screenshot 2020 02 08 at 15.53.31 Enable Automatic Logon on Windows Windows Server
ReasonsforBitLockerRecovery Reasons for BitLocker Recovery Prompt: Query the number of BitLocker recovery request Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • maxresdefault 1
    DriveLock Components: Important DriveLock components to master Windows Server
  • windows 1 1
    Generation 2 VM: Set up a HyperV VM through PXE boot Virtualization
  • Screenshot 2020 07 28 at 15.34.51
    Nslookup unknown: Fix cannot find non-existent domain Windows Server
  • windows 10 s splash 100720578 large
    Open the location of a Program: How to search in Windows 10 to find a files or programs in File Explorer Windows
  • VBR Console on a Jump Server
    How to install Veeam Backup Console on a Jump Server Backup
  • xxxxxx 1
    The different Windows Logon Types Windows
  • windows store icon
    Application User Model ID: How to find the AUMID of an installed UWP App Windows
  • FEATURE IMAGE
    SSH into a VM created using Azure CLI or GUI Linux

Subscribe to Blog via Email

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

Join 1,746 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.