Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
345 views

How to capture the download file time in TruClient

My application works only in chrome.  When i try to download a file a new tab opens up and the file is downloaded and the new tab automatically gets closed.

Qs: How to capture the download file time, after clicked download link

Any help will be appreciated.

0 Likes
1 Reply
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: How to capture the download file time in TruClient

Hi manicmut,

I have not found many information about this topic. In one article, I read that this operation is possible with Web HTTP-HTML protocol thanks the function 

      web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);

For TruClient, since this protocol capture only browser interation, I think it can be more difficult or maybe impossible. Try to read this response, 

http://www.sqaforums.com/forums/hp-mercury-loadrunner/153878-file-download-ajax-truclient-load-runner.html

You can fin more information in this web page:

https://performanceengineeringsite.wordpress.com/2016/12/08/how-to-find-out-time-taken-to-download-a-pdf-file-in-ajax-truclient/

Tell me if those links can be helpful, 

Lorenzo

0 Likes
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.