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

Introduction
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

Guy_Rosenthal

Network Virtualization Product Manager

Comments
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.

 

Thanks

Hossam El Attar

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

Thanks for very insight information about TruClient.

 

Regards,

NaveenKumar N

Rattygan
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

Hi,

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?

Regards,

Soundar

Payal_Dam
on ‎05-27-2016 03:43 AM

Hi,

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

Thanks,

Payal

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??

Thanks,

Jackson crasto

johnkennady
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

 

Thanks,

John.

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

Hallo

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

 

 

on ‎07-25-2016 01:21 AM

 Hi All,

Sorry for not replying earlier. I didn't get email notifications on this blog

@Rattygan, yes TruClient Firefox and TruClient IE is a newer newer name for the protocol. The underlying technology is the same

@Soundararajan, yes this is true. TruClient Vuser runs a browser process which consumes ~100MB (if not more)

 @Payal, it is feasible to run 500 Vusers test with TruClient. You just need to have the right HW for it. I suggest visiting this help page to get ready for such a test. http://tchelp.saas.hpe.com/en/12.53/Content/TruClient/procedures/_tc_t_how_to_calculate_load_generators.htm

@Jackson, TruClient was invented for two reasons. To allow measuring performance of client side in addition tp network and server. and to allow overcoming challenges of corrleations in Web 2.0 based applications 

@John, TruClient measures end to end to response time including client side. It depends though on the end events chosen in your steps, but it can measure client time as well

@Sunil, can you please post your question in LoadRunner Practitioners forum? I will help you there

Regards,

Shlomi

Danny1979
on ‎07-27-2016 08:22 AM
How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while recording but works fine in standalone IE browser)

I am unable to record an application using TruClient-IE protocol in Vugen 12.02

The application works fine in standalone IE 11 browser only after installing additional plugins.

How can we install plugins for Truclient IE browser in 12.02 so that application will work.

Please let me know as soon as possible

on ‎07-31-2016 08:31 AM

Hi Danny,

I think it is better to raise your question in this forum as it is unrelated to this post.

Regards,

Shlomi

 

Events
Each Month in 2016
Online
Software Expert Days - 2016
Join us online to talk directly with our Software experts during online Expert Days. Find information here about past, current, and upcoming Expert Da...
Read more
Sep 30
Seattle, WA
OpenStack Days Seattle
OpenStack Days Seattle, September 30, is the largest gathering of OpenStack users and prospective users in the Pacific Northwest region.
Read more
View all