51Testing软件测试论坛
标题:
lr_paramarr_random("fid")为什么每次随机取得值都一样
[打印本页]
作者:
y2907818
时间:
2016-9-9 00:28
标题:
lr_paramarr_random("fid")为什么每次随机取得值都一样
每次取的fid_id都是40,浏览器缓存啥的都清了,是不是还有哪里的缓存没清?
web_reg_save_param("fid",
"LB=forumdisplay&fid=",
"RB=\"><img ",
"Ord=all",
LAST);
web_url("forum.php",
"URL=http://192.168.19.129/discuz/forum.php",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=static/image/common/switch_width.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=home.php?mod=misc&ac=sendmail&rand=1473300230", ENDITEM,
"Url=template/calms_pks/style/img/search.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=static/image/common/newarow.gif", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=static/image/common/px.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=static/image/common/pn.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=template/calms_pks/style/img/logo.png", ENDITEM,
"Url=static/image/common/pt_item.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
"Url=static/image/common/chart.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_forum_index.css?wIF", ENDITEM,
"Url=static/image/common/scrolltop.png", "Referer=http://192.168.19.129/discuz/data/cache/style_3_common.css?wIF", ENDITEM,
LAST);
lr_save_string(lr_paramarr_random("fid"),"fid_id");
lr_output_message(lr_eval_string("{fid_id}"));
日志:
Action.c(12): Notify: Saving Parameter "fid_1 = 37".
Action.c(12): Notify: Saving Parameter "fid_2 = 38".
Action.c(12): Notify: Saving Parameter "fid_3 = 39".
Action.c(12): Notify: Saving Parameter "fid_4 = 40".
Action.c(12): Notify: Saving Parameter "fid_5 = 41".
Action.c(12): Notify: Saving Parameter "fid_count = 5".
Action.c(12): web_url("forum.php") highest severity level was "warning", 18442 body bytes, 1492 header bytes, 13 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(34): Notify: Parameter Substitution: parameter "fid_count" = "5"
Action.c(34): Notify: Parameter Substitution: parameter "fid_4" = "40"
Action.c(34): Notify: Saving Parameter "fid_id = 40".
Action.c(37): Notify: Parameter Substitution: parameter "fid_id" = "40"
作者:
y2907818
时间:
2016-9-10 11:42
有没有知道的?
作者:
梦想家
时间:
2016-9-12 11:16
是不是第一个取fid-4,然后就fid-id=fid-4 了
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2