TA的每日心情 | 郁闷 2017-3-28 09:26 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
脚本
#include "web_api.h"
#include "lrw_custom_body.h"
vuser_init()
{
web_url("index.jsp",
"URL=http://192.168.0.32:7007/webgate/index.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
web_url("main.do",
"URL=http://192.168.0.32:7007/webgate/main.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=img/login-1.gif", ENDITEM,
"Url=img/login-2.gif", ENDITEM,
LAST);
web_submit_form("login.do",
"Snapshot=t5.inf",
ITEMDATA,
"Name=userno", "Value=0203057", ENDITEM,
"Name=password", "Value=00000000", ENDITEM,
EXTRARES,
"Url=img/topbarbg.gif", "Referer=http://192.168.0.32:7007/webgate/header.do", ENDITEM,
"Url=../gcredit/$notify.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890", "Referer=http://192.168.0.32:7007/webgate/menu.do", ENDITEM,
"Url=../gdebt/$notify.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890", "Referer=http://192.168.0.32:7007/webgate/menu.do", ENDITEM,
"Url=img/button-5.gif", "Referer=http://192.168.0.32:7007/webgate/header.do", ENDITEM,
"Url=img/menubarbg.gif", "Referer=http://192.168.0.32:7007/webgate/menu.do", ENDITEM,
LAST);
web_url("welcome.do",
"URL=http://192.168.0.32:7007/gdebt/welcome.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.32:7007/webgate/login.do",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
return 0;
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 8.0.0 for WIN2000; Web build 4141 [MsgId: MMSG-27143]
Run-Time Settings file: "E:\load\rongzishangbao\\default.cfg" [MsgId: MMSG-27141]
vuser_init.c(7): web_url("index.jsp") was successful, 726 body bytes, 287 header bytes [MsgId: MMSG-26386]
vuser_init.c(16): Found resource "http://192.168.0.32:7007/webgate/include/main.css" in HTML "http://192.168.0.32:7007/webgate/main.do" [MsgId: MMSG-26659]
vuser_init.c(16): Found resource "http://192.168.0.32:7007/webgate/img/login-1.gif" in HTML "http://192.168.0.32:7007/webgate/main.do" [MsgId: MMSG-26659]
vuser_init.c(16): Found resource "http://192.168.0.32:7007/webgate/img/login-2.gif" in HTML "http://192.168.0.32:7007/webgate/main.do" [MsgId: MMSG-26659]
vuser_init.c(16): Found resource "http://192.168.0.32:7007/webgate/img/button-log.gif" in HTML "http://192.168.0.32:7007/webgate/main.do" [MsgId: MMSG-26659]
vuser_init.c(16): Found resource "http://192.168.0.32:7007/webgate/img/button-res.gif" in HTML "http://192.168.0.32:7007/webgate/main.do" [MsgId: MMSG-26659]
vuser_init.c(16): web_url("main.do") was successful, 137352 body bytes, 1429 header bytes [MsgId: MMSG-26386]
vuser_init.c(28): Think time - Waiting 3.00 seconds (according to limit).
vuser_init.c(28): lr_think_time: 3.00 seconds (recorded think time was 6.00 seconds).
vuser_init.c(30): Submitting form to "http://192.168.0.32:7007/webgate/login.do", Target Frame="" [MsgId: MMSG-27978]
vuser_init.c(30): Detected non-resource "http://192.168.0.32:7007/webgate/header.do" in "http://192.168.0.32:7007/webgate/login.do" [MsgId: MMSG-26574]
vuser_init.c(30): Detected non-resource "http://192.168.0.32:7007/webgate/menu.do" in "http://192.168.0.32:7007/webgate/login.do" [MsgId: MMSG-26574]
vuser_init.c(30): Detected non-resource "http://192.168.0.32:7007/webgate/content.do" in "http://192.168.0.32:7007/webgate/login.do" [MsgId: MMSG-26574]
vuser_init.c(30): Detected non-resource "http://192.168.0.32:7007/webgate/bottom.do" in "http://192.168.0.32:7007/webgate/login.do" [MsgId: MMSG-26574]
vuser_init.c(30): Resource "http://192.168.0.32:7007/webgate/include/main.css" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/skins/winclassic.css" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/js/poslib.js" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/js/scrollbutton.js" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/js/menu4.js" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/menubarbg.gif" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Downloading resource "http://192.168.0.32:7007/gcredit/$notify.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890" (specified by argument number 14) [MsgId: MMSG-26577]
vuser_init.c(30): Downloading resource "http://192.168.0.32:7007/gdebt/$notify.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890" (specified by argument number 17) [MsgId: MMSG-26577]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/tips.gif" in HTML "http://192.168.0.32:7007/webgate/menu.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/include/data01.css" in HTML "http://192.168.0.32:7007/webgate/content.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/bottombg.gif" in HTML "http://192.168.0.32:7007/webgate/bottom.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/qiehuan.gif" in HTML "http://192.168.0.32:7007/webgate/bottom.do" [MsgId: MMSG-26659]
vuser_init.c(30): Detected non-resource "http://192.168.0.32:7007/webgate/profile.jsp" in "http://192.168.0.32:7007/webgate/bottom.do" [MsgId: MMSG-26574]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/skins/winclassic-3.css" in HTML "http://192.168.0.32:7007/webgate/header.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/topbarbg.gif" in HTML "http://192.168.0.32:7007/webgate/header.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/button-2.gif" in HTML "http://192.168.0.32:7007/webgate/header.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/button-3.gif" in HTML "http://192.168.0.32:7007/webgate/header.do" [MsgId: MMSG-26659]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/button-4.gif" in HTML "http://192.168.0.32:7007/webgate/header.do" [MsgId: MMSG-26659]
vuser_init.c(30): Downloading resource "http://192.168.0.32:7007/webgate/img/button-5.gif" (specified by argument number 20) [MsgId: MMSG-26577]
vuser_init.c(30): Found resource "http://192.168.0.32:7007/webgate/img/bg1.gif" in HTML "http://192.168.0.32:7007/webgate/profile.jsp" [MsgId: MMSG-26659]
vuser_init.c(30): web_submit_form("login.do") was successful, 153081 body bytes, 5382 header bytes [MsgId: MMSG-26386]
vuser_init.c(42): Think time - Waiting 3.00 seconds (according to limit).
vuser_init.c(42): lr_think_time: 3.00 seconds (recorded think time was 6.00 seconds).
vuser_init.c(43): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.32:7007/gdebt/welcome.do?_nstc_webgate_sid_=FbxVqRWgUIWIWdxfLvaRBN3LMVXpoPdcDne18KLkEWmG1H2AGwdm!-1523907938!1159410005890" [MsgId: MERR-26612]
vuser_init.c(43): web_url("welcome.do") highest severity level was "ERROR", 1836 body bytes, 217 header bytes [MsgId: MMSG-26388]
Abort was called from an action. |
|