We are using Soap-UI for writing some web-services tests.
I put this XPath validation in one of them:
count(//mynode) > 1
This is working fine while executing from SOAP-UI software, but when the continuous integration (jenkins) execute it through the Maven Soap-UI plugin, I receive this error:
[XPath Match] junit/framework/ComparisonFailure
I guess there is a missing library somewhere but cannot figure what to do.
What is strange is that I do not refers any jUnit tests as I just call URL’s of web-services.
Finally I found that there is a junit dependency to add with the help of this thread
Here is the dependency I had to add in my pom.xml file:
For the maven-soapui-plugin.
The whole config will looks like: