LoadRunner 错误 -27225
Action(){
web_url("192.168.0.22:8081",
"URL=http://192.168.0.22:8081/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t22.inf",
"Mode=HTML",
EXTRARES,
"URL=/Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
"URL=/Content/Images/Framework/menu_Top.png", ENDITEM,
"URL=/Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
"URL=/Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
"URL=/Content/Images/Framework/footBar.png", ENDITEM,
"URL=/Content/Images/Framework/nav_bar_bg.png", ENDITEM,
"URL=/Content/Images/Framework/splitLine.png", ENDITEM,
"URL=/Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
"URL=/Content/Images/Framework/menuItem_bg.png", ENDITEM,
"URL=/Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
"URL=/Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
"URL=/Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
LAST);
web_url("CreateReport.png",
"URL=http://192.168.0.22:8081/R/C",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.0.22:8081/",
"Snapshot=t23.inf",
"Mode=HTML",
EXTRARES,
"URL=../Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
"URL=../Content/Images/Framework/menu_Top.png", ENDITEM,
"URL=../Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
"URL=../Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
"URL=../Content/Images/Framework/footBar.png", ENDITEM,
"URL=../Content/Images/Framework/nav_bar_bg.png", ENDITEM,
"URL=../Content/Images/Framework/splitLine.png", ENDITEM,
"URL=../Content/Images/Framework/menuItem_bg.png", ENDITEM,
"URL=../Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
LAST);
lr_start_transaction("tran_scyl");
lr_think_time(15);
web_submit_data("DoCreateReport",
"Action=http://192.168.0.22:8081/R/D",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.0.22:8081/R/C",
"Snapshot=t24.inf",
"Mode=HTML",
ITEMDATA,
"Name=stockCo", "Value={NewParam} 这里以前是60000",ENDITEM,
"Name=reTemp", "Value=1", ENDITEM,
"Name=reportRe", "Value=国际", ENDITEM,
"Name=x", "Value=77", ENDITEM,
"Name=y", "Value=21", ENDITEM,
EXTRARES,
"URL=../Content/Images/Framework/head_bar_bg.jpg", ENDITEM,
"URL=../Content/Images/Framework/menu_Top.png", ENDITEM,
"URL=../Content/Images/Framework/subMenu_leftDot.png", ENDITEM,
"URL=../Content/Images/Framework/subMenu_leftDot_last.png", ENDITEM,
"URL=../Content/Images/Framework/footBar.png", ENDITEM,
"URL=../Content/Images/Framework/nav_bar_bg.png", ENDITEM,
"URL=../Content/Images/Framework/splitLine.png", ENDITEM,
"URL=../Content/Images/Framework/menu_adminUserManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menuItem_bg.png", ENDITEM,
"URL=../Content/Images/Framework/menu_financeManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menu_userManangeIcon.png", ENDITEM,
"URL=../Content/Images/Framework/menu_systemManageIcon.png", ENDITEM,
LAST);
lr_end_transaction("tran_scyl", LR_AUTO);
// lr_eval_string("{NewParam}");
return 0;
}
现在的错误是:
Action.c(6): web_url("CreateReport") 已成功,393705 个正文字节,10075 介标头字节
Action.c(31): 通知: 参数 NewParam = 891 [表 = NewParam] 的下一行。
Action.c(31): 通知: 正在获取参数“NewParam”的新值:表 =“NewParam.dat”列 =“0”行 =“891”。
Action.c(31): 通知: 参数替换:参数“NewParam”=“002384 ”
Action.c(31): 错误 -27225: “Value002384 ”参数(编号 11)在“ITEMDATA”中无法识别
Action.c(31): web_submit_data("DoCreateReport") 最高严重级别为“ERROR”,0 个正文字节,0 个标头字节 参数列表里面的值有问题 重新看下参数列表,对照下是否存在特殊符号
页:
[1]