|
web_url("login.jsp",
"URL=http://168.100.7.155:8080/YBJJPrj/portal/login.jsp",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/login/login.gif", ENDITEM,
"Url=../webwork/ext2/resources/images/default/form/text-bg.gif", ENDITEM,
"Url=../images/login/login-mouse-on.gif", ENDITEM,
LAST);
web_url("login.action",
"URL=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.jsp",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/head/title.jpg", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/head/menu.jpg", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/head/menu_mouseon.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/dd/drop-no.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/index/bar_s.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/s.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/elbow.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/leaf.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/index/shoubin.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/index/bar_f.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/elbow-line.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/folder-open.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/elbow-end.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=portalInit.action?uid=1000000023&moduleGroup=0&_dc=1281515040812", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/elbow-minus.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../webwork/ext2/resources/images/default/tree/elbow-end-minus.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/index/1-8_09.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
"Url=../images/index/cancel.gif", "Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin", ENDITEM,
LAST);
web_add_cookie("JSESSIONID=54AE006E27EA929C7A1A7D4DAD267879; DOMAIN=yb-b6faab7fa745");
web_add_cookie("session=0000012944d38fa4-0001-0553-a864079c--79GN29TZ-0000012a60379926-0000-0808-a864079c--0ad72237-008e-0d59-000000e4d26d0c20--168.100.7.156--1800; DOMAIN=yb-b6faab7fa745");
web_url("%E5%8F%82%E4%BF%9D%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2MINI.bqy",
"URL=http://yb-b6faab7fa745:9000/Hyperion/browse/get/%E5%8F%82%E4%BF%9D%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2MINI.bqy?DocVersion=1&user=administrator&password=administrator",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://168.100.7.155:8080/YBJJPrj/portal/login.action?loginName=admin&password=admin",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
脚本如上
如何将loginName参数化
使脚本中多个loginname每次都使用同一个用户名访问 |
|