|
脚本编写的时候,我用web_reg_save_param("organ", "LB=", "RB=", "ORD=1", LAST);取得输出:
<?xml version="1.0" encoding="UTF-8" ?><ContractMasterInfo><Count>1</Count><ContractMaster><PolicyCode>000034211653008</PolicyCode><SendCode>000034211674001</SendCode><PolicyType>1</PolicyType><PolicyTypeDesc>涓櫓</PolicyTypeDesc><PolicyID>6899119</PolicyID><MoneyID>1</MoneyID><MoneyDesc>浜烘皯甯?/MoneyDesc><AgentID>3366016</AgentID><AgentCode>1042001015296</AgentCode><AgentName><![CDATA[鏉庢儬鍗嶿]></AgentName><LiabilityState>1</LiabilityState><PauseCause>null</PauseCause><SuspendCause>null</SuspendCause><Suspend>N</Suspend><HeadID>1</HeadID><BranchID>1042</BranchID><OrganID>1042001</OrganID><DeptID>1042001212016002</DeptID><PayMode>3</PayMode><AgencyCode>null</AgencyCode><AgencyHand>null</AgencyHand><PremStatus>1</PremStatus><IsShort>N</IsShort></ContractMaster></ContractMasterInfo>
然后我根据输出,我设置了关联,取值语句:web_reg_save_param("organ_id", "LB=OrganID>", "RB=<", "ORD=1", LAST);
同时在后续添加脚本:
lr_output_message("%s========",lr_eval_string("{organ}"));
lr_output_message("organ_id=%s",lr_eval_string("{organ_id}"));
在回放的时候,输出了organ_id=1042001,即可获得取值。
可是在压力负载测试的时候,去报了很多错误,如下:
Error -26377: No match found for the requested parameter "organ_id". 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 [MsgId: MERR-26377]
这是什么原因导致的,请高手给指点一下。
|
|
|