LR怎么进行手动关联?
上一篇 /
下一篇 2012-08-29 14:56:48
/ 个人分类:loadrunner
昨天开始学习loadrunner的关联,跟着小强老师的教程操作一遍后,发现lr11自动关联时,扫描的结果为空。查找了网上很多资料,LR在自动关联时,有时候无法查询到正确的扫描结果,此时就要用到手动关联。
我录制的页面是LR自带网站的WebTours,操作为登录-退出。执行手动关联时,录制了两份一样的脚本,同时在wDIFF上查找差异的脚本内容。差异的脚本为:"Name=userSession", "Value=109049.981287971fzAQcfiptVcfDDzffpffAtHf", ENDITEM,于是对userSession的Value值进行关联。使用web_reg_save_param函数,添加的脚本为:
web_reg_save_param("userSession",
"LB=Name=userSession\”,\“Value=\”",
"RB=\"”
"Search=All",
LAST);
但回放脚本时仍然提示错误:
Action.c(9): Error -26377: No match found for the requested parameter "userSession". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(9): web_url("WebTours") highest severity level was "ERROR", 6877 body bytes, 1808 header bytes [MsgId: MMSG-26388]
收藏
举报
TAG:
LR
lr