LoadRunner 怎么抓取随机的值
// Parameter {WCSParam_Diff1} created by Correlation Studioweb_set_max_html_param_len("1024");
web_reg_save_param( "WCSParam_Diff1", "LB=life/", "RB=/", "Ord=3", "Search=Body", "RelFrameId=1.2", LAST );
web_url("3968998",
"URL=http://172.16.28.4/life/servlet/com.ebao.life.ps.wizard.changerecordentry.ChangeRecordEntryServlet?saction=ENTRYFRAME&change_id=3968998",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://172.16.28.4/life/servlet/com.ebao.life.ps.wizard.entry.PSEntryServlet?saction=POLICY_QUERY&service_id=0&apply_code=&change_id=&policy_code=000345254227008&handler_code=&handler_code_desc=&handler_id=-1&organ_id=&change_status=-2&image_status=-1&input_date_1=&input_date_2=",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
我已经在脚本中用web_reg_save_param( "WCSParam_Diff1", "LB=life/", "RB=/", "Ord=3", "Search=Body", "RelFrameId=1.2", LAST );做了自动关联,因为web_url("3968998"中的3968998是个变量,在脚本回跑时,就回报not found的错。
谁能推荐方法解决这个问题啊? 是不是改为
ORD=1
Search=Body
改成Search=All试试看 显然应该把3968998关联了。 原帖由 Zee 于 2009-4-23 09:43 发表 http://bbs.51testing.com/images/common/back.gif显然应该把3968998关联了。
关联3968998 试试 有结果了没,楼主? 我觉得是你这个url在回放时没法访问了,或者是对于这种直接发出的请求不返回正确的结果。
页:
[1]