title: How can I fetch a value from response of web_custom_request in LoadRunner
body: <p>I have a LR script and I am using to make a call on a REST API to download a file. The file gets downloaded successfully but I also need the value of the file size downloaded for verification purpose. Here is what i see in loadrunner console.</p>
  
  <pre><code>Action.c(50): web_custom_request("GetImage") was successful, 2373709 body bytes, 528 header bytes, 99 chunking overhead bytes.
  </code></pre>
  
  <p>How can I get the value 2373709?? I tried using the below code but the size it returns is a little bit different from the above mentioned and is not solving the purpose.</p>
  
  <pre><code>HttpDownLoadSize=web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE); 
  lr_output_message("File Size %i", HttpDownLoadSize);
  </code></pre>
  
  <p>Any help would be appreciated. Thanks in advance for you help.</p>