Hello,
Can you think of a way to assert that something is matched in document on
the exact x match?
I have:
1. variableToMatch - its numeric
2. samplerToAssert - response matches ${variableToMatch} pattern several
times, an assertion without regex will also pass easily, but it is more
important to test that is on the exact match-position no. 2, 3, 4 etc on
various repetitions.
How would you assert this?
My alternative is to add a sampler after that that I'm interested in and
test if variableToMatch equals a regex on the exact same position I predict,
but preferably I want samplerToAssert to fail.
Suggestions?
Thanks,
Adrian