Webinjection test Issue/Question
Posted: Wed Apr 03, 2019 1:16 pm
Hello all,
I need to create (and see if it can be done) some kind of pattern that match a numerical value to be greater than a specific number... can this be done with regex or something else?
In here http://www.webinject.org/manual.html#tcparamverpos it says:
verifypositive
String in response for positive verification. Verification fails if this string does not exist in the HTTP response. This is matched as a Perl regular expression, so you can do some complex verification patterns if you are familar with using regex matching.
Note: Because your verification string is used as a regex, the following characters within it must be escaped with a backslash: {}[]()^$.|*+?\
So overall what I want to do is:
Get XXXX Number in metrics then verify positive if XXXX number is greater than YYYY number.
Thanks!
I need to create (and see if it can be done) some kind of pattern that match a numerical value to be greater than a specific number... can this be done with regex or something else?
In here http://www.webinject.org/manual.html#tcparamverpos it says:
verifypositive
String in response for positive verification. Verification fails if this string does not exist in the HTTP response. This is matched as a Perl regular expression, so you can do some complex verification patterns if you are familar with using regex matching.
Note: Because your verification string is used as a regex, the following characters within it must be escaped with a backslash: {}[]()^$.|*+?\
So overall what I want to do is:
Get XXXX Number in metrics then verify positive if XXXX number is greater than YYYY number.
Thanks!