toddo
8 years agoNew Contributor
Basic test step with regex (regular expression) is not working
I want to start using the test cases for my web services. I created my first one and implemented a very simple regex and it's not working. I know how to use regex and this expression in my attached image works fine when put into other regex tools. But soap ui keeps saying the test is failing as it cannot find a match. Any suggestions? Thanks in advance.
Todd
The Contains Assertion with regular expression seems to assert a match of the entire response message. You can add .* wildcards at the start and end of your specified token as in the online help example.