51Testing软件测试论坛

标题: 关联的问题,请高手看看,多谢。 [打印本页]

作者: fessor21    时间: 2005-8-26 12:50
标题: 关联的问题,请高手看看,多谢。
我录制的脚本部分动态参数关联成功,部分失败,请高手指点啊。

1、手工设置的关联函数:

web_reg_save_param("serialNo",
                "LB/IC=serialNo=",
                "RB/IC=&",
                "Ord=1",
                "Search=Body",
                LAST);

web_reg_save_param("serviceID",
                "LB/IC=serviceID=",
                "RB/IC=&",
                "Ord=1",
                "Search=Body",
                LAST);

web_reg_save_param("nodeID",
                "LB/IC=nodeID=",
                "RB/IC=&",
                "Ord=1",
                "Search=all",
                LAST);


web_reg_save_param("dealID",
                "LB/IC=dealID=",
                "RB/IC=&",
                "Ord=1",
                "Search=Body",
                LAST);
web_reg_save_param("skillID",
                "LB/IC=skillID=",
                "RB/IC=&",
                "Ord=1",
                "Search=Body",
                LAST);

2、关联应用在脚本中:

"URL=http://10.72.9.90:8110/iwflow/FindJspID.jsp?serialNo={serialNo}&serviceID={serviceID}&nodeID={nodeID}&dealID={dealID}&hisFlag=0&skillID={skillID}&",

3、其中前两个参数serialNo 和serviceID 没有报错,后面几个就报错了。

错误信息:

Action.c(672): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(679): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(686): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(694): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(700): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(707): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(714): Registering web_reg_save_param was successful          [MsgId: MMSG-26390]
Action.c(721): Error -26377: No match found for the requested parameter "nodeID". 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]
Action.c(721): Error -26377: No match found for the requested parameter "dealID". 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]
Action.c(721): Error -26377: No match found for the requested parameter "skillID". 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]
Action.c(721): web_url("FindJspID.jsp") highest severity level was "ERROR", 23028 body bytes, 141 header bytes          [MsgId: MMSG-26388]
Action.c(721): Notify: Transaction "打开工单" ended with "Fail" status (Duration: 0.2597 Wasted Time: 0.0006).
作者: faye    时间: 2005-8-30 17:36
错误提示是没有找到参数所在的位置。原因有很多:
1.参数值的字符数过多,按提示要使用web_set_max_html_param_len (我没用过)
2.参数search的页面不对
3.属性值不对。要根据实际情况看了

by the way.我前阵子也是被工单流转的程序折腾惨了。经研究想取其中某个参数基本无望,因为只有一个页面能取到,而那个页面是个列表。。。。。本来准备从数据库取,因为项目原因暂停了。所以嘛。。。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2