LR的一个输出状态信息的函数:
int lr_vuser_status_message (const char * format);
帮助中的相关说明:
The lr_vuser_status_message function sends a string to the Status area of the Controller or Tuning Module Console's Vuser window. It also sends this string to the Vuser log. When run from VuGen, the message is sent to output.txt.
每个用户运行的时候,你看递增了多少次就知道了跑了多久:
i=1; //放在初始化里面
i=i+1;
lr_vuser_status_message("运行了%d次",i);
本文介绍LoadRunner中的lr_vuser_status_message函数使用方法。该函数能够将字符串发送到控制器或调谐模块控制台的状态区域,并记录到Vuser日志中。当从VuGen运行时,消息会被写入output.txt文件。
353

被折叠的 条评论
为什么被折叠?



