|
各位大侠:
求助!!
我并发测试一个登陆,录制完成后进行施压,在施压过程中出现下面的错误,求各位帮忙看一下,万分感谢~~
Start auto log messages stack - Iteration 18. [MsgId: MMSG-10545]
Action.c(30): Notify: Transaction "打开页面" ended with "Pass" status (Duration: 2.0809). [MsgId: MMSG-16873]
Action.c(32): Rendezvous 登录 [MsgId: MMSG-17988]
Action.c(35): Notify: Transaction "点击登录" started. [MsgId: MMSG-16999]
Action.c(38): Resource "http://192.168.0.8/TestIBM2/flow/images/change/login.jpg" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(38): Found resource "http://192.168.0.8/TestIBM2/Verifier.axd?sid=2c23add2-2286-43b6-9d90-950d68e51e17" in HTML "http://192.168.0.8/TestIBM2/Login.aspx" [MsgId: MMSG-26659]
Action.c(38): web_submit_data("Login.aspx_2") was successful, 7334 body bytes, 459 header bytes [MsgId: MMSG-26386]
Action.c(91): Retrieving data from cache for "http://192.168.0.8/TestIBM2/blank.html" [MsgId: MMSG-26558]
Action.c(91): web_url("blank.html") was successful, 0 body bytes, 0 header bytes [MsgId: MMSG-26386]
Action.c(143): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.0.8/TestIBM2/MainPage.aspx" [MsgId: MERR-26612]
End auto log messages stack. [MsgId: MMSG-10544]
脚本:
Action()
{
lr_start_transaction("打开页面");
web_url("Login.aspx",
"URL=http://192.168.0.8/TestIBM2/Login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
/* web_url("换一张",
"URL=http://192.168.0.8/TestIBM2/Login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=flow/images/blueImages/main/button.jpg", ENDITEM,
LAST); */
lr_end_transaction("打开页面", LR_AUTO);
lr_rendezvous("登录");
lr_start_transaction("点击登录");
web_submit_data("Login.aspx_2",
"Action=http://192.168.0.8/TestIBM2/Login.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value=/wEPDwUKLTUwMjk2MDk5MmQYAQUMdmFsaWRhdGVDb2RlDw9kBSQyYzIzYWRkMi0yMjg2LTQzYjYtOWQ5MC05NTBkNjhlNTFlMTdk5IZxwPR/a3GpKBoPTULko+ZPnzw=", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBQLcqOnqBALcgpeMBwLGmdGVDAKMhs7EAgKfwImNC9sxfnQ4651PeqGF2EWf7DPvDoVE", ENDITEM,
"Name=user", "Value={NewParam}", ENDITEM,
"Name=pwd", "Value=qwe123", ENDITEM,
"Name=validate", "Value=", ENDITEM,
"Name=ctl02", "Value=鐧诲綍", ENDITEM,
"Name=screenHeight", "Value=930", ENDITEM,
"Name=clientHeight", "Value=790", ENDITEM,
LAST);
/*web_submit_data("Login.aspx_3",
"Action=http://192.168.0.8/TestIBM2/Login.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value=/wEPDwUKLTUwMjk2MDk5MmQYAQUMdmFsaWRhdGVDb2RlDw9kBSQyYzIzYWRkMi0yMjg2LTQzYjYtOWQ5MC05NTBkNjhlNTFlMTdk5IZxwPR/a3GpKBoPTULko+ZPnzw=", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBQLcqOnqBALcgpeMBwLGmdGVDAKMhs7EAgKfwImNC9sxfnQ4651PeqGF2EWf7DPvDoVE", ENDITEM,
"Name=user", "Value=test00001", ENDITEM,
"Name=pwd", "Value=qwe123", ENDITEM,
"Name=validate", "Value=", ENDITEM,
"Name=ctl02", "Value=鐧诲綍", ENDITEM,
"Name=screenHeight", "Value=930", ENDITEM,
"Name=clientHeight", "Value=790", ENDITEM,
EXTRARES,
"Url=images/hometopbg.gif", ENDITEM,
"Url=images/bottom_mid.gif", ENDITEM,
"Url=images/bottom_right.gif", ENDITEM,
"Url=images/bottom_left.gif", ENDITEM,
"Url=images/serviceonline.gif", ENDITEM,
"Url=images/hometopimg.jpg", ENDITEM,
"Url=images/exit_off.gif", ENDITEM,
"Url=images/menubar_bottombg.gif", ENDITEM,
"Url=images/positionBack.gif", ENDITEM,
"Url=images/menubar_leftline.gif", ENDITEM,
"Url=images/menuitem_linked.gif", ENDITEM,
"Url=images/menuitem_offbg.gif", ENDITEM,
"Url=images/grouptitlebg.gif", ENDITEM,
"Url=images/exit_on.gif", ENDITEM,
LAST);
*/
web_url("blank.html",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Mode=HTML",
LAST);
/* web_url("blank.html_2",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Mode=HTML",
LAST);
web_url("blank.html_3",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Mode=HTML",
LAST);
web_url("blank.html_4",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_url("blank.html_5",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Mode=HTML",
LAST);
web_url("blank.html_6",
"URL=http://192.168.0.8/TestIBM2/blank.html",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);*/
web_url("MainPage.aspx",
"URL=http://192.168.0.8/TestIBM2/MainPage.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
/*web_url("全球最理想雇主50强出炉 11-6",
"URL=http://192.168.0.8/TestIBM2/MainPage.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.8/TestIBM2/Login.aspx",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=images/work_input.gif", ENDITEM,
"Url=images/ico_avigation.png", ENDITEM,
"Url=images/sidebartop_bg.gif", ENDITEM,
"Url=images/icon_edit.gif", ENDITEM,
"Url=images/img_Consultant.gif", ENDITEM,
"Url=images/img_OnlineService.gif", ENDITEM,
"Url=images/mytaskbg_left.gif", ENDITEM,
"Url=images/mytaskbg_right.gif", ENDITEM,
"Url=images/subtab.gif", ENDITEM,
"Url=images/tab_button.gif", ENDITEM,
"Url=images/search_img.gif", ENDITEM,
"Url=images/more.gif", ENDITEM,
"Url=images/newDot.gif", ENDITEM,
LAST);*/
lr_end_transaction("点击登录",LR_AUTO);
lr_start_transaction("点击退出");
web_url("login.aspx",
"URL=http://192.168.0.8/TestIBM2/login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
/* web_url("换一张_2",
"URL=http://192.168.0.8/TestIBM2/login.aspx",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);*/
lr_end_transaction("点击退出",LR_AUTO);
return 0;
}
并发:300个,持续时间为5分钟 |
|