JonnyGu 发表于 2010-4-20 11:04:22

LR可以录制QC吗

LR可以录制QC吗?
用什么协议?

JonnyGu 发表于 2010-4-20 14:11:20

没有人做过吗?

JonnyGu 发表于 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:conststr:Login\",\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"
Action.c(49): web_custom_request("TDAPI_GeneralWebTreatment") highest severity level was "ERROR", 962 body bytes, 382 header bytes

有没有了解的TX给个意见。

[ 本帖最后由 JonnyGu 于 2010-4-20 14:34 编辑 ]

JonnyGu 发表于 2010-4-20 15:30:13

<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 403 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource () has been forbidden.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>

JonnyGu 发表于 2010-4-20 15:48:31

版主,帮忙看看啊

msnshow 发表于 2010-4-20 22:05:14

403 是没权限,没有登陆成功吧,应该要用关联

saharaqs 发表于 2010-4-21 11:04:25

我用lr录制过td,呵呵

JonnyGu 发表于 2010-4-21 12:14:41

发现问题是验证的时候出错了,也许是没有sessionid,但是从上一步却没有给出。

JonnyGu 发表于 2010-4-21 17:31:42

回复 7# 的帖子

这位在验证的时候有过问题吗?
页: [1]
查看完整版本: LR可以录制QC吗