|
我刚刚学习lr,录制脚本后出现两个问题,希望高手给以指教,谢谢。
1.脚本里面有乱码文字,按照网上说的方法修改了配置,还是存在,系统是win2003 中文的
2.回放过程出现两个错误信息如下:
Action中错误
Action.c(84): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.1.200/WoodWeb/Index.aspx" [MsgId: MERR-26612]
Action.c(84): web_submit_data("Index.aspx_6") highest severity level was "ERROR", 8271 body bytes, 240 header bytes [MsgId: MMSG-26388]
初始化代码错误
vuser_init.c(267): Warning -26612: HTTP Status-Code=500 (Internal Server Error) for "http://192.168.1.200/WoodWeb/ChartImg.axd?i=chart_0_3.png&g=52d9bdec47bc4e81907d73de197b7ad4" [MsgId: MWAR-26612]
出现问题函数如下:
初始化脚本:
web_url("ChartWeb.aspx",
"URL=http://192.168.1.200/WoodWeb/WoodLandWeb/ChartWeb.aspx?fullCode=510129100&type=1&1280887987218",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.200/WoodWeb/WoodLandWeb/ViewZoneStaInfo.aspx?1280887978046",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"Url=../ChartImg.axd?i=chart_0_3.png&g=52d9bdec47bc4e81907d73de197b7ad4", "Referer=http://192.168.1.200/WoodWeb/WoodLandWeb/ChartWeb.aspx?fullCode=510129100&type=1&1280887987218", ENDITEM,
LAST);
lr_end_transaction("log_in", LR_AUTO);
动作脚本:
web_submit_data("Index.aspx_6",
"Action=http://192.168.1.200/WoodWeb/Index.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.1.200/WoodWeb/Index.aspx",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=submitAjaxEventConfig", "Value={\"config\":{\"extraParams\":{\"nodeid\":\"5101291000080002\",\"nodetext\":\"2缁\x84\"}}}", ENDITEM,
"Name=cbTheme_Value", "Value=Slate", ENDITEM,
"Name=cbTheme", "Value=鏆楄摑", ENDITEM,
"Name=cbTheme_SelIndex", "Value=2", ENDITEM,
"Name=__EVENTTARGET", "Value=SManager", ENDITEM,
"Name=__EVENTARGUMENT", "Value=-|public|TreeNode_Click", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState4}", ENDITEM,
"Name=ESRIWebADFHiddenFields", "Value=ToolbarMain_Group_current_tool,", ENDITEM,
"Name=ToolbarMain_Group_current_tool", "Value=MapPan", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBAKW18H2CwKr5OO0BgK+vMamDQLo7a3VB9YXq858t48KQhRT1CKW4DT06D3T", ENDITEM,
"Name=tbp_ActiveTab", "Value=tbp:0", ENDITEM,
LAST); |
|