loadrunner录制脚本成功了,但是回放报错怎么处理啊?急!!!
Action.c(24): Error -27153: Either "Name" or at least one of "NamePfx" and "NameSfx" should be non-empty (before the "ENDITEM" argument number 12)回放的时候报的这么一段错误,纠结啊。求解!!! 贴上错误处脚本看看~~~~ 回复 2# jj_ljw
出错处脚本是:
web_submit_form("j_acegi_security_check",
"Snapshot=t2.inf",
ITEMDATA,
"Name=j_username", "Value=admin", ENDITEM,
"Name=j_password", "Value=1", ENDITEM,
"Name=", "Value=<OFF>", ENDITEM,
EXTRARES,
"Url=apps/dms/doc/search/web/blue/images/search_img/bg_layer.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/search_bg_blue.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/search_logo_blue.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/blue_shuru.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/but_bg.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/blue_s_tab.gif", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/blue_but.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/layer_tit.jpg", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
"Url=apps/dms/doc/search/web/blue/images/search_img/close_layer.gif", "Referer=http://192.168.0.11:8080/DataManager/fulltextsearch/searchHomePage.do", ENDITEM,
LAST);
报错是:Action.c(21): Error -27153: Either "Name" or at least one of "NamePfx" and "NameSfx" should be non-empty (before the "ENDITEM" argument number 12)
Action.c(21): web_submit_form("j_acegi_security_check") highest severity level was "ERROR", 0 body bytes, 0 header bytes "Name=", "Value=<OFF>", ENDITEM,
这个是注册码? 回复 4# jj_ljw
不是啊,录制下来就有这个,登录界面就只有一个用户名,密码输入框,然后只有一个下拉选择框,选择进入的界面的了。 不好说,也许你换个录制方法用web_submit_data就好了 回复 4# jj_ljw
谢谢前辈!本人果断的给"Name=", "Value=<OFF>", ENDITEM,干掉之后就顺畅了!!! 谢谢你楼主!我也遇到过相同的问题,像你一样做就成功了。 1.把"Name=", "Value=<OFF>", ENDITEM 这个删掉试下
2.使用web_submit_data重录下
3.自己手写一个简单的Web_submit_data 我回放脚本时报这错:。请教怎么处理,脚本如下:
Action.c(458): Error: Failed to end Transaction "诚信信息录入结束" (by name). Please check that you made a call to start transaction operation.
Error: Vuser started transaction "诚信信息录入开始", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.
页:
[1]