|
web_url("198.88.88.88",
"URL=http://198.88.88.88/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
lr_think_time(11);
web_submit_form("Login.action",
"Snapshot=t2.inf",
ITEMDATA,
"Name=username", "Value=000000", ENDITEM,
"Name=password", "Value=000000", ENDITEM,
"Name=compId", "Value=abc", ENDITEM,
"Name=Submit22.x", "Value=29", ENDITEM,
"Name=Submit22.y", "Value=35", ENDITEM,
EXTRARES,
"Url=/images/BannerBG.gif", "Referer=http://198.88.88.88/KnHeader.jsp", ENDITEM,
"Url=/images/menu_open.gif", "Referer=http://198.88.88.88/menu.jsp", ENDITEM,
LAST);
上面的代码我录制的话,运行是没有问题的,但是我自己写代码的后,就会到web_sumbit_form的地方运行不过错误如下:
ction.c(13): 错误 -27979: 找不到请求的表单 [MsgId: MERR-27979]
Action.c(13): web_submit_form("//198.88.88/Login.action") 最高严重级别为“ERROR”,0 个正文字节,0 个标头字节 [MsgId: MMSG-26388]
难道不能这样吗? |
|