|
我在录完脚本后, 用了LR的自动关联(Correlation Studio).
脚本如下:
...
lr_start_transaction("Create Estimate Fee");
// [WCSPARAM WCSParam_Diff1 17 07EST-00000-00004] Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param( "WCSParam_Diff1", "LB= value=\"", "RB=\"", "Ord=21", "Search=Body", "RelFrameId=1", LAST );
...
web_submit_data("CapBySingle.do_3",
"Action=http://test01-server.achievo.com:1080/portlets/cap/CapBySingle.do?module=Building",
"Method=POST",
"RecContentType=text/html",
"Referer=http://test01-server.achievo.com:1080/portlets/cap/CapBySingle.do?mode=editPartialCap&serviceProviderCode=NOLA&ID1=07EST&ID2=00000&ID3={WCSParam_Diff3}&module=Building&isPartialCap=Y&CAP_INFO=INCOMPLETE",
"Snapshot=t285.inf",
"Mode=HTTP",
ITEMDATA,
"Name=value(FirstEntryURL)", "Value=", ENDITEM,
"Name=value(CurrentEntryURL)", "Value=", ENDITEM,
"Name=refresh_target", "Value=", ENDITEM,
"Name=refresh_url", "Value=", ENDITEM,
"Name=buttonName", "Value=", ENDITEM,
"Name=modeName", "Value=editPartialCap", ENDITEM,
"Name=module", "Value=Building", ENDITEM,
"Name=accelasubmitbuttonname", "Value=editfeeEstimates", ENDITEM,
"Name=CurrentViewID", "Value=", ENDITEM,
"Name=generalCAPSearch", "Value=null", ENDITEM,
"Name=objectName", "Value=", ENDITEM,
"Name=CheckBoxName", "Value=", ENDITEM,
"Name=MaxNumber", "Value=", ENDITEM,
"Name=ExportFileType", "Value=print", ENDITEM,
"Name=CurrentViewID", "Value=", ENDITEM,
"Name=listID", "Value=", ENDITEM,
"Name=printType", "Value=", ENDITEM,
"Name=checkBoxValue", "Value=", ENDITEM,
"Name=value(paLicenseId)", "Value=", ENDITEM,
"Name=staffCollection", "Value=", ENDITEM,
"Name=currentDept", "Value=", ENDITEM,
"Name=value(mode)", "Value=add", ENDITEM,
"Name=value(srTest)", "Value=", ENDITEM,
"Name=value(capID*ID1)", "Value=07EST", ENDITEM,
"Name=value(capID*ID2)", "Value=00000", ENDITEM,
"Name=value(capID*ID3)", "Value={WCSParam_Diff3}", ENDITEM,
"Name=value(capType)", "Value=Building/Estimate Fee/Estimate Fee/Estimate Fee", ENDITEM,
"Name=value(capDetailModel*creatorDeptAlias)", "Value=", ENDITEM,
"Name=value(capModel*capSubType)", "Value=", ENDITEM,
"Name=date(capDetailModel*closedDate)", "Value=", ENDITEM,
"Name=date(capDetailModel*completeDate)", "Value=", ENDITEM,
"Name=date(capDetailModel*scheduledDate)", "Value=", ENDITEM,
"Name=value(capDetailModel*completeDept)", "Value=", ENDITEM,
"Name=value(capDetailModel*completeStaff)", "Value=", ENDITEM,
"Name=value(capDetailModel*closedDept)", "Value=", ENDITEM,
"Name=value(capDetailModel*closedBy)", "Value=", ENDITEM,
"Name=value(capDetailModel*severity)", "Value=", ENDITEM,
"Name=value(jobValue)", "Value=0.00", ENDITEM,
"Name=value(capDetailModel*totalFee)", "Value=0.0", ENDITEM,
"Name=value(capDetailModel*totalPay)", "Value=0.0", ENDITEM,
"Name=value(capDetailModel*balance)", "Value=0.0", ENDITEM,
"Name=value(blank1)", "Value=", ENDITEM,
"Name=value(blank2)", "Value=", ENDITEM,
"Name=value(blank3)", "Value=", ENDITEM,
"Name=value(blank4)", "Value=", ENDITEM,
"Name=value(blank5)", "Value=", ENDITEM,
"Name=value(capDetailModel*totalJobCost)", "Value=0.0", ENDITEM,
"Name=value(b1ExpirationModel*expStatus)", "Value=", ENDITEM,
"Name=date(b1ExpirationModel*expDate)", "Value=", ENDITEM,
"Name=date(capModel*reportedDate)", "Value=06/14/2007", ENDITEM,
"Name=value(capModel*reportedTime)", "Value=", ENDITEM,
"Name=value(capID)", "Value={WCSParam_Diff1}", ENDITEM,
"Name=value(capDetailModel*priority)", "Value=", ENDITEM,
"Name=value(capModel*capStatus)", "Value=", ENDITEM,
"Name=value(capDetailModel*shortNotes)", "Value=", ENDITEM,
"Name=date(capModel*fileDate)", "Value=06/14/2007", ENDITEM,
"Name=value(capDetailModel*reportedChannel)", "Value=", ENDITEM,
"Name=value(capWorkDescriptionModel*description)", "Value=", ENDITEM,
"Name=value(capModel*altID)", "Value=EST-{WCSParam_Diff1}", ENDITEM,
"Name=value(capDetailModel*asgnDept)", "Value=", ENDITEM,
"Name=value(capDetailModel*asgnStaff)", "Value=", ENDITEM,
"Name=date(capDetailModel*asgnDate)", "Value=", ENDITEM,
"Name=isAppSpecInfo", "Value=1", ENDITEM,
"Name=app_spec_info_FEERECALC_Fee_parameters1", "Value=23.5", ENDITEM,
"Name=app_spec_info_FEERECALC_Fee_parameters2", "Value=500", ENDITEM,
"Name=app_spec_info_FEERECALC_Fee_parameter3", "Value=3.05", ENDITEM,
"Name=app_spec_info_FEERECALC_Fee_parameter4", "Value=100", ENDITEM,
"Name=value(mode)", "Value=New", ENDITEM,
"Name=editPar", "Value=2112", ENDITEM,
"Name=allViewIDGroup", "Value=225", ENDITEM,
"Name=viewGroup", "Value=225", ENDITEM,
"Name=formGroup", "Value=capDetailForm", ENDITEM,
"Name=capType", "Value=Building/Estimate Fee/Estimate Fee/Estimate Fee", ENDITEM,
"Name=fromModel", "Value=Cap", ENDITEM,
"Name=modelId", "Value=", ENDITEM,
"Name=fromEditPartialCap", "Value=Y", ENDITEM,
LAST);
...
1User持续跑15分钟, 没有任何错误.
但是我将User调到10个以后, 脚本刚刚运行就出现错误.
错误信息如下:
Action.c(860): Error -26377: No match found for the requested parameter "WCSParam_Diff1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size.
[ 本帖最后由 lin_lp 于 2007-6-15 15:19 编辑 ] |
|