|
使用LOADRUNNER的录制的脚本如下:
web_url("PayMoneyInput.jsp",
"URL=http://135.64.132.7:8000/BillWeb/billing/accountspay/PayMoneyInput.jsp?checkbody=1&sid=06c4bee9569f98c4d0531b503004bf0941d859f8d5b67829",
"Resource=0",
"RecContentType=text/html",
"Referer=http://135.64.132.7:8000/CspWeb/index_down.jsp?sid=cd71e9a4a5bb9e143dbf0ea6779727f72b762b385a652c6e&url=http://135.64.132.7:8000/CspWeb/csp/integrateAccept/custManage/selectCustomer.do$sid=cd71e9a4a5bb9e143dbf0ea6779727f72b762b385a652c6e@TYDICRANDOM=20089118390.5742607830492655&target=mm_01",
"Snapshot=t103.inf",
"Mode=HTML",
LAST);
红色部分是需要做关联的地方,手动关联后的脚本如下:
web_reg_save_param("WCSParam_Dif2",
"LB=sid=",
"RB=\"",
"Ord=1",
"RelFrameId=1",
"Search=Body",
LAST);
web_url("PayMoneyInput.jsp",
"URL=http://135.64.132.7:8000/BillWeb/billing/accountspay/PayMoneyInput.jsp?checkbody=1&sid={WCSParam_Dif2}",
"Resource=0",
"RecContentType=text/html",
"Referer=http://135.64.132.7:8000/CspWeb/index_down.jsp?sid=cd71e9a4a5bb9e143dbf0ea6779727f72b762b385a652c6e&url=http://135.64.132.7:8000/CspWeb/csp/integrateAccept/custManage/selectCustomer.do$sid=cd71e9a4a5bb9e143dbf0ea6779727f72b762b385a652c6e@TYDICRANDOM=20089118390.5742607830492655&target=mm_01",
"Snapshot=t103.inf",
"Mode=HTML",
LAST);
但是关联系后在回放是报错;
Action.c(17): Continuing after Error -26377: No match found for the requested parameter "WCSParam_Dif2". 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
有谁遇到过这样的问题.帮个忙 |
|