Hello,
In the regex Jmeter component, I have a problem when the expression has both the AND variable and the literal '$'. He always comes back as a failure. When I replace a variable with a hard-coded value, it works fine. I checked that the variable returns the expected value in the previous call.
Expression failed: (variable and letter '$')
<option value="${variable}".+?>\$(.+?)</option>
Working version: (no variable)
<option value="1".+?>\$(.+?)</option>
Alternatively, if I delete the literal '$', it works.
Alt Working expression: (variable, not literal '$')
<option value="${variable}".+?>(.+?)</option>
Thoughts?
source share