|
调试到
web_submit_data("zkau;jsessionid=0BD36691DAB670449C0D1340E868E7E3_2",
"Action=http://192.168.3.20:8080/AppFrame/zkau;jsessionid={JSESSIONID2}",
这一步的时候JBOSS后台抛出异常:
15:03:54,046 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: id to load is required for loading
15:03:54,046 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
15:03:54,046 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
LR脚本如下:
vuser_init()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 3
// {JSESSIONID2} = "0BD36691DAB670449C0D1340E868E7E3"
// */
web_reg_save_param("JSESSIONID2",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_url("login.zul",
"URL=http://192.168.3.20:8080/AppFrame/login.zul",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=images/login_03.gif", ENDITEM,
"Url=images/login_06.gif", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/wnd.js;jsessionid={JSESSIONID2}", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/widget.js;jsessionid={JSESSIONID2}", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/zul.js;jsessionid={JSESSIONID2}", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/vd.js;jsessionid={JSESSIONID2}", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/lang/msgzul*.js;jsessionid={JSESSIONID2}", ENDITEM,
"Url=zkau/web/zk/img/progress.gif;jsessionid={JSESSIONID2}", ENDITEM,
LAST);
lr_think_time(7);
web_submit_data("zkau;jsessionid=0BD36691DAB670449C0D1340E868E7E3",
"Action=http://192.168.3.20:8080/AppFrame/zkau;jsessionid={JSESSIONID2}",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.3.20:8080/AppFrame/login.zul",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=dtid", "Value=g3r5", ENDITEM,
"Name=cmd.0", "Value=onChange", ENDITEM,
"Name=uuid.0", "Value=z_3r_5", ENDITEM,
"Name=data.0", "Value=1234", ENDITEM,
"Name=cmd.1", "Value=onChange", ENDITEM,
"Name=uuid.1", "Value=z_3r_7", ENDITEM,
"Name=data.1", "Value=1234", ENDITEM,
"Name=cmd.2", "Value=onClick", ENDITEM,
"Name=uuid.2", "Value=z_3r_8", ENDITEM,
"Name=data.2", "Value=47", ENDITEM,
"Name=data.2", "Value=19", ENDITEM,
"Name=data.2", "Value=", ENDITEM,
LAST);
web_url("AppStartServlet",
"URL=http://192.168.3.20:8080/AppFrame/AppStartServlet",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=zkau/web/zul/img/wnd/wto-l.gif", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/zul/img/wnd/wto-m.gif", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/zul/img/wnd/wto-r.gif", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/wnd.js", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/widget.js", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=images/topframegb.jpg", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
"Url=images/tbbg.gif", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
"Url=images/bt_homeout.gif", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
"Url=images/bt_mout.gif", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
"Url=images/bt_resignout.gif", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
"Url=zkau/web/zk/img/progress.gif", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/zul.js", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/vd.js", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/lang/msgzul*.js", "Referer=http://192.168.3.20:8080/AppFrame/showContent.zul", ENDITEM,
"Url=images/bt_resignin.gif", "Referer=http://192.168.3.20:8080/AppFrame/showHeader.zul", ENDITEM,
LAST);
web_submit_data("zkau;jsessionid=0BD36691DAB670449C0D1340E868E7E3_2",
"Action=http://192.168.3.20:8080/AppFrame/zkau;jsessionid={JSESSIONID2}",
"Method=POST",
"RecContentType=text/xml",
"Referer=http://192.168.3.20:8080/AppFrame/login.zul",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=dtid", "Value=g3r5", ENDITEM,
"Name=cmd.0", "Value=rmDesktop", ENDITEM,
EXTRARES,
"Url=images/menubg.gif", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/tree.js", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
"Url=zkau/web/zk/img/progress.gif", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/sel.js", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/zul.js", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
"Url=zkau/web/_zver7g/_zcbzk.ald/js/zul/lang/msgzul*.js", "Referer=http://192.168.3.20:8080/AppFrame/showMenu.zul", ENDITEM,
LAST);
return 0;
}
[ 本帖最后由 ymtest 于 2007-10-25 15:30 编辑 ] |
|