标签:
http://wenku.baidu.com/link?url=KbKGldKUkam4VyH5Z2doesA0ovQpuwM9nX_SnVMtWjo6rJPxj9DqB51z_m1giMbVo5DbLhX0ubEEQapC6BMamgCsi0IMB4CJkDUMt70uwNe
http://www.ltesting.net/ceshi/ceshijishu/rjcsgj/mercury/loadrunner/2012/0517/204898.html
http://wenku.baidu.com/link?url=GNBB71lRCbXXHgQoMQwGv5sVqqucME6eDEhrqXaUkyUtCXDA2SAX7pEMiHa1fnyGcJ7gD_mwnXYLFcFK3rf5tZuUWt7kyYc1brHzC7jAv83
lr_vuser_status_message:该函数将消息发送到消息到vuser状态区域。
int lr_vuser_status_message(const char * format);
实例:
static int iteration;
Action()
{
char *pp;
//请自定义参数文件username
pp="value={username}";
//在vugen调试窗口中显示当前参数值,在Controller窗口中不会显示出来
lr_output_message("Para is:%s",lr_eval_string("{username}"));
//在Controller监视窗口中显示当前参数值和当前vu迭代次数,在vugen调试窗口中不会显示
lr_vuser_status_message("Para is:%s,%dTimes Iteration",lr_eval_string("{username}"),++iteration);
//在Controller运行窗口,运行场景时在run界面中单击Vusers按钮(开始方案按钮的下面),在弹出窗口中可看到动态的username信息。
}
LoadRunner函数–lr_vuser_status_message
标签:
原文地址:http://www.cnblogs.com/qmfsun/p/4489688.html