|
测试环境在域里,录制角本的机器不在域里,在IE里设置使用代理登录网站,用户名和密码在代理设置时都设置好了,所以在打开网页的时候,不用在输入用户名和密码
用LR录制登录系统的一个角本,回放时报错,报错信息如下:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 8.1.0 for WINXP; Web build 4788 [MsgId: MMSG-27143]
Run-Time Settings file: "C:\Documents and Settings\Alex\Local Settings\Temp\noname1\\default.cfg" [MsgId: MMSG-27141]
vuser_init.c(12): Error -26544: Proxy authentication required, please fill in the proxy user details in the Run Time Settings, Proxy tab, using the Authentication button. e.g. Username: domain\user Password: password [MsgId: MERR-26544]
vuser_init.c(12): Error -26624: HTTP Status-Code=407 (Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )) for "http://192.168.112.117:9080/enrole" [MsgId: MERR-26624]
vuser_init.c(12): web_url("enrole") highest severity level was "ERROR", 4010 body bytes, 409 header bytes [MsgId: MMSG-26388]
Abort was called from an action.
是不是应该加一个set_web_user一个函数?求高手帮解决啊
我把整个角本都录在action里,在action的最前面加了web_set_user("mercury", "mercury", "mansfield:80");
第一个mercury为用户名,第二个mercury为密码,mansfield为代理服务器,80为端口,
也报错:
Action.c (1): warning: unrecognized character escape sequence `\d'
Action.c (1): syntax error; found "dcecdcecIO" expecting `)'
Action.c (1): skipping "dcecdcecIO" `,' "dcec**10" `,' "dcecssy055:8080"
c:\\documents and settings\\alex\\local settings\\temp\\noname3\\\\combined_noname3.c (5): 2 errors, not writing pre_cci.ci
是不是我位置加的不对?求高人解决下啊
[ 本帖最后由 兰色犹豫 于 2007-12-8 13:59 编辑 ] |
|