Hello, I guess I am the only one to ask questions in the this forum I have question about assertions. Below is part of a response from my web services. 2211 CustomGrid_InvalidCustomGridNameFormat
In the response message I expect only ErrorCode-->2211 so I have an XpathMatch assertion for that. However, as you can see in the response above, I got more than one ErrorCode which is not the expected behavior of my web service. There should only have been one error code.
Is there a way I can catch this kind of error through some assertion.
maybe you need a namespace prefix, can you show the entire message? Alternatively, go to the outline editor for the response, right-click on the Error node and select "Add Assertion -> For Count", which should create the correct xpath expression for you.. (see http://www.soapui.org/userguide/functio ... ion_Wizard)