回放失败,求教
小弟在测试登录时,录制脚本如下:Action()
{
web_url("slong.weilian.cn",
"URL=http://slong.weilian.cn/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=http://addons.g-fox.cn/tk.gif?when=run&r=0.5119637601001532", "Referer=", ENDITEM,
"Url=http://addons.g-fox.cn/ntab.gif?c=ntab&t=searchplugins&a=detect&d=current&f=true&r=0.44609866368737083&cid=stub.firefox.com.cn", "Referer=", ENDITEM,
"Url=http://addons.g-fox.cn/ntab.gif?c=ntab&t=searchplugins&a=detect&d=baidu&f=true&r=0.805463983399789&cid=stub.firefox.com.cn", "Referer=", ENDITEM,
"Url=http://addons.g-fox.cn/firstLocation.gif?p=true&a=false&e=false&bsp=1&r=0.3040915927378244", "Referer=", ENDITEM,
"Url=http://adu.g-fox.cn/adu.gif?channelid=stub.firefox.com.cn&fxversion=46.0.1&ceversion=2016.4&ver=2_2&pk=%7Bb4bb32d4-5724-43d2-b394-367b01d5e061%7D&uk=%7B3af71202-512d-41bf-af51-fe383766b7e5%7D&cehome=true&locale=zh-CN&moexts=cehomepage,cpmanager,easyscreenshot&age=6&default=false&defaultHttp=false&flash=21.0.0.242&now=1464321649238", "Referer=", ENDITEM,
"Url=/resources/core/backgrounds/1.jpg", "Referer=http://slong.weilian.cn/resources/core/assets/css/style.css", ENDITEM,
LAST);
web_url("favicon.ico",
"URL=http://slong.weilian.cn/favicon.ico",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
web_url("favicon.ico_2",
"URL=http://slong.weilian.cn/favicon.ico",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_rendezvous("登录");
lr_start_transaction("用户登录");
web_add_cookie("Hm_lvt_dd4738b5fb302cb062ef19107df5d2e4=1464165739,1464177263,1464183611,1464227873; DOMAIN=cclv.firefoxchina.cn");
web_submit_data("login",
"Action=http://slong.weilian.cn/login",
"Method=POST",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=username", "Value={username}", ENDITEM,
"Name=password", "Value={pwd}", ENDITEM,
"Name=_csrf", "Value={csrf}", ENDITEM,
"Name=captchaId", "Value=", ENDITEM,
EXTRARES,
"Url=/resources/core/backgrounds/favicon.ico", "Referer=", ENDITEM,
"Url=/user/getUserRealMenuList", "Referer=http://slong.weilian.cn/index", ENDITEM,
"Url=/resources/core/assets/fonts/fontawesome-webfont.woff?v=4.2.0", "Referer=http://slong.weilian.cn/resources/core/assets/css/font-awesome.css", ENDITEM,
"Url=/resources/core/backgrounds/acrossTab-2.png", "Referer=http://slong.weilian.cn/resources/core/assets/css/H-ui.admin.css", ENDITEM,
"Url=/resources/core/assets/fonts/icomoon.ttf?gqjzlt", "Referer=http://slong.weilian.cn/resources/core/assets/css/font-awesome.css", ENDITEM,
"Url=/bulletin/query", "Referer=http://slong.weilian.cn/views/jsp/welcome.jsp", ENDITEM,
"Url=/pendingRequest/query", "Referer=http://slong.weilian.cn/views/jsp/welcome.jsp", ENDITEM,
"Url=/resources/core/backgrounds/new.gif", "Referer=http://slong.weilian.cn/views/jsp/welcome.jsp", ENDITEM,
"Url=/resources/core/backgrounds/top2.JPG", "Referer=http://slong.weilian.cn/views/jsp/welcome.jsp", ENDITEM,
"Url=http://cclv.firefoxchina.cn/cclv/v2/patterns.json", "Referer=", ENDITEM,
"Url=/loginIM", "Referer=http://slong.weilian.cn/views/jsp/welcome.jsp", ENDITEM,
LAST);
web_url("getImMsg",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
web_url("getImMsg_2",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_3",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_4",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_5",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_6",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_7",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_8",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_9",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_10",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_11",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("getImMsg_12",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_think_time(5);
web_url("getImMsg_13",
"URL=http://slong.weilian.cn/getImMsg?userId=17699",
"Resource=0",
"RecContentType=text/html",
"Referer=http://slong.weilian.cn/index",
"Mode=HTML",
LAST);
lr_end_transaction("用户登录",LR_AUTO);
return 0;
}
回放截图如下:
求教各位这是什么原因啊?
人工顶,各位求指教
页:
[1]