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 LikedSort ByMost LikedOldestNewestSmartBear_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 DiscussionsSoapui equivalent for curl -F (multipart/form-data)REST MockService: mockRequest.requestContent is null for PATCHShared workspace
Related ContentRegular expression XML tags in Contains AssertionContains assertionContains assertion with option "Use Token as regular expression" not working