I have tried to put input\s+name=”authenticity_token”\s+type=”hidden”\s+value=”(.*?)”\s*\
in Jmeter's Regular Expression Extractor
but that is not helping and test fails. For Template
I kept $1$
always.
On viewing source of page it was written like this:
<input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="OzzoQsvruAetQAiAMj5Mh4L730w0PUxzoALcgT3dI+o=" />
Based on above, how should I write contents for Regualr Expression Extractor
Please see pic below:
Its Ruby on Rails application