脚本运行时总是报找不到关联
脚本运行时总是报找不到关联,出现以下的错误提示该如何处理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
同时也会出现这个错误
Error -27782: Timeout (1000 seconds) exceeded while waiting to receive data for URL "http://169.254.11.131:9085/mr/login.do" 关联字段是否超过10000个字节?如果是的话请use web_set_max_html_param_len to increase the parameter size 关联字段是否超过10000个字节?如果是的话请use web_set_max_html_param_len to increase the parameter size 看起来好像是服务器没返回,自然就没关联结果了 很明显是服务器没返回数据(原因超时)引起的关联找不到。
看看你的run time setting里关于网络的设置吧。。 先解决超时原因。。 你这个是自动关联做的吧?
我觉得大部分情况下,都不需要用自动关联。
另外,把你的关联函数和应该关联的数据对照一下,看是不是正确的。从经验上来说,这个不是服务器没有返回,一般是因为你关联写的不对。 像这样的问题最好把脚本发上来让大家看看,如果含有保密性质的东西,就把脚本中的保密业务做一定得变通!这样利于大家的分析,和问题的快速解决!:) 个人建议! shenh()
{
web_url("listApprovableSendDocumentAction.do",
"URL=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/listApprovableSendDocumentAction.do",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t21.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/hbg.jpg", ENDITEM,
LAST);
web_url("frame.html_2",
"URL=http://169.254.11.131:9085/mr/core/frame.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/listApprovableSendDocumentAction.do",
"Snapshot=t22.inf",
"Mode=HTML",
LAST);
lr_start_transaction("点击单据编号");
lr_think_time(18);
// Parameter {WCSParam_Diff1} created by Correlation Studio
web_reg_save_param("WCSParam_Diff1",
"LB= value=\"",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
"IgnoreRedirections=Yes",
LAST);
web_url("displayApprovableSendSheetDetail.do",
"URL=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/displayApprovableSendSheetDetail.do?sendDocumentId=ff80808120e68cd90120e6e6da4e0101",
"Resource=0",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/listApprovableSendDocumentAction.do",
"Snapshot=t23.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/hbg.jpg", "Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/displayApprovableSendSheetDetail.do?sendDocumentId=ff80808120e68cd90120e6e6da4e0101", ENDITEM,
LAST);
lr_end_transaction("点击单据编号", LR_AUTO);
web_url("frame.html_3",
"URL=http://169.254.11.131:9085/mr/core/frame.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/displayApprovableSendSheetDetail.do?sendDocumentId=ff80808120e68cd90120e6e6da4e0101",
"Snapshot=t24.inf",
"Mode=HTML",
EXTRARES,
"URL=../images/00point_over.gif", "Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/displayApprovableSendSheetDetail.do?sendDocumentId=ff80808120e68cd90120e6e6da4e0101", ENDITEM,
LAST);
lr_rendezvous("提交集合点");
lr_start_transaction("点击提交");
web_submit_data("approveSendSheet.do",
"Action=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/approveSendSheet.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/displayApprovableSendSheetDetail.do?sendDocumentId=ff80808120e68cd90120e6e6da4e0101",
"Snapshot=t25.inf",
"Mode=HTML",
ITEMDATA,
"Name=token", "Value={WCSParam_Diff1}", ENDITEM,
"Name=sendDocumentId", "Value={shenh}", ENDITEM,
"Name=version", "Value=1", ENDITEM,
"Name=remarks", "Value=", ENDITEM,
"Name=result", "Value=同意", ENDITEM,
"Name=opinion", "Value=", ENDITEM,
"Name=isMainPage", "Value=true", ENDITEM,
"Name=_Action_Button_Name", "Value=提交", ENDITEM,
LAST);
lr_end_transaction("点击提交", LR_AUTO);
web_url("frame.html_4",
"URL=http://169.254.11.131:9085/mr/core/frame.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/approveSendSheet.do",
"Snapshot=t26.inf",
"Mode=HTML",
LAST);
web_submit_data("listApprovableSendDocumentAction.do_2",
"Action=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/listApprovableSendDocumentAction.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/approveSendSheet.do",
"Snapshot=t27.inf",
"Mode=HTML",
ITEMDATA,
"Name=isMainPage", "Value=true", ENDITEM,
"Name=_Action_Button_Name", "Value=返回", ENDITEM,
EXTRARES,
"URL=../images/hbg.jpg", ENDITEM,
LAST);
web_url("frame.html_5",
"URL=http://169.254.11.131:9085/mr/core/frame.html",
"Resource=0",
"RecContentType=text/html",
"Referer=http://169.254.11.131:9085/mr/lmss_marketing_sendmanage/listApprovableSendDocumentAction.do",
"Snapshot=t28.inf",
"Mode=HTML",
LAST);
return 0;
} 上面是具体的脚本,请帮忙看看为什么在脚本controller运行的时候会报错,但是在单独运行的时候则是ok的
脚本运行时总是报找不到关联,出现以下的错误提示该如何处理
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
同时也会出现这个错误
Error -27782: Timeout (1000 seconds) exceeded while waiting to receive data for URL "http://169.254.11.131:9085/mr/login.do" 还是说controller中有什么需要设置的地方,我没有设置导致了这样的错误发生 我也遇到同样的问题 你的关联函数呢? 楼主,问题解决了么?
页:
[1]