Contributions
Re: Using wildcards in Contains Assertion
Thanks Paul This also looks like a good solution. I think looking at the way these work that using the Xpath should be simplest way forward as the missing variables are not what I am testing. Reading up on the RegEx use, it looks like that wouldbe particularly useful if I need to verify the data type that would be in the variable. So thank you both, you have been a great help. Ed5.3KViews0likes0CommentsUsing wildcards in Contains Assertion
Hi all I am brand new to SoapUI and am trying to start with some basic coverage. The problem I am currently having is I am trying to assert the contents of an XML response but it contains data that varies. I had hoped I could use a wildcard to ignore the relevant section of the response but I can't see how I can do this. Here is an example of the content I am trying to assert: <option id="1" bid="1" rv="2" desc="Standard cover" monthly="£10.00" annual="£120.00">No</option> <option id="2" bid="1" rv="2" desc="Bettercover" monthly="£20.00" annual="£240.00">Yes</option> The premium is what varies, I need to assert what comes before and after it in a single assert (I need to tie the Yes/No together with the option ID). Can this be done? Any help you can provide would be much appreciated. Cheers EdSolved5.4KViews0likes4Comments