TA的每日心情 | 奋斗 2015-10-30 19:48 |
---|
签到天数: 18 天 连续签到: 1 天 [LV.4]测试营长
|
本帖最后由 testingstudying 于 2015-8-26 19:13 编辑
LR中用订单号关联一直报未找到,log中的关联参数值是空的,页面返回的信息见截图,脚本中的关联语句如下:
//Correlation comment - Do not change! Original value='DRI2015081502722738' Name ='CorrelationParameter_2'
web_reg_save_param_ex(
"ParamName=CorrelationParameter_2",
"LB=qbbOrderNo\" value=\"",
"RB=\"/>\r\n <input type",
"Ordinal=5",
SEARCH_FILTERS,
"Scope=Body",
"IgnoreRedirections=Yes",
//"RequestUrl=*/chooseBank2Pay.html*",
LAST);
web_submit_data("chooseBank2Pay.html",
"Action=http://www.qianxsyl.com/mrMoney/portal/chooseBank/chooseBank2Pay.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://www.qianxsyl.com/mrMoney/portal/Product/prodDetailPageV5/pid=FB0000279629.html",
"Snapshot=t4.inf",
"Mode=HTML",
ITEMDATA,
"Name=recommendPid", "Value=", ENDITEM,
"Name=isSendNotify", "Value=1", ENDITEM,
"Name=tranType", "Value=01", ENDITEM,
"Name=investMoney", "Value=50000", ENDITEM,
"Name=pid", "Value=FB0000279629", ENDITEM,
"Name=channel", "Value=01", ENDITEM,
EXTRARES,
"URL=/static/static_img/images_home/icons.png", ENDITEM,
"URL=/static/static_img/images_pay/icon1.png", ENDITEM,
"URL=/static/static_img/images_pay/pay_checkbox.png", ENDITEM,
"URL=/static/static_img/images_wap/button/center.png", ENDITEM,
"URL=/static/static_img/images_n1/tab-1.png", ENDITEM,
"URL=/static/static_img/images_n/unable.png", ENDITEM,
"URL=/static/static_img/images_n/nextStep.png", ENDITEM,
"URL=/static/static_img/images_pay/icon0.png", ENDITEM,
LAST);
lr_output_message("关联数据:%s", lr_eval_string("{CorrelationParameter_2}"));
lr_start_transaction("goumai");
lr_think_time(7);
web_submit_data("useQbb2Buy.html",
"Action=http://www.qianxsyl.com/mrMoney/portal/payOrder/useQbb2Buy.html",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://www.qianxsyl.com/mrMoney/portal/chooseBank/chooseBank2Pay.html",
"Snapshot=t5.inf",
"Mode=HTML",
ITEMDATA,
"Name=qbbOrderNo", "Value={CorrelationParameter_2}", ENDITEM,
"Name=qbbMid", "Value=", ENDITEM,
"Name=qbbInvestMoney", "Value=50000", ENDITEM,
"Name=qbbPid", "Value=FB0000279629", ENDITEM,
"Name=qbbToken", "Value=57cde484-13c6-4e95-8751-fcd524ac8327", ENDITEM,
"Name=recommendPid", "Value=", ENDITEM,
"Name=isSendNotify", "Value=1", ENDITEM,
"Name=isNewBuyer", "Value=00", ENDITEM,
"Name=storeOrBuy", "Value=", ENDITEM,
"Name=isAppointmentAct", "Value=", ENDITEM,
EXTRARES,
"URL=/static/static_img/images_v4/button_buy.png", ENDITEM,
"URL=http://hm.baidu.com/h.js?6b57abce4620ce20074f6620052c91a0", ENDITEM,
"URL=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=32-bit&ds=1920x1080&ep=39321%2C39320&et=3&fl=18.0&ja=1&ln=zh-cn&lo=0<=1440578575&nv=0&rnd=795991397&si=6b57abce4620ce20074f6620052c91a0&st=4&v=1.1.2&lv=3&tt=%E9%92%B1%E5%85%88%E7%94%9F%E7%90%86%E8%B4%A2-%E5%AE%89%E5%85%A8%20%E9%80%8F%E6%98%8E%20%E7%B2%BE%E5%87%86&u=http%3A%2F%2Fwww.qianxsyl.com%2FmrMoney%2Fportal%2FProduct%2FprodDetailPageV5%2Fpid%3DFB0000279629.html%23here", ENDITEM,
"URL=http://hm.baidu.com/hm.gif?cc=1&ck=1&cl=32-bit&ds=1920x1080&et=0&fl=18.0&ja=1&ln=zh-cn&lo=0<=1440578575&nv=0&rnd=2132184411&si=6b57abce4620ce20074f6620052c91a0&st=4&su=http%3A%2F%2Fwww.qianxsyl.com%2FmrMoney%2Fportal%2FchooseBank%2FchooseBank2Pay.html&v=1.1.2&lv=3", ENDITEM,
LAST);
lr_end_transaction("goumai", LR_AUTO);报错信息如下:
Action.c(83): Error -26377: No match found for the requested parameter "CorrelationParameter_2". 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(83): Notify: Saving Parameter "CorrelationParameter_2 = ".
Action.c(83): web_submit_data("chooseBank2Pay.html") highest severity level was "ERROR", 74059 body bytes, 4706 header bytes [MsgId: MMSG-26388]
|
|