简体   繁体   English

LoadRunner 中上传的文件大小

[英]Uploaded File Size in LoadRunner

We are creating a LoadRunner script which will upload the files for multiple users through Web/HTTP protocol.我们正在创建一个 LoadRunner 脚本,它将通过 Web/HTTP 协议为多个用户上传文件。 However we need to check the uploaded file size during runtime through LoadRunner script only and accordingly do exception handling while test is running.但是,我们只需要在运行时通过 LoadRunner 脚本检查上传的文件大小,并在测试运行时相应地进行异常处理。

Does anyone know on how to check file upload size with LoadRunner function itself?有谁知道如何使用 LoadRunner function 本身检查文件上传大小

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.您可以使用核心语言功能检查文件大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM