First, please don’t confuse TruClient with the Ajax – Click and Script protocol. These are two totally different protocols based on completely different technology. Click and Script was an early attempt at making a script that didn’t need traditional correlation. It never was highly adopted and I don’t think it was well understood. In version 11 of LoadRunner that all changed. HP introduced a new protocol call Ajax TruClient. I think naming it Ajax also contributed to the confusion with Click and Script. This protocol used an actual browser to test the application and not a low-level script that duplicated HTTP traffic. This made some scripting very easy, but it also came with some pitfalls. Such as a significantly larger vuser footprint and it only worked with older versions of Firefox. This all slowly changed over time though. What you’ll notice is the TruClient is changing very fast and is constantly being updated to meet user demands and ever changing technology. Be sure to use the latest version to take advantage of the newest features. Let’s take a quick look at the history of TruClient:
LoadRunner 11.50 – Added support for IE9 and Firefox 8. I found the IE version rather buggy and couldn’t use it much. Added general improvements to usability, support for HTML 5 and some underlying technologies.
LoadRunner 12.02 – No longer called Ajax TruClient, simply TruClient for Firefox or IE. Continued improvements to usability. Adds If Verify and If Exists functions which greatly help script flow control and error handling. Also, added support for VTS.
LoadRunner 12.5 – TruClient is now simply TruClient Web, and dropped separate protocols for Firefox and IE. Added Record Once Replay Any (RORA) browser functionality. Added support for Chromium (Not Chrome, but the 64-bit version of Chromium). Now you can record in Firefox and replay in IE if you wish.
LoadRunner 12.53 – The latest version of TruClient at the time of this blog being published. Added easier parameterization by using parameters by name in arguments along with improved object identification and script development.
I would highly recommend you use version 12.02 or higher for any TruClient development. All the script examples below will be from 12.5, which may not work on any of the 11.x versions.
When should I use TruClient over Web HTTP/HTML?
Recording in TruClient – Part 2
Did you enjoy this article? Help spread the word by sharing:
Engage in the conversation and leave a comment:
About Tony Gartrell (10 articles)
Tony is one of Northway's newest additions to the team. He brings nearly 20 years of IT experience with him. Tony is specialized on HPE LoadRunner, with over 15 years dedicated to performance testing. He has done extensive testing of several web technologies and Citrix. Tony has also worked on several large ERP projects and is an expert at testing SAP and Oracle ERP solutions across many different industries.