Skip to content
Speak to an Expert

Mobile App Performance Testing Using LoadRunner: A Practical Guide

Connect

Summary

Mobile app performance testing using LoadRunner helps teams identify slow response times, measure server capacity, and assess application performance under real-world conditions.

  • Protocol selection: Use Web - HTTP/HTML for back-end load testing, TruClient - Web for browser interactions, and TruClient - Native Mobile for real-device testing.
  • Script recording: Choose a supported recording method, correlate dynamic values, and validate scripts before increasing the load.
  • Network simulation: Test across Wi-Fi, 4G, and weak-network conditions to identify delays, timeouts, and performance issues.
  • Real-device testing: Combine back-end load with one virtual user per physical device to monitor response times, CPU usage, and memory consumption.
  • Performance analysis: Track response-time percentiles, throughput, error rates, and system capacity to identify bottlenecks and make informed release decisions.

Editorial summary  ·  Read the full guide below

A mobile app could be great to use on office Wi-Fi and start slowing down when a sale happens, with hundreds of users. The API is sometimes slow. In other instances, it is the network or device that is causing the delay.

The traditional performance tools that are based on browsers do not always provide a complete picture.

Mobile app performance testing with LoadRunner enables teams to gauge server capacity, look into slow transactions, and get to know how the applications perform under various situations.

OpenText’s LoadRunner, which was previously owned by Micro Focus, provides mobile testing support across a variety of mobile protocols.

This guide specifies protocol selection, recording scripts, simulating networks, testing real devices, and interpreting the performance results.

What Are You Testing: Server Performance or Device Performance?

There are two layers to mobile performance testing, and both of them come into play when determining whether an app is ready to go to market.

Server-side performance

This is a measure of how the application’s back end deals with requests from several users.

Important metrics include:

  • Server-side performance
  • API response times
  • Concurrent user capacity
  • Transaction throughput
  • The number of errors and timeouts
  • The percentage of CPU and memory used for a server.

With an application, for instance, there are 200 concurrent checkout requests, but the application begins to time out at 800.

Protocol-level virtual users can help to detect these limits without the need for hundreds of physical devices.

Device-side performance

This provides a test of the app’s performance with a real handset.

The API may provide the data quickly, but the device may not be able to process it. If the CPU usage or memory usage is high, it can impact the user experience.

LoadRunner supports server-side performance testing with protocols. It also gathers some selected device measurements with its TruClient – Native Mobile protocol.

Both layers are good evidence. The measurements made on the server describe the capacity of the infrastructure, and those made on the device describe issues that users might experience.

Which LoadRunner Protocol Should You Use for Mobile Apps?

You can’t find one protocol for ALL mobile applications that fits the bill for LoadRunner.

The selection is based on testing network requests, browser interactions, or native-device behavior.

For details on the options for protocol selection, read OpenText’s protocol selection guidance 

ProtocolBest forWhat it recordsImportant considerations
Mobile Application – HTTP/HTML, documented in current VuGen as Web – HTTP/HTML for mobileNative and browser-based apps using HTTP/HTTPSHTTP network requests and responsesOS-independent at protocol level; lightweight per user; doesn’t measure rendering
TruClient – WebMobile websites and browser-based workflowsBrowser interactionsRecommended over the older TruClient – Mobile Web protocol, which was marked for future deprecation
TruClient – Native MobileNative Android and iOS applicationsTaps, swipes, and device actionsUses devices hosted in OpenText’s device lab; one virtual user per device

Which protocol should you choose?

If you’re looking to test high concurrency API, Web – HTTP/HTML is typically a good starting point.

If interactions with the browser are important, take the time to consider TruClient – Web for mobile browser workflows.

If you are recording actual device actions and collecting device measurements for native applications, then use TruClient – Native Mobile.

The approach of HTTP is operating system agnostic since it mimics network communication and not the mobile application itself.

Product names in 2026: From now on, LoadRunner Professional will be called OpenText Professional Performance Engineering. The difference between them is that LoadRunner Enterprise is OpenText Enterprise Performance Engineering and LoadRunner Cloud is OpenText Core Performance Engineering.

These names are confirmed in OpenText’s product naming reference.

This guide primarily follows VuGen and Professional Performance Engineering 26.1 documentation.

How to Record a Mobile App Script With LoadRunner

It can be more challenging to record mobile traffic than desktop traffic.

This could be due to encrypted traffic, authentication via application-specific methods, or certificate pinning to prevent traffic interception.

Identify the protocol that the app uses before recording and choose an appropriate protocol.

Five mobile application recording methods

The current recording options and methods used in older versions of LoadRunner are listed in the following table.

MethodUse it whenRequirementsWatch out for
Proxy recordingThe device allows Wi-Fi proxy configurationDevice and VuGen on the same networkHTTPS certificate trust and certificate pinning
Server-side recordingDevice proxy settings cannot be changedSupported server-side sniffer or capture setupCapture may cover only one server or network segment
Script from network captureTraffic has already been capturedSupported capture file imported into VuGenIncomplete captures produce incomplete scripts
Emulator recordingNo physical Android handset is availableConfigured Android emulatorEmulator behavior differs from real hardware and networks
On-device recordingTraffic must be captured directly on the handsetCompatible mobile recorder and device configurationLegacy tools may require elevated permissions or rooted Android devices

Version note: OpenText’s current Web – HTTP/HTML mobile recording documentation explicitly describes proxy recording, importing captured traffic, and Android emulator recording.

Server-side sniffing and standalone on-device recording are version-dependent or legacy approaches. Confirm availability before building your testing plan around them.

How proxy recording works

Proxy recording routes supported application traffic through VuGen.

A typical process looks like this:

  1. Create a Web – HTTP/HTML script in VuGen.
  2. Select recording through a proxy.
  3. Configure the mobile device to use VuGen’s IP address and listening port.
  4. Install and trust the required HTTPS certificate.
  5. Perform the business transaction on the device.
  6. Stop recording and inspect the captured requests.

OpenText’s proxy recording instructions explain the setup and supported configurations.

What about certificate pinning?

Even if the proxy’s certificate is trusted by the OS, it will be rejected by the application if the certificate is not trusted by the application.

If you need to have a developer provide a QA build for authorized testing, you can do so. Use a supported capture method that does not require capturing traffic on the device.

Turn Your Recording Into a Realistic LoadRunner Script

One user’s activity was being recorded. It’s not necessarily the best fit for hundreds of virtual users.

There are four adjustments to make the script reliable.

1. Add transactions around business actions

Organize requests into distinct actions like Login, Search Products, Add to Cart, Complete Checkout.

When reviewing business-critical workflows, transaction names help to make the results easier to interpret.

2. Correlate dynamic values

A session ID, authentication token, and other values are generated by applications for each user.

Use answer values rather than replaying answer identifiers.

Otherwise, requests could be unsuccessful or act in unexpected ways as if it were a real user session.

3. Parameterize test data

Use multiple accounts, search keywords, and transaction information.

The workload can cause unrealistic behaviour of caching, locking and sessioning if 1,000 virtual users share one account.

4. Preserve mobile-specific headers

Check user agent parameters, app version identifiers, authentication, and custom API headers.

Different Responses are returned by some back ends based on the platform or version of the client application.

Prior to scaling: Replay the script with one virtual user and check the real business result.

If the response code is successful, it does not necessarily imply that the transaction has been successful.

Simulate the Network Conditions Your Users Experience

An issue that you may have with your mobile network can appear fine with fast office Wi-Fi.

LoadRunner works with network virtualization features to emulate bandwidth constraints, delays, and packet loss.

A useful test matrix might include:

Network profileTesting objective
Strong Wi-FiEstablish a performance baseline
Good 4GEvaluate typical mobile connectivity
Congested 4GIdentify delays under network pressure
3GAssess limited-bandwidth behavior
Weak coverageInvestigate timeouts, retries, and packet loss

Use the distribution that’s most relevant to your audience instead of evenly splitting the users into profiles.

Latency can be especially harmful if there are several sequential API calls in an app. Every request is another chance for delay.

OpenText’s guide to network virtualization profiles details how these parameters can be configured.

One of the most useful ways to test mobile performance with LoadRunner is to combine protocol-level traffic with actual device measurements.

You don’t need 1,000 physical phones to simulate 1,000 users.

Many mobile applications share their APIs, databases, and authentication services with corresponding websites.

OpenText recommends generating traffic against that shared back end using Web – HTTP/HTML or TruClient – Web, while running one TruClient – Native Mobile user on each device being tested.

How the combined approach works

Step 1: Generate back-end load

Run protocol-level virtual users against the application’s services.

Step 2: Connect representative devices

Use OpenText Functional Testing Lab for Mobile and Web, formerly Digital Lab or UFT Mobile, to access Android and iOS devices.

Step 3: Execute native-mobile interactions

Run one user on each selected device while the back end handles the simulated workload.

Step 4: Collect device measurements

Monitor CPU consumption, available device memory, and memory used by the application.

Step 5: Compare performance data

Compare transaction response times with device measurements using LoadRunner’s analysis capabilities.

This helps distinguish server-side slowdowns from issues that become visible on the device.

Scripts recorded on one operating system can run on compatible devices within the same OS family.

OpenText Core Performance Engineering also supports single-user native-mobile tests.

If tests execute on separate load generators, those generators must be able to reach the device lab server.

These recommendations come from OpenText’s TruClient – Native Mobile documentation.

Practical Example: Testing a Mobile Checkout Before a Sale

Consider a retail application preparing for a promotional campaign.

The team expects traffic to increase after a push notification announcing a limited-time discount.

The main concern is whether customers can browse products and complete purchases when demand increases.

Instead of testing every user through a physical device, the team generates protocol-level traffic and monitors selected handsets separately.

Example workload

The figures below are illustrative planning assumptions, not actual LoadRunner results.

ParameterExample target
Expected peak concurrency1,000 virtual users
Browsing activity60% of users
Product searches25% of users
Checkout activity15% of users
Checkout response target95th percentile below 3 seconds
Transaction failure thresholdBelow 1%
Device coverageRepresentative Android and iOS devices

The team gradually increases concurrency while monitoring checkout response times, error rates, and infrastructure utilization.

Meanwhile, it runs a native-mobile script on each representative device.

What the results mean

Suppose checkout transactions meet the agreed response-time target at 600 concurrent users but exceed it at 800.

That indicates a potential capacity problem before the planned 1,000-user peak.

The team can investigate the bottleneck, make targeted improvements, and rerun the test.

This is where performance testing supports a business decision: release with evidence, improve the system, or revise capacity expectations.

Design LoadRunner Scenarios Around Real User Behavior

Different performance risks require different workloads.

  1. Load test: Add traffic to test for normal operating capacity when there is a forecast of high traffic volume/potential high concurrency.
  2. Stress test: Apply more stress than expected to find system limits and recovery responses.
  3. Spike test: Fake a traffic surge after a push notification or promotional announcement.
  4. Soak test: Run traffic for extended periods to uncover memory leaks and resource problems.
  5. Stepped test: Add users one by one, determining the point at which response times start to accelerate rapidly.

Realistic activity distribution also matters.

Typically, there are more “views” than “conversions” on a shopping application. Testing each virtual user at checkout would result in an incorrect workload.

Allow for authentic thinking time between actions & incorporate production traffic patterns if available.

How to Read Mobile App Performance Testing Results

Performance reports are useful when they help teams understand capacity, identify bottlenecks, and make release decisions.

Focus on five measurements.

1. Response-time percentiles

Slow transactions can be masked by averages.

Look at 90th and 95th values to see how slower requests are working.

Compare them with targets agreed before testing.

2. Response time versus concurrency

Overlap transaction response time with active virtual users and server CPU usage.

Search for the location where the latency starts to significantly rise.

3. Practical system capacity

Determine the work rate level at which the margins on response time and errors are maintained.

This will provide a more meaningful capacity number for release teams than the peak number of users.

4. Throughput and payload size

Request rate per second, transferred data, and response sizes.

There may be noticeable differences in transfer speed when a large payload is being transferred over Wi-Fi, depending on the strength of the connection.

Create a budget for significant transactions.

Compare that release with that baseline to see if there are regressions.

Combine LoadRunner reports with application monitoring or distributed tracing features to locate slow services, database operations, or external components.

Kualitatem’s guide to web application performance bottlenecks explains how to investigate these issues further.

LoadRunner vs. Other Mobile Performance Testing Tools

LoadRunner isn’t the only option for mobile app load testing.

Apache JMeter, NeoLoad, and k6 can generate protocol-level traffic against supported mobile back ends.

Capture tools such as Fiddler and Charles help teams inspect network communication before creating scripts.

The benefits of using LoadRunner include its wide protocol support, correlation features, performance analysis, and its built-in integration with mobile devices.

It does need to be commercially licensed, however, and cost will vary among editions, workloads, and infrastructure.

Select depending on the sort of application architecture, testing needs, team proficiency, and budget.

Common Mobile Performance Testing Mistakes to Avoid

Even a carefully designed workload can produce misleading results when the setup is wrong.

  • Ignoring certificate pinning: Proxy recording may fail when the app rejects intercepted HTTPS connections.
  • Recording on a busy device: Background synchronization introduces unrelated requests into the capture.
  • Skipping one-user replay: Scaling an unreliable script only multiplies failures.
  • Testing successful journeys only: Failed payments, timeouts, and retries also consume server resources.
  • Ignoring notification-driven spikes: A push notification can send large numbers of users into the same workflow.

Also pay attention to response payload size.

An API returning a large response might appear fast on office Wi-Fi but introduce noticeable delays under weak mobile coverage.

Check transfer size alongside response times.

How Kualitatem Can Help

Mobile app performance testing using LoadRunner starts with choosing the right protocol, recording reliable scripts, and simulating realistic networks.

Combining back-end load with real-device measurements gives teams a clearer understanding of application performance under pressure.

Kualitatem’s performance testing services help engineering teams plan load, stress, and capacity assessments for web and mobile back ends.

Our mobile app testing services cover real-device functionality, compatibility, and performance.

Frequently Asked Questions

Can LoadRunner test native iOS and Android apps?

Yes. LoadRunner supports HTTP-based testing for native mobile back ends and TruClient - Native Mobile testing on real Android and iOS devices.

Which LoadRunner protocol should I use for a mobile app?

Use Web - HTTP/HTML for HTTP-based workloads, TruClient - Web for browser interactions, and TruClient - Native Mobile for real-device testing.

Do I need a physical device to build a script?

Not always. HTTP scripts can be generated from captures or Android emulators. Native-mobile interaction testing requires access to lab-connected physical devices.

Does LoadRunner measure CPU and memory on the device?

Yes. TruClient - Native Mobile supports device CPU, free-memory, and application-memory measurements when the relevant monitoring options are enabled during execution.

How do I record an app that uses certificate pinning?

Use an authorized QA build that permits proxy interception, or coordinate a supported alternative capture method with the application development team.

Share this article

About the author

Kashaf Fatima

Published by Kualitatem General

Explore more articles

Let’s Build Your Success Story

Our experts are all ready. Explain your business needs, and we’ll provide you with the best solutions. With them, you’ll have a success story of your own.
Contact us now and let us know how we can assist.