I have a json response like below
So how to give the regex expression for the above response. Whatever I give I get a
Unknown character proeprty/ Some repetition error
Solved! Go to Solution.
@Jibu ,
Not sure what regex do you like to apply.
For instance, checking if all property values contains digits only for the given property.
Also, taking array to see with both passing and failing values.
Here is the script (text) with complete comments.
https://github.com/nmrao/soapUIGroovyScripts/tree/master/groovy/ValidateJsonPropertyWithRegex.groovy
@Jibu ,
Not sure what regex do you like to apply.
For instance, checking if all property values contains digits only for the given property.
Also, taking array to see with both passing and failing values.
Here is the script (text) with complete comments.
https://github.com/nmrao/soapUIGroovyScripts/tree/master/groovy/ValidateJsonPropertyWithRegex.groovy
Subject | Author | Latest Post |
---|---|---|