|
迭代问题:如迭代二次,第一次可以,第二次不行.迭代四次,第一三次可以,二四次不行.就是奇数可以,偶数不行.
我的登录系统和退出系统写在INIT 和 END脚本里面,只对ACTION里面的内容进行迭代.
我有把运行时设置里面的:simulate a new user on each iteration这个选项屏蔽掉.
我的ACTION里面的动作是一个查询,对查询内容进行参数化,对查询结果进行查看时,有做关联设置.
现在报错信息为:
Action.c(16): Error -26377: No match found for the requested parameter "selectId". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 1024 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(16): Notify: Saving Parameter "selectId = "
Action.c(16): web_submit_data("Querycondition.jsf") highest severity level was "ERROR", 32283 body bytes, 2195 header bytes, 180 chunking overhead bytes [MsgId: MMSG-26387]
A
ACTION内容为:
#include "web_api.h"
Action()
{
lr_start_transaction("客户经理_查询");
web_reg_save_param("selectId",
"LB=<input type=\"radio\" name=\"managerSelect\" value=\"",
"RB=\" />",
"Ord=1",
"RelFrameId=1",
"Search=Body",
LAST);
web_submit_data("Querycondition.jsf",
"Action=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Querycondition.jsf",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://clpm.ccb.com:2222/clpmapp/myjob.jsf",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=body:queryform:customerName", "Value={customerName}", ENDITEM,
"Name=body:queryform:_id31", "Value=210", ENDITEM,
"Name=body:queryform:certificateNumber", "Value=", ENDITEM,
"Name=body:queryform:customerNumber", "Value=", ENDITEM,
"Name=body:queryform:_id38", "Value=确 认", ENDITEM,
"Name=body:queryform_SUBMIT", "Value=1", ENDITEM,
"Name=autoScroll", "Value=", ENDITEM,
"Name=body:queryform:_link_hidden_", "Value=", ENDITEM,
EXTRARES,
"URL=/clpmapp/images/menubg2.gif", ENDITEM,
"URL=/clpmapp/images/help.gif", ENDITEM,
"URL=/clpmapp/images/bottom.gif", ENDITEM,
"URL=/clpmapp/images/copyright_bg.jpg", ENDITEM,
"URL=/clpmapp/images/sor_header.jpg", ENDITEM,
"URL=/clpmapp/images/loadingdata.gif", ENDITEM,
LAST);
lr_end_transaction("客户经理_查询", LR_AUTO);
lr_think_time(2);
lr_start_transaction("客户经理_查看");
web_submit_data("Customerinfolist.jsf",
"Action=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Querycondition.jsf",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=managerSelect", "Value={selectId}", ENDITEM,
"Name=body:creationForm:_id55", "Value=查 看", ENDITEM,
"Name=body:creationForm_SUBMIT", "Value=1", ENDITEM,
"Name=autoScroll", "Value=", ENDITEM,
"Name=body:creationForm:_link_hidden_", "Value=", ENDITEM,
LAST);
web_url("CustomerInfo_klkoi.jsf",
"URL=http://clpm.ccb.com:2222/clpmapp/customer/customerbaseinfo/CustomerInfo_Corporation2.jsf?",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"URL=/clpmapp/images/loadingdata.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customerbaseinfo/CustomerInfo_Corporation2.jsf?1258445427042", ENDITEM,
"URL=/clpmapp/images/bottom.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customerbaseinfo/CustomerInfo_Corporation2.jsf?1258445427042", ENDITEM,
LAST);
web_find("web_find",
"What=客户编号",
LAST);
lr_end_transaction("客户经理_查看", LR_AUTO);
lr_think_time(2);
web_url("Customerinfolist.jsf_2",
"URL=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Querycondition.jsf",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"URL=/clpmapp/images/menubg2.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
"URL=/clpmapp/images/help.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
"URL=/clpmapp/images/bottom.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
"URL=/clpmapp/images/copyright_bg.jpg", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
"URL=/clpmapp/images/sor_header.jpg", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
"URL=/clpmapp/images/loadingdata.gif", "Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258445395802", ENDITEM,
LAST);
lr_think_time( 4 );
lr_start_transaction("客户经理_我的工作");
web_submit_data("Customerinfolist.jsf_3",
"Action=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://clpm.ccb.com:2222/clpmapp/customer/customercreation/Customerinfolist.jsf?1258503960633",
"Snapshot=t17.inf",
"Mode=HTML",
ITEMDATA,
"Name=autoScroll", "Value=0,0", ENDITEM,
"Name=jscook_action", "Value=", ENDITEM,
"Name=linkDummyForm:_link_hidden_", "Value=header:_id14", ENDITEM,
EXTRARES,
"Url=/clpmapp/images/menubg2.gif", ENDITEM,
"Url=/clpmapp/images/help.gif", ENDITEM,
"Url=/clpmapp/images/sor_header.jpg", ENDITEM,
"Url=/clpmapp/images/copyright_bg.jpg", ENDITEM,
LAST);
lr_end_transaction("客户经理_我的工作", LR_AUTO);
lr_think_time(1);
return 0;
} |
|