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…