|
3#
楼主 |
发表于 2010-4-20 14:25:01
|
只看该作者
用web可以录制。
但回放时login出错:
web_custom_request("TDAPI_GeneralWebTreatment",
"URL=http://XXX/qcbin/servlet/tdservlet/TDAPI_GeneralWebTreatment",
"Method=POST",
"Resource=0",
"RecContentType=application/octet-stream",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/html; charset=UTF-8",
"Body={\r\n0: \"0:conststrogin\",\r\n1: \"0:int:2\",\r\n2: \"0:int:-1\",\r\n3: \"0:conststr:\",\r\n4: \"0:int:-1\",\r\n5: \\00000047\\0:conststr:{\r\nUSER_NAME:XXXXXX,\r\nPASSWORD:,\r\nCLIENTTYPE:OTAClient\r\n}\r\n,\r\n6: \\00000019\\0:conststr:XXXXX,\r\n7: \"65536:str:0\",\r\n8: \"0:pint:0\",\r\n9: \"65536:str:0\",\r\n10: \"0:pint:0\",\r\n11: \"0:pint:0\"\r\n}\r\n",
LAST);
错误信息是:
Action.c(49): Error -26628: HTTP Status-Code=403 (Forbidden) for "http://XXX/qcbin/servlet/tdservlet/TDAPI_GeneralWebTreatment" [MsgId: MERR-26628]
Action.c(49): web_custom_request("TDAPI_GeneralWebTreatment") highest severity level was "ERROR", 962 body bytes, 382 header bytes [MsgId: MMSG-26388]
有没有了解的TX给个意见。
[ 本帖最后由 JonnyGu 于 2010-4-20 14:34 编辑 ] |
|