13 years ago
TestRunner Issue
I am having trouble getting test runner to not fail all the tests. Here is the situation. I hae a project that has several test suites in it. THis is a general smoke test for a group of web services. ...
I am having the same issue. I'm evaluating SoapUI 5.2.0 (open source). TestRunner works fine when launched from within SoapUI, but fails every test when run from a JUnit test using SoapUITestCaseRunner. Below are 2 types of errors that I'm seeing over and over (XML elements have been changed to protect the innocent):
XPathContains assertion:
[VerifyStatusCode] XPathContains assertion failed for path [//getThisInfo/statusCode] : RuntimeException: Trying XBeans path engine... Trying XQRL... Trying delegated path engine... FAILED on //getThisInfo/statusCode
Script Assertion:
[AssertThisInRequest] Trying XBeans path engine... Trying XQRL... Trying delegated path engine... FAILED on //thisData/thisDto/thatId
The code I'm using is identical to that found on SoapUI Test Automation. Any help is appreciated. I wouldn't be opposed to asking my company to purchase a Pro license if it would fix TestRunner issues in JUnit and/or Maven tests. By the way, I can run TestRunner in a bat file and it works as it would if launched within SoapUI. Hope this helps.
Thanks.