51Testing软件测试论坛

标题: 关联错误 [打印本页]

作者: Lm1120    时间: 2017-10-18 10:40
标题: 关联错误
LR部分脚本如下:
web_reg_save_param("count",
                "LB=flowInid",
                "RB=\","
                "ORB=1",
                LAST);
      web_reg_save_param("count2",
                "LB=stepInid",
                "RB=\","
                "ORB=1",
                LAST);
     web_reg_save_param("count3",
                "LB=sys_fileids_hidden",
                "RB=\","
                "ORB=1",
                LAST);
        web_submit_data("FormSend.do",
                "Action=http://10.96.249.158:7001/FlowEngineWeb/workflow/FormSend.do",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://10.96.249.158:7001/FlowEngineWeb/workflow/FormManage.do?flowInid=1033&dealIndx=-1&stepInid=-1&saveFlag=0",
                "Snapshot=t32.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=flowInid", "Value={count}", ENDITEM,
                "Name=stepInid", "Value={count2}", ENDITEM,
                "Name=dealIndx", "Value=0", ENDITEM,
                "Name=sys_flow_assure_step", "Value=", ENDITEM,
                "Name=sys_flow_assure_man", "Value=", ENDITEM,
                "Name=openTerm", "Value=", ENDITEM,
                "Name=dealTerm", "Value=", ENDITEM,
                "Name=sys_fileids_hidden", "Value={count3}", ENDITEM,
                LAST);
错误信息如下:
Action.c(581): Error -26627: HTTP Status-Code=404 (Not Found) for "http://10.96.249.158:7001/FlowEngineWeb/workflow/FormSend.do"          [MsgId: MERR-26627]
Action.c(581): Error -26377: No match found for the requested parameter "count". 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(581): Error -26377: No match found for the requested parameter "count2". 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(581): Error -26377: No match found for the requested parameter "count3". 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(581): web_submit_data("FormSend.do") highest severity level was "ERROR", 2259 body bytes, 148 header bytes          [MsgId: MMSG-26388]

请问此处26627错误以及26377错误怎么解决!
作者: wuxi88    时间: 2017-10-18 14:11
404页面找不到啊,浏览器直接打开网站看下,应该也是404,直接问问开发,为啥404;
至于关联,主要是左右边界的确定。
作者: Lm1120    时间: 2017-10-18 14:53
wuxi88 发表于 2017-10-18 14:11
404页面找不到啊,浏览器直接打开网站看下,应该也是404,直接问问开发,为啥404;
至于关联,主要是左右 ...

是用了两套登录系统,此链接会跳转到登录系统,获取新的用户信息,故此关联参数不能获取到服务器的返回值!
作者: akzjing    时间: 2017-10-18 16:11
你可以利用LR的调试技术设置断点、单步跟踪的方法查找错误。
运行测试脚本,脚本首先会启动浏览器打开测试网站,如果不能就得检查问题出在哪里,是设置问题还是编码问题或者其他原因




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