Forum Discussion
ohaya
2 years agoContributor
I think I found the answer.
Apparently, "When using regular expressions in an assertion in SoapUI, you have to take whitespace and line breaks into account. In the example code (?s).* works as a wildcard that includes all whitespace and line breaks."
The following Contains assertion (with regex checkbox checked) seems to work:
((?s).*Deny(?s).*)|((?s).*Permit(?s).*)
Thanks,
Jim