From the Documentation:
If you choose to process all the matched occurrences, the following variables are automatically created:
<VariableName>_matchNr - the number of occurrences found; can be 0.
<VariableName>_n, where n = 1,2,3 and so on. - the strings as generated by the value template.
<VariableName>_n_gm, where m=0,1,2 - the groups matching n
<VariableName> - always attached to the default value
<VariableName>_rand, random string from generated strings
<VariableName>_rand_gm, where m=0,1,2 - the groups matching rand
I have a list like this:
And I think a group would be the best, because the values are pairs, which are needed together. But how do I tell Neoload to build groups while extracting all occurrences. Is there a special key I can provide to the pattern?
The regular expression right now is:
The pattern is: $2$$4$
But I get only one list with all of them sequentially.
Like Param_1 = ""
I'd want to have
(Not sure if I put the right way, as I not tried, but I hope it becomes clear, where I want to go)
Any hints welcome. I'm sure I did that already, but I don't find it. (nice feature btw.)
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 template).
I try your example and it works fine using the regular expression:
and the groups 1 and 3 (Param_n_g1 and Param_n_g3).
How do I activate the group feature? This is what I don't find.
It should work with my regex as well with g2 and g4 if I understand right, and my regex focuses better on the data. Your regex just gets to much of the rest of the page.