We are creating a LoadRunner script which will upload the files for multiple users through Web/HTTP protocol. However we need to check the uploaded file size during runtime through LoadRunner script only and accordingly do exception handling while test is running.
Does anyone know on how to check file upload size with LoadRunner function itself?
Please note downloading the uploaded file to check the download file size is not possible - to avoid any network congestion or extra work.
Help me to understand your question better. Are you suggesting that the file upload process for your site is in question, that it is not yet functionally vetted as working for one?
Or, are you trying to generate some sort of normalized datapoint because you are uploading files of various sizes, which then result in response times of various times, where then you want to generate a normalized rate, such as bytes/time?
You can check the file size with core language functions.
Suggested by a colleague, Uttiyan Nandy, on Facebook as I was investigating some attributes for web_get_int_property() and noting that HTTP_INFO_UPLOAD_SIZE does not exist as an object. Consider pairing web_get_int_property() with HTTP_INFO_TOTAL_REQUEST_STAT for the full size of the request, which may include your file attachment as well as headers, ....