51Testing软件测试论坛
标题:
(救急)Loadrunner中windows 集成身份验证问题HTTP401错误如何解决
[打印本页]
作者:
fenghai_111
时间:
2011-11-14 10:48
标题:
(救急)Loadrunner中windows 集成身份验证问题HTTP401错误如何解决
本帖最后由 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.
作者:
fenghai_111
时间:
2011-11-14 16:03
等了半天了,自己顶
作者:
fenghai_111
时间:
2011-11-14 16:03
等了半天了,自己顶
作者:
fenghai_111
时间:
2011-11-14 16:03
等了半天了,自己顶
作者:
mymagic
时间:
2011-11-14 16:28
用户名 密码有错误?
作者:
fenghai_111
时间:
2011-11-14 16:51
回复
5#
mymagic
绝对没有哈。。我都能用用户名和密码登陆上网站。。前几天这个代码都是OK的。。
作者:
fenghai_111
时间:
2011-11-15 14:14
唉。。。哪个高手解决一下嘛。。我等了1天了。。
作者:
fenghai_111
时间:
2011-11-15 15:04
解决啦。。
runtime setting -> Internet protocol->perference 选中 WinINet replay instead of sockets
作者:
夏日摸摸茶
时间:
2011-11-16 10:11
学习了饿
作者:
大龙哥哥
时间:
2012-9-4 15:35
回复
8#
fenghai_111
勾选了这个以后,在analysis中只有页面分析图表没有内容,怎么解释呢?
作者:
kliangcxl
时间:
2012-9-8 16:00
回复
10#
大龙哥哥
竟然在这遇到你。。。 这个问题 好像只能用别的前端工具来分析了
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2