LoadRunner web_reg_find search within headers

If you are submitting requests and are expecting an empty response body, you should still check your response headers to determine if the request was successful. To search your response headers, you will need to add the “Search=Headers” into your web_reg_find function. web_reg_find("Text/IC=HeaderSearch", "Search=Headers", LAST); The different request methods OPTIONS, DELETE, PUT, HEADER typically return a valid […]
Continue reading…

 

LoadRunner TruClient – Transaction End Events

Action completed. This event is triggered when the action to be performed has completed. However, the step may not have ended yet. For example, for steps related to the application, there might be additional network or DOM activity. Dispatched when the action defined in the step is completed.
Continue reading…

 

Server “hostname” shut connection during attempt to negotiate SSL session

If you encounter this error, it could be a problem with VUGen negotiating a connection using SSL. Error -27776: Server "hostname" shut connection during attempt to negotiate SSL session                  [MsgId: MERR-27776] Get LoadRunner to use TLS instead. web_set_sockets_option("SSL_VERSION", "TLS");
Continue reading…

 

Performance Center 12.01 Scheduling

Scheduling in Performance Center 12.01 is done from the “ALM Desktop Client” not from the “My Performance Center” interface. Intuitively, the web interface of My Performance Center should replicate the functionality of the LR Controller, however it seems in 12.01 the schedule feature has not been implemented.
Continue reading…

 

Make LoadRunner behaving more like a modern browser

Often you will need to get LoadRunner to behave more like a modern web browser. The following settings can help. Use TLSv1 encryption rather than the default SSL. Other options include 2, 3, 2 and 3, TLS. web_set_sockets_option("SSL_VERSION", "TLS1.1"); Specifies the maximum number of concurrent connections per host. Modern browsers use 6-8 connections depending on the […]
Continue reading…

 

Undeclared identifier ‘HTTP_INFO_DOWNLOAD_SIZE’

In LoadRunner when you script a new “Mobile Application – HTTP/HTML” protocol, the web_api.h file is not automatically included. When you use functions such as web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE); as you would in a normal “Web – HTTP/HTML” protocol you will receive the following error:

Include the following line into your globals.h file:

Continue reading…