Forum Discussion
dschulten
6 years agoNew Contributor
in 5.5.0 OSS, if you start soapui.bat, you see lots of errors AutoDiscoveryMethodFactory ClassNotFoundException. Once I deactivated all plugins, mocking with XPath expressions kind of works again.
But both in 5.2.1 and 5.5.0 a problem remains: if the xpath expression does not match, then soap ui returns 500 instead of the default response I have defined, and I see this error in the logs:
2019-05-11 10:30:49,358 ERROR [errorlog] com.eviware.soapui.impl.wsdl.mock.DispatchException: Failed to find MockResponse com.eviware.soapui.impl.wsdl.mock.DispatchException: Failed to find MockResponse at com.eviware.soapui.impl.wsdl.mock.WsdlMockOperation.dispatchRequest(WsdlMockOperation.java:205) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:218) at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:113) at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:142) at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:604) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
I would expect that SoapUI returns the default response instead of 500.
Related Content
- 10 months ago
- 9 years ago
- 3 years ago
Recent Discussions
- 15 years ago