|
录制一个登录操作,登录部分有session,但已经做了关联,并且回放登录成功。但是登录后有一个页面回放报错,手工登录后打开 https://。。。。/portal/ftsp/portal/user.do?menus 报404错误,回放则提示 Error -26628: HTTP Status-Code=403 (Forbidden) for "https://。。。。/portal/ftsp/portal/user.do?menus"
回放出错部分脚本如下:
web_custom_request("user.do_2",
"URL=https://。。。。/ftsp/portal/user.do?menus",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=https://。。。。/portal/ftsp/portal/home.do",
"Snapshot=t62.inf",
"Mode=HTTP",
"EncType=application/x-www-form-urlencoded; charset=UTF-8",
"Body=areaCode=portal_top,portal_center,portal_center_sub,portal_sys,portal_tax,portal_set,portal_kh,portal_set_sub",
LAST);
求指教 |
|