TA的每日心情 | 奋斗 2017-6-28 10:54 |
---|
签到天数: 3 天 连续签到: 1 天 [LV.2]测试排长
|
在脚本 tree视图中
submit data:login.jsp这一步
查看"server response"中的body 内容如下:
<body>
</script>
<script language="JavaScript">
window.location.replace("http://passport.126.com/crossdomain.jsp?username=abc@126.com&loginCookie=afdoeipjfape&sInfoCookie=1278053011%7C0%7C%233%2640%23&pInfoCookie=abc%40126.com%7C1278053011%7C0%7Cmail126%7C11%2628%7Cfuj%261278052833%26mail126%23fuj%26350200%2310%7C%260&url=http%3A%2F%2Fentry.mail.126.com%2Fcgi%2Fntesdoor%3Fhid%3D10010102%26lightweight%3D1%26verifycookie%3D1%26language%3D0%26style%3D-1%26username%3Dabc%40126.com&loginyoudao=0");//remain for popo ,don't del
</script>
</body>
因,录制了2份相同的脚本,对比发现了不同之处,红色字体部分
于是手动关联,tree视图,insert before,关联语句如下:
web_reg_save_param("loginCookie",
"LB=&logincookie",
"RB=&sinfocookie",
"NotFound=ERROR",
"Search=body",
LAST);
web_reg_save_param("sinfocookie",
"LB=&sinfocookie",
"RB=%7C0%7C%233%",
"NotFound=ERROR",
"Search=body",
LAST);
web_reg_save_param("pinfo",
"LB=mail126%7C11%2628%7Cfuj%",
"RB=%26mail126%23fuj%26350200",
"Search=body",
LAST);
可是在回放的时候,出现
Action.c(134): Error -26377: No match found for the requested parameter "loginCookie". 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(134): Error -26377: No match found for the requested parameter "sinfocookie". 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]
不知道为什么会关联失败,请大家指点下!谢谢
附上脚本 |
|