左右边界:提取第一个id
web_reg_save_param_ex(
"ParamName=Id",
"LB=//OK[1,\[\"",
"RB=\"\],0,7\]",
SEARCH_FILTERS,
LAST);
左右边界,提取最后一个Ordinal=LAST id
web_reg_save_param_ex(
"ParamName=Id",
"LB=49,0,48,\"",
"RB=\",10,47",
SEARCH_FILTERS,
"Scope=Body",
"Ordinal=LAST",
LAST);
左右边界 提取所有的Ordinal=all ,后面用id_1 id_2 参数
web_reg_save_param_ex(
"ParamName=id",
"LB=18,0,77,\"",
"RB/RE=\",10,15,",
SEARCH_FILTERS,
"Scope=Body",
"Ordinal=all",
LAST);
正则提取返回动态的不定位置的 id 0,83~87之间 还可以写 | 或者 如:0,8[3-7] |0,9[6-9] 表示0,83~87之间或者0,96~99之间
web_reg_save_param_ex(
"ParamName=id",
"LB/RE=0,8[3-7],\"",
"RB=\",",
SEARCH_FILTERS,
"Scope=Body",
"Ordinal=all",
LAST);
标签:Ordinal,web,LAST,入门,loadrunner,关联,ex,ParamName,id From: https://www.cnblogs.com/wx921308494/p/16734779.html