|
2#
楼主 |
发表于 2011-12-29 14:17:31
|
只看该作者
脚本
Action()
{
web_add_cookie("popped=yes; DOMAIN=192.168.18.203");
web_url("login.jsp",
"URL=http://192.168.18.203:9080/hrms/jsp/login.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/login/boxRight.png", ENDITEM,
"Url=../images/login/bg0.jpg", ENDITEM,
"Url=../images/login/box_bg.png", ENDITEM,
"Url=../images/login/bg1.jpg", ENDITEM,
"Url=../images/login/boxLeft.png", ENDITEM,
"Url=../images/login/loginMenu2.jpg", ENDITEM,
LAST);
lr_start_transaction("denglu");
lr_think_time(19);
web_submit_form("com.eTechSoft.hrms.security.LoginController",
"Snapshot=t2.inf",
ITEMDATA,
"Name=userID", "Value={user}", ENDITEM,
"Name=password", "Value=12345678avic", ENDITEM,
EXTRARES,
"Url=../images/login/bg_ft.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/footer.jsp", ENDITEM,
"Url=../images/tabLeft.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke.jsp", ENDITEM,
"Url=../images/tabCenter.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke.jsp", ENDITEM,
"Url=../images/tabRight.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke.jsp", ENDITEM,
"Url=../images/login/bg_menu.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/bg_menuHover.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/topBg.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/icon.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/bgmenu.png", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/icon_02.png", "Referer=", ENDITEM,
"Url=../images/menu/top_button_v.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp", ENDITEM,
"Url=../images/login/icon_13.png", "Referer=", ENDITEM,
"Url=../images/login/icon_03.png", "Referer=", ENDITEM,
"Url=../images/login/icon_04.png", "Referer=", ENDITEM,
"Url=../images/login/icon_06.png", "Referer=", ENDITEM,
"Url=../images/login/icon_05.png", "Referer=", ENDITEM,
"Url=../images/login/icon_09.png", "Referer=", ENDITEM,
"Url=../images/login/icon_11.png", "Referer=", ENDITEM,
"Url=../images/login/icon_15.png", "Referer=", ENDITEM,
"Url=../images/login/icon_12.png", "Referer=", ENDITEM,
LAST);
lr_end_transaction("denglu",LR_AUTO);
lr_think_time(5);
web_url("com.eTechSoft.hrms.security.LoginController_2",
"URL=http://192.168.18.203:9080/hrms/servlet/com.eTechSoft.hrms.security.LoginController?actionType=switch&platID=selfCenter&salaryDepartID=001001&departID=001001",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.18.203:9080/hrms/jsp/menuHR.jsp",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/tabLeft.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke_emp.jsp", ENDITEM,
"Url=../images/tabCenter.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke_emp.jsp", ENDITEM,
"Url=../images/tabRight.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/awoke_emp.jsp", ENDITEM,
"Url=../images/login/bg_menu.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/login/bg_menuHover.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/menu/top_button_v.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/login/topBg.jpg", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/login/icon.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/login/bgmenu.png", "Referer=http://192.168.18.203:9080/hrms/jsp/menuHR_emp.jsp", ENDITEM,
"Url=../images/login/bg_ft.gif", "Referer=http://192.168.18.203:9080/hrms/jsp/footer.jsp", ENDITEM,
LAST);
return 0;
} |
|