(救急)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
Action.c(11): web_add_cookie was successful
Action.c(13): web_add_cookie was successful
Action.c(15): Error -26630: HTTP Status-Code=401 (Unauthorized) for "http://cockpitqa01.pg.com/analytics/saw.dll?Dashboard"
Action.c(15): web_url("saw.dll") highest severity level was "ERROR", 196 body bytes, 458 header bytes
Action.c(15): Notify: Transaction "logon" ended with "Fail" status (Duration: 1.6113).
Ending action Action. 等了半天了,自己顶 等了半天了,自己顶 等了半天了,自己顶 用户名 密码有错误? 回复 5# mymagic
绝对没有哈。。我都能用用户名和密码登陆上网站。。前几天这个代码都是OK的。。 唉。。。哪个高手解决一下嘛。。我等了1天了。。 解决啦。。
runtime setting -> Internet protocol->perference 选中 WinINet replay instead of sockets 学习了饿 回复 8# fenghai_111
勾选了这个以后,在analysis中只有页面分析图表没有内容,怎么解释呢? 回复 10# 大龙哥哥
竟然在这遇到你。。。 这个问题 好像只能用别的前端工具来分析了
页:
[1]