LoadRunner and Performance Center
Showing results for 
Search instead for 
Do you mean 

TruClient in the world of Load Testing

‎01-10-2013 02:20 AM - edited ‎09-22-2015 10:57 AM

TruClient is an innovative browser-based testing technology for performance, load and automation. TruClient supports simple Web as well as modern JavaScript-based applications. TruClient’s scripting engine is embedded within the browser, and behaves like a true browser client. It utilizes a unique, patented approach to object recognition, which makes it an extremely flexible and extensible solution for testing Web2.0 applications.

TruClient was introduced to the world few years ago as a novel and groundbreaking solution for load testing Web2.0 Rich Internet Applications (RIA). TruClient technology was first implemented as a browser extension integrated with the Firefox browser in LoadRunner 11.00. In LoadRunner 11.50, the TruClient for Microsoft Internet Explorer (IE) protocol added the same functionality integrated into the IE browser.

TruClient in Load Testing
The technology is a smart, sophisticated and intrusive extension in a browser. Meaning, TruClient is tightly coupled with the browser. In the Web2.0 world there is a notion called “Browser Logic” which means that the behavior of the Application Under Test (AUT) is influenced significantly by interacting with the browser. The nature of modern Web2.0 applications makes it difficult to understand the business process when examining only the network layer. Therefore, the TruClient solution tries to imitate, as much as possible, real (Tru) user (Client) actions on the AUT, which is why it must be closely tied to the browser.

Comparing the TruClient protocol to the Web (HTTP/HTML) protocol (from a memory and scalability perspective) we must consider how closely real user behavior is taken into account. TruClient is positioned at the same level as the real user whereas the Web protocol is at the network level.

Let’s examine more closely TruClient benefits and capabilities as a solution for load testing:


  • Script Development Time (Time to Market). TruClient scripts can be created in a matter of minutes. This can dramatically reduce the cost of developing scripts, and allows users to shift resources towards improving quality.
    This is a critical success factor for continuous integration (CI), continuous delivery (CD) and Agile approaches.

  • Web2.0/RIA support. TruClient comes with built-in abilities tailored for the Web 2.0 world. AJAX calls and encoded communication are seamless for the script developer and a set.


  • Usability & User Experience (UX). A TruClient script is very readable and intuitive – anyone can understand it. TruClient is built for both novice and advanced users. Novice users can develop a script right out of the box, and make it work in a matter of minutes without writing a single line of code. Advanced users can utilize the richer functionality such as Event Handlers, Functional Libraries, Eval C, Eval JS, and much more.

  • Maintenance. TruClient requires minimal time for maintenance. There are no correlations in TruClient and the algorithms built-into TruClient are tolerant for various AUT changes.

  • Footprint/Scalability. Due to the browser coupling, the footprint and scalability can be seriously affected. We have witnessed that a typical Web2.0 AUT Virtual user (Vuser) can vary between 60-120 MB memory and 1%-30% of CPU usage.  

TruClient technology enhances your performance testing experience and accelerates time to market.


To try HP LoadRunner click here.
Join TruClient LinkedIn group.


Co-writer: Shlomi Nissim

About the Author


Network Virtualization Product Manager

Hossam El Dien Mostafa EL Attar
on ‎01-10-2013 03:11 AM

Thanks so much for great effort, I really see the TruClient one of the important topic specially when you run the performance testing for interactive web portal.



Hossam El Attar

NaveenKumar N
on ‎01-11-2013 04:49 AM

Thanks for very insight information about TruClient.



NaveenKumar N

on ‎04-15-2015 06:36 AM

I noticed that in Vugen 12.02 the Ajax True client protocol is not among the list of protocols.  I only see FireFox or IE true client. Are these the same?

Soundararajan M
on ‎05-25-2016 10:35 PM


In my test I ran 20 users all doing the same business journey. 10 users were from the TruClient script and 10 users were from the HTTP/HTML script.

I noticed the TruClient script created a separate process for each user in memory, resulting in a total of 10 processes running at an average memory usage of 70MB per user. That’s means my computer required at least 700MB free RAM just to run 10 users!

Compare this to the HTML/HTTP script which only required one process in memory running at around 20MB for 10 users. That’s equates to TruClient being 35 times more memory intensive!

Is it true?



on ‎05-27-2016 03:43 AM


I have to run a 500 user test. Is it feasible to use TruClient protocol for the same?



jackson crasto
on ‎06-14-2016 02:33 AM

Hi shlomi,

I had a question.Why was ajax truclient introduced in the first place.Are there any challenges in Web Http/HTML scripts to handle ajax calls in loadrunner.Are there any specific business case or web application  which can only be scripted through ajax truclient and not Web HTTP/HTML??


Jackson crasto

on ‎06-16-2016 11:36 AM

Hi ,

Does Truclient protocol measures the end to end response time ? ( server response + Browser / UI rendering time) or it can just only provide the server response time




swagat MIshra
on ‎06-17-2016 01:32 AM

This was very informative and helpful.

Sunil Kumar_10
on ‎06-20-2016 11:33 AM


I am using Trueclient - IE and firefox to record a script and the functionality works after right click( Context menu) , while recording it captures the event but when we save the script the event is lost , tried to increase level but it is not saved.
Please help me if an options



Leave a Comment

We encourage you to share your comments on this post. Comments are moderated and will be reviewed
and posted as promptly as possible during regular business hours

To ensure your comment is published, be sure to follow the Community Guidelines.

Be sure to enter a unique name. You can't reuse a name that's already in use.
Be sure to enter a unique email address. You can't reuse an email address that's already in use.
Type the characters you see in the picture above.Type the words you hear.
Aug 29 - Sep 1
Boston, MA
HPE Big Data Conference 2016
Attend HPE’s Big Data Conference to learn from peers in every industry and hear from Big Data experts and thought leaders in an exciting, energy fille...
Read more
Sep 13-16
National Harbor, MD
HPE Protect 2016
Protect 2016 is our annual conference and is the place to meet the world’s top information security talent, discuss new products and share information...
Read more
View all