|
2#
楼主 |
发表于 2011-1-26 15:00:06
|
只看该作者
vuser_init()
{
web_url("172.16.11.203:8080",
"URL=http://172.16.11.203:8080/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(4);
web_url("login.action",
"URL=http://172.16.11.203:8080/main/login.action",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=../resources/grap/cn/images/logo_r1_c2.jpg", ENDITEM,
"Url=../resources/grap/cn/images/logo_r1_c3.jpg", ENDITEM,
"Url=../verifycode.jsp", ENDITEM,
LAST);
lr_think_time(6);
web_custom_request("groupStaffService.queryGroupByLoginName.dwr",
"URL=http://172.16.11.203:8080/dwr/call/plaincall/groupStaffService.queryGroupByLoginName.dwr",
"Method=POST",
"Resource=0",
"RecContentType=text/javascript",
"Referer=http://172.16.11.203:8080/main/login.action",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=1\npage=/main/login.action\nhttpSessionId=kCfrAave0+uUw6gsRRDsXg**.node3\nscriptSessionId=D3AB1D85AF5AADE30B64DF1F28358B3B234\nc0-scriptName=groupStaffService\nc0-methodName=queryGroupByLoginName\nc0-id=0\nc0-param0=string:{NewParam}\nbatchId=0\n",
LAST);
lr_think_time(4);
web_submit_data("checkLogon.action",
"Action=http://172.16.11.203:8080/main/checkLogon.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/main/login.action",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=loginName", "Value={NewParam}", ENDITEM,
LAST);
web_submit_data("loginSubmit.action",
"Action=http://172.16.11.203:8080/main/loginSubmit.action",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.11.203:8080/main/login.action",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=qing", "Value=0", ENDITEM,
"Name=count", "Value=1", ENDITEM,
"Name=isSingnIn", "Value=0", ENDITEM,
"Name=staff.loginName", "Value={NewParam}", ENDITEM,
"Name=staff.loginPWD", "Value=1", ENDITEM,
"Name=group", "Value=-1", ENDITEM,
"Name=checkImg", "Value=1111", ENDITEM,
"Name=phone", "Value=", ENDITEM,
"Name=gwt", "Value=GMT+08:00", ENDITEM,
"Name=button", "Value=纭畾", ENDITEM,
EXTRARES,
"Url=../js/time/skin/WdatePicker.css", ENDITEM,
"Url=../resources/grap/cn/images/topbg.gif", ENDITEM,
"Url=../resources/grap/cn/images/workState.gif", ENDITEM,
"Url=../resources/grap/cn/images/menubg.gif", ENDITEM,
"Url=../resources/grap/cn/images/FooterLogo.png", "Referer=http://172.16.11.203:8080/main/mainFrameBottom.action", ENDITEM,
"Url=../resources/grap/cn/images/background.jpg", "Referer=http://172.16.11.203:8080/main/myIndex.action", ENDITEM,
"Url=../resources/grap/cn/images/menu_sys.png", "Referer=http://172.16.11.203:8080/main/myIndex.action", ENDITEM,
"Url=../resources/grap/cn/images/arrow-left.gif", "Referer=http://172.16.11.203:8080/main/myIndex.action", ENDITEM,
"Url=../resources/grap/cn/images/arrow-right.gif", "Referer=http://172.16.11.203:8080/main/myIndex.action", ENDITEM,
"Url=../js/time/skin/datePicker.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon1_out_over.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon2_state_sx.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon2_m_over.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon2_r_over.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon4_over.gif", ENDITEM,
"Url=../resources/grap/cn/images/icon10_over.gif", ENDITEM,
"Url=../resources/grap/cn/images/logo.png", ENDITEM,
"Url=../resources/grap/cn/images/myIndexBG.gif", "Referer=http://172.16.11.203:8080/main/myIndex.action", ENDITEM,
LAST);
web_submit_data("newFaxMsgTip.action",
"Action=http://172.16.11.203:8080/mm/newFaxMsgTip.action",
"Method=POST",
"Referer=http://172.16.11.203:8080/main/mainFrameBottom.action",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=type", "Value=p", ENDITEM,
EXTRARES,
"Url=../resources/grap/cn/images/menu_sys.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_huawu.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_custom.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_addressBook.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_product.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_km.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_tools.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/report.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_workorder.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_individuation.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_question.png", "Referer=", ENDITEM,
"Url=../resources/grap/cn/images/menu_agt.png", "Referer=", ENDITEM,
LAST);
lr_think_time(5); |
|