Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Apache JMeter Load Testing: Test Mobile Apps on Windows
  • Manage Log Files via Logrotate
    How To Use Logrotate For Managing Log Files In Ubuntu Linux Linux
  • LINUX CONTAINERS
    How to install LXC/LXD for container management Linux
  • Remove Bing Chat Button from Edge Sidebar
    How to Remove Bing Chat Button from Edge Sidebar Windows
  • PSD1 Azure 2
    How to install PSD Hydration Kit for remote bare-metal deployment or via PXE boot Windows Server
  • picture1 100
    Fix Application blocked unable to run and apply settings Anti-Virus Solution
  • officeinstallationandactivation
    How to install and activate Office 2019 on your Mac PC Microsoft Exchange/Office/365
  • Cyclic Redundancy
    Cyclic Redundancy: Resolve Data Error on Inaccessible Hard Drive Windows
  • screenshot 2020 04 07 at 02.14.53
    SSH and Telnet on Cisco ASA 5505: Quick Setup Guide Network | Monitoring

Apache JMeter Load Testing: Test Mobile Apps on Windows

Posted on 27/10/202225/10/2023 Temitope Odemo By Temitope Odemo No Comments on Apache JMeter Load Testing: Test Mobile Apps on Windows
Apache JMeter Load Testing: Test Mobile Apps on Windows

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. Performance testing on your Mobile App is easy to achieve using JMeter which will help to record mobile application traffic. All that is required is some configuration of the proxy for mobile applications.

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

Setting up JMeter Configuration

Follow the below steps on setting up the JMeter Configuration:

  1. Launch the JMeter. Give your Test Plan a name.
  2. Right-click the Test Plan > Add > Threads (Users) > Thread Group.
Setting up a thread
Setting up a Thread

3. Right click the Thread group > Add > Logic Controller > Recording Controller.

setting up a recording controller
setting up a recording controller

4. Now Right-click the Threads > Add > Listener > View Results Tree. This will help to display the outcome of the test result.

etting up a view result tree
setting up a view result tree

5. Now Add > Non-Test Elements > Add HTTP’s test script recorder.

Setting up  the test script recorder
Setting up the test script recorder

6. Go to Global settings and set port to 8888 (or any available port). Select the Target Controller from the drop-down

Select HTTPS Test Script Recorder
HTTPS Test Script Recorder

7. Then click on the Start button displayed on HTTP(S) Test Script Recorder, and a dialog box will be opened that will allow for Root CA Certificate. Then click the “OK” button after.

Click OK to set up root certificate
Setting the Root Certificate

How to install the certificate in Firefox

To proceed with Apache Jmeter load testing, do the following: Go to Privacy & Security

Go to Privacy & Security
The Privacy and Security

Click on Import browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, press Open

Click on Import to import Jmeter Certificate
Importing the JMeter Certificate

Click View and check that the certificate details agree with the ones displayed by the JMeter Test Script Recorder.

  • If it is the same then select “Trust this CA to identify web sites“, and Click OK
Check Trust this CA to identify websites
Trusting the CA

How to add the certificate in Chrome and Internet Explorer

Alternatively, if you have Chrome or IE you can still perform load tests using Jmeter. To do this, you can install the certificate In Chrome and Internet Explorer same way by doing these:

  • Go to Privacy and Security and Click on Manage certificates.
  • Click on Import and browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, and open it
  • You can also click on the “Details” tab and confirm that the certificate details agree with the ones displayed by the JMeter Test Script Recorder
Apache Jmeter Load Testing on Chrome - Click on Privacy & Security, then Import to import Jmeter Certificate
Managing Certificate

Configure the proxy on your Smartphone

As part of Apache JMeter Load Testing, you’ll configure a proxy on the mobile device. This intercepts all traffic, focusing on mobile app data during Text script recorder playback on Windows.

Results are then reported to JMeter for in-depth analysis. If you will be using an emulator as your mobile device you will have to configure the same proxy settings on the emulator.

  • Go to settings and find the wireless networks you are connected.
  • Left-click this network and hold it down and wait for the menu to pop out then select Modify Network.
  • Click the dropdown in advanced settings.
  • In the Proxy drop-down select Manual.
Apache Jmeter Load Testing - Set up a Proxy on mobile
Modify wifi network

Confirm your system IP using the ipconfig command in the command prompt.

  • Copy it and paste it into Proxy hostname of your emulator.
  • Make sure you enter the same Proxy Port with the same one you enter in the HTTP(S) Test Script Recorder settings in Apache JMeter.

Leave the DHCP value as dynamic and click save.

Apache Jmeter Load Testing -  Set up proxy name on mobile
Setting Proxy

Setting Up JMeter on Mobile

After installing the JMeter Certificate on your Windows system then you will need to copy the Apache JMeter certificate to your smartphone or to the emulator you plan to use.

The file is called ApacheJMeterTemporaryRootCA.crt. and can be found in the JMeter installation directory bin folder. Follow the steps below in other to properly install the certificate on your mobile device not just running the certificate file.

  • Go to your phone or emulator settings > Security > Install from an SD card. Make sure you already copied the file to this location and remember that this setting may be different from one device to another.
Install Jmeter from SD Card - Apache Jmeter Load Testing
installing JMeter from SD

Locate the Apache JMeter certificate you copied to the SD card and click on it.

Apache Jmeter Load Testing - Locate the apache file
Apache file

You will need to enter the name of the certificate.

  • Click OK to confirm the installation of the certificate.
  • Go ahead to set up a screen lock password for security purposes.
Apache Jmeter Load Testing - Setting up a lock screen
Setting lock screen PIN

After all these configurations you can then run the test and capture the report making sure the Proxy is set to ON.

I hope you found this blog post Apache JMeter Load Testing: Test Mobile Apps on Windows Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.

Rate this post

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Configuration Management Tool, Windows Tags:Performance, software testing, Windows 10

Post navigation

Previous Post: How to find out who restarted Windows Server
Next Post: Detect if an application was uninstalled on Windows: Find out who has uninstalled an application via Windows Event Viewer

Related Posts

  • windows workstations inactivity
    Configure Windows Device Inactivity Limit Locally and Domain Wide Windows
  • Modernstanby
    Modern Standby: PC is automatically encrypted Windows
  • shut down 650x300 1
    How to prevent users from shutting down in a Virtual Machine Windows
  • win10
    How to add a device to Windows Windows
  • Featured image 8
    How to restore quarantined files in Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • PrintButton
    How to add Print Drivers with PowerShell, RUNDLL32, and VBScript in Windows 10 Windows

More Related Articles

windows workstations inactivity Configure Windows Device Inactivity Limit Locally and Domain Wide Windows
Modernstanby Modern Standby: PC is automatically encrypted Windows
shut down 650x300 1 How to prevent users from shutting down in a Virtual Machine Windows
win10 How to add a device to Windows Windows
Featured image 8 How to restore quarantined files in Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
PrintButton How to add Print Drivers with PowerShell, RUNDLL32, and VBScript in Windows 10 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Manage Log Files via Logrotate
    How To Use Logrotate For Managing Log Files In Ubuntu Linux Linux
  • LINUX CONTAINERS
    How to install LXC/LXD for container management Linux
  • Remove Bing Chat Button from Edge Sidebar
    How to Remove Bing Chat Button from Edge Sidebar Windows
  • PSD1 Azure 2
    How to install PSD Hydration Kit for remote bare-metal deployment or via PXE boot Windows Server
  • picture1 100
    Fix Application blocked unable to run and apply settings Anti-Virus Solution
  • officeinstallationandactivation
    How to install and activate Office 2019 on your Mac PC Microsoft Exchange/Office/365
  • Cyclic Redundancy
    Cyclic Redundancy: Resolve Data Error on Inaccessible Hard Drive Windows
  • screenshot 2020 04 07 at 02.14.53
    SSH and Telnet on Cisco ASA 5505: Quick Setup Guide Network | Monitoring

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.