|
本帖最后由 lx2610 于 2014-12-24 23:46 编辑
描述:
下面这个链接的TicketRing后面部分是动态的,用户账户登陆系统后,会产生一个TicketRing,这个558866是用户ID,后面那一截是随机返回的
([url]http://home.hnteacher.net/default.aspx?TicketRing=558866-90bdd24d-3270-4bd9-a38b-80199b6dbce2[/url])
脚本:
web_reg_save_param_ex(
"ParamName=P_TicketRing",
"LB=Message\":\"",
"RB=\"",
"Ordinal=1",
SEARCH_FILTERS,
LAST);
lr_rendezvous("class");
lr_start_transaction("class");
web_url("GetTicketRing.ashx",
"URL=http://home.hnteacher.net/Tools/GetTicketRing.ashx?ViewUserID={C_ID}&TrainAppID=100001&mark=21",
"Resource=0",
"RecContentType=text/html",
"Referer=http://home.hnteacher.net/default.aspx?ID={C_ID}",
"Snapshot=t9.inf",
"Mode=HTML",
LAST);
web_url("ClassPortal.aspx",
//"URL=http://training.hnteacher.net/Elearning/ClassPortal/ClassPortal.aspx?CLASS_ID=4300000000c9e&TicketRing={C_ID}-aa3b3035-8a71-4aec-b493-326b8ae80dc3",
"URL=http://training.hnteacher.net/Elearning/ClassPortal/ClassPortal.aspx?CLASS_ID=4300000000c9e&TicketRing={P_TicketRing}",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t10.inf",
"Mode=HTML",
EXTRARES,
"URL=../Elearning/images/nav-bg.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/bg-bottom.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/bg-center.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/bg-top.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/cz.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/bg.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/bg2.jpg", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/ico-1.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/menu-active.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/content-center.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/ico-2.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/sub-nav-bg.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/content-bottom.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/footer.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/content-top.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Index.aspx", ENDITEM,
"URL=../Elearning/images/title-bg.png", "Referer=http://training.hnteacher.net/Elearning/Elearning/ZS_Right.aspx", ENDITEM,
LAST);
结果:就是第一次迭代运行完,Test Results 查看TicketRing关联返回是正常的,迭代第二次运行完,TicketRing后面部分就是一些乱码,请问这个关联该怎么处理啊?,请大家指点下。
(对手动关联函数不是很了解,自动关联扫描不到)?
附件:
正常:
错误:
新手第一次发帖,刚学习lr,不知道写清楚了没。
|
|