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
  • Screenshot 2020 05 24 at 22.40.50
    The security database on the server does not have a computer account for this workstation trust relation [Part 1] Windows Server
  • install git 1024x512 1
    How to install Git on macOS Version Control System
  • FoneTool
    FoneTool is the best iPhone backup software Backup
  • Fix OneDrive Error
    How to Fix OneDrive Error 0x80071129: The tag present in the reparse point buffer is invalid Windows
  • mendeley
    Install Mendeley Reference Manager: How to integrate Mendeley Cite for Microsoft Word on Mac JIRA|Confluence|Apps
  • self signed sslcert
    Generate self-signed certificate and export in PFX format via PowerShell [Part 2] Windows
  • maxresdefault
    Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows
  • Clone a Virtual Machine via Export and Import
    Clone a Virtual Machine via Export and Import: How to copy Virtual Hard Disk on Hyper-V Virtualization

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

  • HyperV VM disk size increase
    How to Increase Disk Size in Hyper-V Virtualization
  • Feature image Install.wim file
    How To Get Install.WIM From Windows 10 Installation File Windows
  • Windows 11 taskbar features remove 1
    How to modify Windows 11 Taskbar via Intune and GPO Windows
  • Fix Windows Installer Service Could Not Be Accessed Error
    How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
  • wsl5678uh
    Various methods to install Windows Subsystem for Linux Windows
  • Cloud Cost
    How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift

More Related Articles

HyperV VM disk size increase How to Increase Disk Size in Hyper-V Virtualization
Feature image Install.wim file How To Get Install.WIM From Windows 10 Installation File Windows
Windows 11 taskbar features remove 1 How to modify Windows 11 Taskbar via Intune and GPO Windows
Fix Windows Installer Service Could Not Be Accessed Error How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
wsl5678uh Various methods to install Windows Subsystem for Linux Windows
Cloud Cost How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift

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

  • Screenshot 2020 05 24 at 22.40.50
    The security database on the server does not have a computer account for this workstation trust relation [Part 1] Windows Server
  • install git 1024x512 1
    How to install Git on macOS Version Control System
  • FoneTool
    FoneTool is the best iPhone backup software Backup
  • Fix OneDrive Error
    How to Fix OneDrive Error 0x80071129: The tag present in the reparse point buffer is invalid Windows
  • mendeley
    Install Mendeley Reference Manager: How to integrate Mendeley Cite for Microsoft Word on Mac JIRA|Confluence|Apps
  • self signed sslcert
    Generate self-signed certificate and export in PFX format via PowerShell [Part 2] Windows
  • maxresdefault
    Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows
  • Clone a Virtual Machine via Export and Import
    Clone a Virtual Machine via Export and Import: How to copy Virtual Hard Disk 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,841 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

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.