Ferdinand_AliwaOccasional Contributor16 years agosimple contains assertion with regular expression in groovyHi, I am using a soap ui pro. I am having trouble set the contains assertion to regular expression.def b = testRunner.testCase.getTestStepByName("Test1")def ast = b.addAssertion("Contains")ast.setToken("Ferdinand.*Confuse")what should I do next so that the assertion will evaluate it as a regular expression?Thanks,Ferdinand
1 ReplyReplies sorted by Most LikedSmartBear_SuppoAlumni16 years agoHi,the upcoming nightly build will have setter/getter for this property, thanks for noticing.regards!/Oleeviware.com
SmartBear_SuppoAlumni16 years agoHi,the upcoming nightly build will have setter/getter for this property, thanks for noticing.regards!/Oleeviware.com
Recent DiscussionsSoapUI 5.9.1 displays "[]" as "<Empty JSON content>"SoapUI - Apache Commons FileUpload (CVE-2025-48976)(High)Log4j vulnerability (CVE-2025-68161)
Related ContentRegular expression XML tags in Contains AssertionContains assertionContains assertion with option "Use Token as regular expression" not working