LoadRunner 11 has added the AJAX Truclient protocol, and with it new functions for it that are unlike the old C-based functions. As of this writing, there still isn’t an entry in the function reference for the protocol with examples of usage, but only documentation found in the help documentation.
However, recently we found that some of these functions are not correct. HP recently added a new knowledge base article address this:
Problem: When trying to use the following functions in an step “Evaluate JS”:
the following error message appears:
Cause: The correct API prefixes are LR and Utils.
Use the prefixes LR and Utils instead of LRAPI and UtilsAPI:
This pretty much amounts to an “oops”, but at least they found it. If you need to use this functionality, make sure to make a note of these corrections.
Did you enjoy this article? Help spread the word by sharing:
Engage in the conversation and leave a comment:
About Scott Moore (153 articles)
With over 20 years of IT experience with various platforms and technologies, Scott has tested some of the largest applications and infrastructures in the world. He is a Certified Instructor and Certified Product Consultant in HP’s LoadRunner and Performance Center products. He currently holds HP certifications for ASE, ASC, and CI. A thought leader in the APM space, he speaks regularly at IT conferences and events