用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
这个办法就可以解决的,Run-time Setting -- Internet Protocol -- Proxy
今天也正好遇到这个问题,搞定了,happy~~作者: lemonzone2010 时间: 2010-11-9 15:00
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作者: yyzhp 时间: 2011-6-9 10:11
在Vuser中的运行时设置,代理服务器,选择自定义代理服务器点击身份严重,输入用户名和密码就行了,用户名:域\用户名 密码就行了作者: miraclej 时间: 2012-3-27 15:12
遇到了同样的问题,尝试各种方法中。作者: miraclej 时间: 2012-3-27 15:32 回复 10#xmimij