From the Documentation:
If you choose to process all the matched occurrences, the following variables are automatically created:
<VariableName>_matchNr - the number of...
When you use the group feature, the template is not used.
In your case, you can use "Param_3_g2" to get the content of the second group of your regular expression (whatever the...
You can get a variable value (both defined variables and runtime variables) using this javascript line:
var myVar = context.variableManager.getValue("myVar");
Using this script...
This question already has an answer here:
How do I save values and write them to an external file during a load test?
Thanks to let us know if it meets your needs.