|
7#
楼主 |
发表于 2008-11-25 09:16:06
|
只看该作者
再附上完整一点的代码,whyleave兄帮忙看一下关联的对不对。
关联后的代码
web_reg_save_param("resnameid",
"LB=resname_id=",
"RB=&wsResnameID",
"Ord=1",
"Search=Body",
"RelFrameId=1",
LAST);
web_submit_data("saveResNamernAction.action",
"Action=http://192.168.1.111:8080/res-plat//saveResNamernAction.action",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=http://192.168.1.111:8080/res-plat//befaddResNamernAction.action?infoOrWSorWsDesc=1",
"Snapshot=t89.inf",
"Mode=HTTP",
ITEMDATA,
"Name=goToNextAction", "Value=true", ENDITEM,
"Name=infoOrWSorWsDesc", "Value=1", ENDITEM,
"Name=dummy_id", "Value=2008110710054057196", ENDITEM,
"Name=addOrUpdate", "Value=null", ENDITEM,
"Name=resnameId", "Value=", ENDITEM,
"Name=res_name", "Value={resname}", ENDITEM,
"Name=is_comm_res", "Value=1", ENDITEM,
"Name=res_exp", "Value={resname}", ENDITEM,
"Name=create_userid", "Value=admin", ENDITEM,
"Name=register_org", "Value=", ENDITEM,
"Name=commit_org", "Value=", ENDITEM,
"Name=master_org", "Value=", ENDITEM,
"Name=file", "Value=", "File=yes", ENDITEM,
LAST);
lr_continue_on_error( 1 );
web_url("splitAction_getResMetaInfoList.action",
"URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
"Snapshot=t90.inf",
"Mode=HTTP",
LAST);
lr_continue_on_error( 0 );
lr_error_message("%s", lr_eval_string("{resnameid}"));
ExtendedLog( 0 );
web_url("ajax.js",
"URL=http://192.168.1.111:8080/res-plat/js/ajax.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
"Snapshot=t91.inf",
LAST);
web_url("button_bg3.gif",
"URL=http://192.168.1.111:8080/res-plat/image_wsgr/button_bg3.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&addOrUpdate=null&resMetaInfoSetSingle=true&resname_id={resnameid}&wsResnameID=null&wsDescResnameID=null&infoOrWSorWsDesc=1",
"Snapshot=t92.inf",
LAST);
web_url("befUpdateResMetaInfornMCAction.action",
"URL=http://192.168.1.111:8080/res-plat//befUpdateResMetaInfornMCAction.action?resname={resname}&resMetaInfoId=&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
"Snapshot=t93.inf",
"Mode=HTTP",
LAST);
lr_think_time(10);
web_custom_request("saveResMetaInfornMCAction.action",
"URL=http://192.168.1.111:8080/res-plat//saveResMetaInfornMCAction.action",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.1.111:8080/res-plat//befUpdateResMetaInfornMCAction.action?resname={resname}&resMetaInfoId=&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
"Snapshot=t94.inf",
"Mode=HTTP",
"Body=resMetaInfoId=&resMetaName={resname}&resname_id={resnameid}¶ToSave=%257CNAME={resname}%257CENG_NAME=%257CCODE=%257CC1=%257CC2=%257CC3=%257CC4=%257CC5=%257CC6=a-01%257CC7=1%257CC8=%257CC9=%257CC10=%257CC11=v1.0%257CC12=",
LAST);
web_url("splitAction_getResMetaInfoList.action_2",
"URL=http://192.168.1.111:8080/res-plat//splitAction_getResMetaInfoList.action?&resname_id={resnameid}&dummyId=2008110710054057196&infoOrWSorWsDesc=1&wsResnameID=null&wsDescResnameID=null&addOrUpdate=null",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.1.111:8080/res-plat/mainmenu/main.jsp",
"Snapshot=t95.inf",
"Mode=HTTP",
LAST); |
|