This post was written by Kert Luo, from the Performance Engineering Core R&D team.
We are so excited to announce the release of Hewlett Packard Enterprise LoadRunner 12.53 load testing software . (Find out more about this new version from our forum) If you are a load test engineer for Web applications, you are probably curious about what new features and improvements have been implemented for the Web – HTTP/HTML protocol. This blog gives you a five-minute overview of the highlights.
HTTP/2 is a major revision of HTTP 1.0/1.1, to create a faster network protocol on the Internet. It is supported by all mainstream browsers.
From LoadRunner 12.53, users can record and replay HTTP/2-based applications. To make it easier, the new HTTP/2 solution does not introduce any new APIs. The existing Web APIs switch to HTTP/2 mode automatically when the ALPN TLS extension is selected.
The popularity of video streaming is continuously increasing. In version 12.53, we added support for record and replaying of HTTP video streams, for HTML5 and HTTP Live Streaming (HLS) formats. On-demand (VOD) and live streaming support are both also available. A bunch of APIs have been added to simulate traffic level and user-action level behavior. These APIs work in an asynchronous manner, so that the virtual user can simulate normal Web browsing while “playing” videos. For details, see How to record streaming media in Web - HTTP/HTML in the LoadRunner Help Center. And we’ve also published a blog post introducing this new feature.
REST step-builder editor in VuGen
Starting from 12.53, we added a simple-to-use feature that enables the user to add REST API based syntax within Web protocol scripts. We now support a web_rest() API function that submits simple and complex REST requests. This is available for all Web protocols, Web Services and Oracle NCA. For details, see How to Create a Script for a REST API in the LoadRunner Help Center. Details can also be found in this blog.
JSON manipulation API
JSON is one of the most popular data exchange formats in modern distributed applications. In addition to the existing JSON to XML Data Format Extension, JSON-based correlation API (web_reg_save_param_json), the 12.53 release introduces new APIs to manipulate JSON content directly. With the help of these APIs, users can perform CRUD (create, read, update, delete) operations on JSON content in C-based Vuser scripts. For details, see lr_json APIs in the VuGen Function Reference.
Edge is the next-generation Web browser from Microsoft. In LoadRunner 12.53, we’ve added support for Edge browser, both for recording and for browser simulation in replay. For details, see Start Recording Dialog Box in the LoadRunner Help Center.
Web - HTTP/HTML and Mobile Application - HTTP/HTML protocols unification
Prior to 12.53, Web - HTTP/HTML and Mobile Application - HTTP/HTML were two different protocols. Both of them were used to test HTTP-based applications on the network transport level. In 12.53, they are merged into one single protocol, for creating a new script in VuGen, or for license consumption in Controller. All the capabilities and recording methods which were available in the Mobile Application - HTTP/HTML protocol, such as PCAP, SAZ, and HAR importing, are now also available in the market-leading Web – HTTP/HTML protocol. For details, see Web - HTTP/HTML - Recording Methods for Mobile Applications in the LoadRunner Help Center.
There are tons of other small and medium enhancements and fixes that were implemented in the 12.53 release, many of them not even listed. To see the list of VuGen and LoadRunner 12.53 enhancements, beyond the Web – HTTP/HTML protocol domain, take a look at the What’s New page. You will clearly feel the difference when working with LoadRunner 12.53.