|
我用这个方法设置tomcat登录的时候一直都报错:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.10.0 for Windows Vista; WebReplay85 build 5896 [MsgId: MMSG-27143]
Run Mode: Click-and-Script [MsgId: MMSG-26000]
Run-Time Settings file: "C:\Users\ibm\workspace\lr\login\\default.cfg" [MsgId: MMSG-27141]
Current locale is "Chinese Simplified (GB2312)", code page 936, preferred charset name "gb2312", Unicode converter name="gb2312", CRT locale string="Chinese (Simplified)_People's Republic of China.936" [MsgId: MMSG-27045]
vuser_init.c(5): Notify: Transaction "monitor tomcat" started.
vuser_init.c(8): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
vuser_init.c(13): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
vuser_init.c(19): Registering web_reg_save_param was successful [MsgId: MMSG-26390]
vuser_init.c(25): web_set_user was successful [MsgId: MMSG-26392]
vuser_init.c(26): Warning -26630: HTTP Status-Code=401 (Unauthorized) for "http://122.122.1.15:888/manager/status" [MsgId: MWAR-26630]
vuser_init.c(26): Error -26377: No match found for the requested parameter "JVMFreeMemory". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(26): Error -26377: No match found for the requested parameter "JVMTotalMemory". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(26): Error -26377: No match found for the requested parameter "JVMMaxMemory". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(26): web_url("status") highest severity level was "ERROR", 3666 body bytes, 466 header bytes [MsgId: MMSG-26388]
vuser_init.c(26): Notify: Transaction "monitor tomcat" ended with "Fail" status (Duration: 0.2528 Wasted Time: 0.0001).
Abort was called from an action.
程序片段:
web_set_user("122.122.1.15\\admin","123","122.122.1.15:888");
web_url("status",
"URL=http://122.122.1.15:888/manager/status",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
在论坛里找了好多帖子,也检查了很多遍,都没有发现问题
直接开IE用admin和123是可以登进去的,IE是8.0的LR是9.1的
122.122.1.15这个IP就是我本机的,tomcat也是本机启的,
我还用localhost、127.0.0.1和本机的计算机名试过,都是报一样的错
高手来指点一下啊
[ 本帖最后由 hrob 于 2009-8-21 15:52 编辑 ] |
|