|
本帖最后由 fenghai_111 于 2011-11-15 15:05 编辑
我录制了脚步后,回放,前几天还可以,今天不行了。。觉得很奇怪。。请高手解决一下。。
我用的是URL模式录制的。
下面是我的部分代码:
lr_start_transaction("logon");
web_set_user("arumugasamy.s",
lr_decrypt("4ec0781a0afe3a14c50b09"),
"cockpitqa01.pg.com:80");
web_add_cookie("GBS_Services_Location=PG_AP_China_Shanghai_Branch%20Office; DOMAIN=cockpitqa01.pg.com");
web_add_cookie("GBS_Services_Language=Chinese%20%28Mandarin%29; DOMAIN=cockpitqa01.pg.com");
web_url("saw.dll",
"URL=http://cockpitqa01.pg.com/analytics/saw.dll?Dashboard",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
下面是logs:
Starting action Action.
Action.c(5): Notify: Transaction "logon" started.
Action.c(7): web_set_user was successful [MsgId: MMSG-26392]
Action.c(11): web_add_cookie was successful [MsgId: MMSG-26392]
Action.c(13): web_add_cookie was successful [MsgId: MMSG-26392]
Action.c(15): Error -26630: HTTP Status-Code=401 (Unauthorized) for "http://cockpitqa01.pg.com/analytics/saw.dll?Dashboard" [MsgId: MERR-26630]
Action.c(15): web_url("saw.dll") highest severity level was "ERROR", 196 body bytes, 458 header bytes [MsgId: MMSG-26388]
Action.c(15): Notify: Transaction "logon" ended with "Fail" status (Duration: 1.6113).
Ending action Action. |
|