|
Action()
{
web_url("index.html",
"URL=http://192.168.0.22/index.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/images/3/bg.png", ENDITEM,
"Url=/images/3/logo.png", ENDITEM,
"Url=/images/3/ie6_login_bg.png", ENDITEM,
LAST);
lr_start_transaction("login");
/* Registering parameter(s) from source task id 21
// {CSRule_1_UID3} = "424493828151435213"
// */
web_submit_form("Login.do",
"Snapshot=t2.inf",
ITEMDATA,
"Name=loginname", "Value={username}", ENDITEM,
"Name=loginpassword", "Value=123456", ENDITEM,
"Name=remember", "Value=<OFF>", ENDITEM,
"Name=logIn.x", "Value=47", ENDITEM,
"Name=logIn.y", "Value=17", ENDITEM,
EXTRARES,
"Url=../images/1/bg.png", "Referer=http://192.168.0.22/client/footer.html", ENDITEM,
"Url=../images/1/footer_bg.png", "Referer=http://192.168.0.22/client/footer.html", ENDITEM,
"Url=../images/1/menu_bg.png", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
"Url=../images/loading.gif", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
"Url=../images/1/header_bg.png", "Referer=http://192.168.0.22/client/header1.jsp", ENDITEM,
"Url=../images/1/bg.gif", "Referer=http://192.168.0.22/index/client.Index.do?1=1", ENDITEM,
"Url=../images/loadingindex.gif", "Referer=http://192.168.0.22/index/client.Index.do?1=1", ENDITEM,
LAST);
web_custom_request("Login.do_2",
"URL=http://192.168.0.22/doRefurbish/Login.do?cid={CSRule_1_UID3}",
"Method=POST",
"Resource=1",
"Referer=http://192.168.0.22/client/header1.jsp",
"Snapshot=t3.inf",
"EncType=",
LAST);
web_custom_request("YuQing.do",
"URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_datetime=dsc&id=1&yid=2",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("client.Index.do",
"URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5625",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t5.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("client.Search.do",
"URL=http://192.168.0.22/serachindex/client.Search.do",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t6.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("YuQing.do_2",
"URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_posid=1&yuqing_datetime=dsc&id=1&yid=2",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t7.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("client.Index.do_2",
"URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5626",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("YuQing.do_3",
"URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_hits=dsc&id=1&yid=1",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t9.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("client.Index.do_3",
"URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5627",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t10.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("YuQing.do_4",
"URL=http://192.168.0.22/doOrderone/YuQing.do?yuqing_hits=dsc&yuqing_posid=1&id=1&yid=2",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t11.inf",
"Mode=HTML",
"EncType=",
LAST);
web_custom_request("client.Index.do_4",
"URL=http://192.168.0.22/loadsubject/client.Index.do?subjectid=5628",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22/index/client.Index.do?1=1",
"Snapshot=t12.inf",
"Mode=HTML",
"EncType=",
LAST);
lr_end_transaction("login",LR_AUTO);
web_url("Login.do_3",
"URL=http://192.168.0.22/logout/Login.do?loginname=user01.bj",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t13.inf",
"Mode=HTML",
LAST);
web_url("ie.html",
"URL=http://192.168.0.22/ie.html",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t14.inf",
"Mode=HTML",
LAST);
return 0;
}
|
|