Trusted Contributor.
Trusted Contributor.
959 views

Content Download Size

Jump to solution

Hello All,

I am trying to record scripts od Webtop 6.7 with loadrunner 12.0.

I have applied web_get_int_property( HTTP_INFO_DOWNLOAD_SIZE ); function to get the size of exported document.

I have kept the function above a request which triggers the download of file.

The file size is 13 Kb, but when I replay the web_get_int_property( HTTP_INFO_DOWNLOAD_SIZE ) fucnction is returning around 14 Kb.

I want to know, if the above function provides the exact size of file or any value more than the file size.

 

Thanks in Advance.

Bhanu 

Bhanu Bisen
Tags (2)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Content Download Size

Jump to solution

Hi

Taken from the documentation: (lr_web_get_int_property)

HTTP_INFO_DOWNLOAD_SIZE or object.HTTP_INFO_DOWNLOAD_SIZE

The size (in bytes) of the last download, including the header, body, and communications overhead (for example, NTLM negotiation).

So it makes sense that it is slightly larger than the downloaded file.

br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.

 

.

View solution in original post

1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Content Download Size

Jump to solution

Hi

Taken from the documentation: (lr_web_get_int_property)

HTTP_INFO_DOWNLOAD_SIZE or object.HTTP_INFO_DOWNLOAD_SIZE

The size (in bytes) of the last download, including the header, body, and communications overhead (for example, NTLM negotiation).

So it makes sense that it is slightly larger than the downloaded file.

br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.

 

.

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.