https://bz.apache.org/bugzilla/show_bug.cgi?id=63432
Bug ID: 63432
Summary: Unable to use variable inside __regexFunction to
correlate dynamic value
Product: JMeter
Version: 5.1.1
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.1.1
Hi All,
I'm trying to correlate using __regexFunction
${__regexFunction(<ABC>(.*?)</ABC>,$1$,1,,STATUS NOT FOUND,test,)}; and it
works fine.
While i try to save left and right boundary in some variable as shown in below
code and pass inside the function, it returns null value.
String LB="<ABC>";
String RB="</ABC";
vars.put("Value",LB +"(.*?)" +RB);
${__regexFunction(vars.get("Value"),$1$,1,,,test,)};
Any help/suggestions?
Thanks in advance!
--
You are receiving this mail because:
You are the assignee for the bug.