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

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.

  • 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
  • Share on Threads (Opens in new window) Threads
  • 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

  • lang2
    How to add languages to your Windows PC Windows
  • images 1
    How to reset and reinstall Windows 10 locally Windows
  • windows update 03
    Check if Windows Updates were installed via the Registry Editor Windows
  • screensaver1
    Prevent Windows Users from Changing the Screen Saver via the Registry Settings Windows
  • change keyboard layout windows 10 thumb800
    How to use the On-Screen Keyboard Windows
  • AADSTS900144
    Fix AADSTS900144: The request body must contain the parameter Linux

More Related Articles

lang2 How to add languages to your Windows PC Windows
images 1 How to reset and reinstall Windows 10 locally Windows
windows update 03 Check if Windows Updates were installed via the Registry Editor Windows
screensaver1 Prevent Windows Users from Changing the Screen Saver via the Registry Settings Windows
change keyboard layout windows 10 thumb800 How to use the On-Screen Keyboard Windows
AADSTS900144 Fix AADSTS900144: The request body must contain the parameter Linux

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

Veeam Vanguard

  • FEATUREDC
    How to create Confidential VMs in Azure AWS/Azure/OpenShift
  • opsworks for automate blog
    How to setup Chef Automate on AWS Configuration Management Tool
  • screenshot 2020 04 27 at 13.30.17
    What are the differences between a Role and a Feature Windows Server
  • 1 kajkbmlyehn0inifwrh 8w
    How to install Kerberos packages via Cygwin in Windows Windows Server
  • Norton Antivirus Free Download For Mac 1st
    How to fix repeated app-blocking connection alerts from Norton on Mac Mac
  • PowerShell 1
    How to upgrade PowerShell to the latest version on macOS via Homebrew Mac
  • M365 Password Reset
    How to reset Microsoft 365 User Password AWS/Azure/OpenShift
  • Install ROOT CA Enterprise
    How to Install ROOT CA Enterprise and NPS Wifi Certificate Windows

Subscribe to Blog via Email

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

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