蚕丝被真假辨别:LR手动关联问题
来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 09:46:17
对登录中,Session做关联,试过很多网上的情况,为什么还是提示下面信息:
vuser_init.c(57): Error -26377: No match found for the requested parameter "login". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 9999 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(57): web_submit_data("login.pl_2") highest severity level was "ERROR", 748 body bytes, 225 header bytes [MsgId: MMSG-26388]
附录代码如下:
vuser_init()
{
web_url("mercuryWebTours",
"URL=http://127.0.0.1:1080/mercuryWebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_url("mercuryWebTours_2",
"URL=http://127.0.0.1:1080/mercuryWebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
lr_think_time(4);
web_submit_form("login.pl",
"Snapshot=t3.inf",
ITEMDATA,
"Name=username", "Value=tsj", ENDITEM,
"Name=password", "Value=tsj", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
//读取登录用户相关信息,和后面的订票确认相关联
//此过程通过切换树形目录下,读取server response获得
web_set_max_html_param_len("9999");
web_reg_save_param("login",
"LB/IC=userSession=",
"RB/IC=&username=",
"Ord=All",
"NotFound=ERROR",
"RelFrameId=1",
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={login}", ENDITEM,
"Name=username", "Value=tsj", ENDITEM,
"Name=password", "Value=tsj", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
return 0;
}
web_reg_save_param("login",
"LB/IC=userSession=",
"RB/IC=&username=",
"Ord=All",
"NotFound=ERROR",
"RelFrameId=1",
LAST);
放的位置不对,应该放在登录功能前面,看来你还没明白关联的意思。
vuser_init.c(57): Error -26377: No match found for the requested parameter "login". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 9999 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
vuser_init.c(57): web_submit_data("login.pl_2") highest severity level was "ERROR", 748 body bytes, 225 header bytes [MsgId: MMSG-26388]
附录代码如下:
vuser_init()
{
web_url("mercuryWebTours",
"URL=http://127.0.0.1:1080/mercuryWebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_url("mercuryWebTours_2",
"URL=http://127.0.0.1:1080/mercuryWebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t2.inf",
"Mode=HTML",
LAST);
lr_think_time(4);
web_submit_form("login.pl",
"Snapshot=t3.inf",
ITEMDATA,
"Name=username", "Value=tsj", ENDITEM,
"Name=password", "Value=tsj", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
//读取登录用户相关信息,和后面的订票确认相关联
//此过程通过切换树形目录下,读取server response获得
web_set_max_html_param_len("9999");
web_reg_save_param("login",
"LB/IC=userSession=",
"RB/IC=&username=",
"Ord=All",
"NotFound=ERROR",
"RelFrameId=1",
LAST);
web_submit_data("login.pl_2",
"Action=http://127.0.0.1:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={login}", ENDITEM,
"Name=username", "Value=tsj", ENDITEM,
"Name=password", "Value=tsj", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
return 0;
}
- wolma
- 等 级:
web_reg_save_param("login",
"LB/IC=userSession=",
"RB/IC=&username=",
"Ord=All",
"NotFound=ERROR",
"RelFrameId=1",
LAST);
放的位置不对,应该放在登录功能前面,看来你还没明白关联的意思。
LR手动关联问题
酒桌上LR
WR、LR
关于酒类生产企业利用关联企业间关联交易规避消费税问题
关联企业之间资金拆借的涉税问题1
关联方债权性投资利息所得税问题
关于如何填制关联企业资料的问题回答?
LR流程实践
LR验证点
lr测试环境描述:
都市完美丽人LR
财政部 国家税务总局关于企业关联方利息支出税前扣除标准有关税收政策问题的通知
关联方贷款利息支出税前扣除及营业税缴纳问题探析
关联函数
常见关联
关联销售
关联词语
关于调整小额贷款公司主发起人及其关联方持股比例等有关问题的补充通知
返回连接寄存器(LR ) 详解
使用Epiphan VGA2USB LR采集演示幻灯片
使用Epiphan VGA2USB LR采集夜空图像
LR基础学习_脚本信息函数
对联LR(最雷人的学子版!)
手动gost