TA的每日心情 | 奋斗 2016-1-8 11:09 |
---|
签到天数: 5 天 连续签到: 5 天 [LV.2]测试排长
|
我搜不到这个报错的代码帮助
代码:Action()
{
web_url("index.do",
"URL=http://112.74.236.230/cms/customer/index.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/theme-pic3.jpg", ENDITEM,
"Url=../images/banner-shdow.png", ENDITEM,
LAST);
lr_think_time(13);
web_submit_data("login.do",
"Action=http://112.74.236.230/cms/customer/login.do",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://112.74.236.230/cms/customer/index.do",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userAccount", "Value={NewUser}", ENDITEM,
"Name=userPassword", "Value={NewPass}", ENDITEM,
"Name=corpCode", "Value={NewCode}", ENDITEM,
"Name=needCert", "Value=0", ENDITEM,
"Name=cfcaCadn", "Value=", ENDITEM,
"Name=cfcaSign", "Value=", ENDITEM,
"Name=cfcaCode", "Value=", ENDITEM,
LAST);
// lr_output_message("当前登录用户名:%s\n",lr_eval_string("{NewUser}"));
web_url("main.do",
"URL=http://112.74.236.230/cms/customer/main.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/loading.gif", ENDITEM,
"Url=../images/main1.gif", ENDITEM,
"Url=../easyui/themes/default/images/panel_tools.png", ENDITEM,
"Url=../easyui/themes/default/images/layout_arrows.png", ENDITEM,
"Url=../easyui/themes/default/images/tabs_icons.png", ENDITEM,
LAST);
web_url("menu.do",
"URL=http://112.74.236.230/cms/menu.do?menuCode=home&visitTime=1451436959053",
"Resource=0",
"RecContentType=text/html",
"Referer=http://112.74.236.230/cms/customer/main.do",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_url("home.do",
"URL=http://112.74.236.230/cms/home.do?visitTime=1451436959055",
"Resource=0",
"RecContentType=text/html",
"Referer=http://112.74.236.230/cms/customer/main.do",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_url("index.do_2",
"URL=http://112.74.236.230/cms/system/lead/index.do?visitTime=1451436959097",
"Resource=0",
"RecContentType=text/html",
"Referer=http://112.74.236.230/cms/customer/main.do",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=/cms/images/leftline.png", "Referer=http://112.74.236.230/cms/menu.do?menuCode=home&visitTime=1451436959053", ENDITEM,
"Url=/cms/easyui/themes/default/images/accordion_arrows.png", "Referer=http://112.74.236.230/cms/menu.do?menuCode=home&visitTime=1451436959053", ENDITEM,
"Url=/cms/images/info.png", "Referer=http://112.74.236.230/cms/home.do?visitTime=1451436959055", ENDITEM,
"Url=/cms/easyui/themes/icons/pencil.png", "Referer=http://112.74.236.230/cms/system/lead/index.do?visitTime=1451436959097", ENDITEM,
LAST);
web_url("logout.do",
"URL=http://112.74.236.230/cms/customer/logout.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/theme-pic3.jpg", "Referer=http://112.74.236.230/cms/customer/index.do", ENDITEM,
"Url=../images/banner-shdow.png", "Referer=http://112.74.236.230/cms/customer/index.do", ENDITEM,
LAST);
return 0;
}
|
|