|
3#
楼主 |
发表于 2012-4-25 10:41:17
|
只看该作者
#include "web_api.h"
vuser_end()
{
web_submit_data("top.aspx",
"Action=http://192.168.2.88:8089/Frame/top.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.2.88:8089/Frame/top.aspx",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=lnkbtnLogout", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__LastVIEWSTATE_SessionKey", "Value=3df7837c-f733-434f-8c5c-7657d99f92b7", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState5}", ENDITEM,
"Name=hdurl", "Value=http://192.168.2.88:8088", ENDITEM,
LAST);
lr_think_time( 8 );
web_url("top.aspx_2",
"URL=http://192.168.2.88:8089/Frame/top.aspx?ay=true&getMessage=true&timenow=1334900357171",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.2.88:8089/Frame/top.aspx",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
web_url("192.168.2.88:8088",
"URL=http://192.168.2.88:8088/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"Url=/login/skin/Imges/center.jpg", ENDITEM,
"Url=/login/skin/Imges/User.gif", ENDITEM,
"Url=/login/skin/Imges/anniubg.gif", ENDITEM,
"Url=/login/skin/Imges/logo.jpg", ENDITEM,
"Url=/login/skin/Imges/txtbg.jpg", ENDITEM,
"Url=/login/skin/Imges/Pass.gif", ENDITEM,
"Url=/login/skin/Imges/foot.jpg", ENDITEM,
LAST);
return 0;
} |
|