2,运行到web_submit_data就报错了:vuser_init.c(73): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.1.9/lab/LoginAction.do" [MsgId: MERR-26612]
vuser_init.c(73): web_submit_data highest severity level was "ERROR", 3521 body bytes, 237 header bytes [MsgId: MMSG-27178]
Abort was called from an action.
完整的输出如下:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 7.80.0 for WINXP; Web build 2271 [MsgId: MMSG-27143]
Run-Time Settings file: "E:\fzhy\try_script\web_url\\default.cfg" [MsgId: MMSG-27141]
vuser_init.c(7): web_set_max_html_param_len was successful [MsgId: MMSG-27182]
vuser_init.c(11): Registering web_reg_save_param was successful [MsgId: MMSG-27180]
vuser_init.c(19): Redirecting "http://192.168.1.9/lab" (redirection depth=0) [MsgId: MMSG-26694]
vuser_init.c(19): To location "http://192.168.1.9/lab/" [MsgId: MMSG-26693]
vuser_init.c(19): Redirecting "http://192.168.1.9/lab/" (redirection depth=1) [MsgId: MMSG-26694]
vuser_init.c(19): To location "http://192.168.1.9/lab/login.jsp" [MsgId: MMSG-26693]
vuser_init.c(19): Redirecting "http://192.168.1.9/lab/login.jsp" (redirection depth=2) [MsgId: MMSG-26694]
vuser_init.c(19): To location "http://192.168.1.9/lab/LoginAction.do" [MsgId: MMSG-26693]
vuser_init.c(19): web_url was successful, 9471 body bytes, 915 header bytes, 56 chunking overhead bytes [MsgId: MMSG-27175]
vuser_init.c(28): web_concurrent_start was successful [MsgId: MMSG-27182]
vuser_init.c(29): Registering web_url was successful [MsgId: MMSG-27180]
vuser_init.c(35): Registering web_url was successful [MsgId: MMSG-27180]
vuser_init.c(42): web_concurrent_end was successful, 10487 body bytes, 316 header bytes [MsgId: MMSG-27176]
vuser_init.c(45): web_concurrent_start was successful [MsgId: MMSG-27182]
vuser_init.c(46): Registering web_url was successful [MsgId: MMSG-27180]
vuser_init.c(53): Registering web_url was successful [MsgId: MMSG-27180]
vuser_init.c(60): web_concurrent_end was successful, 109454 body bytes, 346 header bytes [MsgId: MMSG-27176]
the init param is:yTWkDZQdLw6ncsYYHm1Xx1L9ZVgTpcybkffh2mJLRVQBDr7zMyb!-882202093 //关联参数的输出
vuser_init.c(73): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.1.9/lab/LoginAction.do" [MsgId: MERR-26612]
vuser_init.c(73): web_submit_data highest severity level was "ERROR", 3521 body bytes, 237 header bytes [MsgId: MMSG-27178]
Abort was called from an action.
3,查看client request和server response
开始的client Request如下:
Header:
------------------------------------------
GET /lab HTTP/1.1
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; (R1 1.3); .NET CLR 1.1.4322)
Connection: Keep-Alive
Host: 192.168.1.9
Body:
------------------------------------------
No Body was sent for this HTTP request.