I am getting response from Jmeter like this:
<input type="hidden" id="queueItemId" name="queueItemId" value="3256"/>
I wanted to get value 3256 from this and store it in a variable. Then i can use this variable further use like ${variable}
.
For this i am using RegularExpressionExtractor
in scope of the Sampler.
Please give me the regular expression to extract this value.
The following regular expression will match the parameter and its value:
The parentheses enable extraction of the value. Note the word boundary
\b
which makes sure a parameter ending withencounterId
such asfooencounterId
is not matched.Try something like:
and use group 1 as the result.