|
3#
楼主 |
发表于 2009-6-25 09:01:32
|
只看该作者
vuser_init()
{
web_url("qcbin",
"URL=http://192.168.1.3:8080/qcbin/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t76.inf",
"Mode=HTML",
EXTRARES,
"Url=images/bg.gif", ENDITEM,
"Url=images/image_bg.jpg", ENDITEM,
"Url=images/bull.gif", ENDITEM,
LAST);
web_link("Quality Center",
"Text=Quality Center",
"Snapshot=t77.inf",
EXTRARES,
"Url=setup_a.ini", "Referer=", ENDITEM,
LAST);
lr_think_time(4);
web_custom_request("tdservlet",
"URL=http://192.168.1.3:8080/qcbin/servlet/tdservlet",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t78.inf",
"Mode=HTML",
LAST);
web_custom_request("TDAPI_GeneralWebTreatment",
"URL=http://192.168.1.3:8080/qcbin/servlet/tdservlet/TDAPI_GeneralWebTreatment",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t79.inf",
"Mode=HTML",
"EncType=text/html; charset=UTF-8",
"BodyBinary={\r\n0: \"0:conststrogin\",\r\n1: \"0:int:2\",\r\n2: \"0:int:-1\",\r\n3: \"0:int:-1\",\r\n4: \\x5C0000005B\\x5C0:conststr:{\r\nUSER_NAME:wy,\r\nPASSWORD:,\r\nCLIENTTYPE:\\x5C00000018\\x5CQuality Center Client UI\r\n}\r\n,\r\n5: \"0:conststr:WY\",\r\n6: \"65536:str:0\",\r\n7: \"0:pint:0\",\r\n8: \"0:pint:0\",\r\n9: \"0:pint:0\"\r\n}\r\n",
LAST);
web_custom_request("TDAPI_GeneralWebTreatment_2",
"URL=http://192.168.1.3:8080/qcbin/servlet/tdservlet/TDAPI_GeneralWebTreatment",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t80.inf",
"Mode=HTML",
"EncType=text/html; charset=UTF-8",
"BodyBinary={\r\n0: \\x5C0000001C\\x5C0:conststr:GetVisibleDomains,\r\n1: \"0:int:3\",\r\n2: \"0:int:699\",\r\n3: \"0:int:-1\",\r\n4: \"65536:str:0\"\r\n}\r\n",
LAST);
手工登陆没有问题
代码太多超过字数限制了,
web_custom_request("TDAPI_GeneralWebTreatment", 是这句代码有问题 |
|