|
请问lr脚本中,怎样把没有录上的地址写进去,写在哪个位置能成功?
web_url("192.168.0.120_2",
"URL=http://192.168.0.120/",
"url=http://192.168.0.220:5001/img/login.action?username=admin&pwd=1",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=http://kernel-c.maxthon.cn/wb_cpt/dw/wk_cpt.config", "Referer=", ENDITEM,
"Url=/images/22.jpg", ENDITEM,
"Url=/images/19.jpg", ENDITEM,
"Url=/images/17.jpg", ENDITEM,
LAST);
/* Request with GET method to URL "http://192.168.0.120/favicon.ico" failed during recording. Server response : 404*/
lr_start_transaction("login");
web_submit_form("checkLoginAction.action",
"Snapshot=t7.inf",
ITEMDATA,
"Name=userName", "Value=admin", ENDITEM,
"Name=passWord", "Value=1", ENDITEM,
EXTRARES,
org.apache.jetspeed.login.username=admin&org.apache.jetspeed.login.password=1&org.apache.jetspeed.prefered.locale=zh&org.apache.jetspeed.login.destination=/j2-admin/jetspeed/portal", ENDITEM,
"Url=../images/banner-bg.jpg", ENDITEM,
"Url=../images/button2.jpg", ENDITEM,
"Url=../images/button1.jpg", ENDITEM,
"Url=../images/bg4.jpg", ENDITEM,
"Url=../images/bg1.jpg", ENDITEM,
"Url=../images/button3.jpg", ENDITEM,
"Url=../images/xg_05.gif", ENDITEM,
"Url=../images/footer-bg.jpg", ENDITEM,
"Url=http://192.168.0.220:5001/images/comm/unseltab.gif", "Referer=http://192.168.0.220:5001/cmupd/portal/xiufu_total.html", ENDITEM,
"Url=http://192.168.0.220:5001/images/comm/seltab.gif", "Referer=http://192.168.0.220:5001/cmupd/portal/xiufu_total.html", ENDITEM,
"Url=http://192.168.0.220:5001/swf/MSLine.swf?ChartNoDataText=无统计数据", "Referer=http://192.168.0.220:5001/cmupd/portal/xiufu_total.html", ENDITEM,
"Url=http://192.168.0.220:5001/img/js/My97DatePicker/skin/WdatePicker.css", "Referer=http://192.168.0.220:5001/img/pages/portal/getImageNumber.action", ENDITEM,
LAST); |
action, action, 密码, 密码, HTML, HTML, images, images, 用户名, 用户名, 用户名, 用户名
|