Ferdinand_AliwaOccasional Contributor17 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_SuppoAlumni17 years agoHi,the upcoming nightly build will have setter/getter for this property, thanks for noticing.regards!/Oleeviware.com
SmartBear_SuppoAlumni17 years agoHi,the upcoming nightly build will have setter/getter for this property, thanks for noticing.regards!/Oleeviware.com
Recent DiscussionsSignature\Encryption tags missing in Security HeaderCVE-2024-7565 and CVE-2017-16670 vulnabilitiesVulnerabilities found in SoapUI 5.9.1
Related ContentRegular expression XML tags in Contains AssertionContains assertionContains assertion with option "Use Token as regular expression" not working