aacsoares
12 years agoNew Contributor
Mock Service - WebService returns HTTP 202 without Body
Hi everyone,
I'm using the free version of SoapUI for mocking some returns of web-services from the client. One of those web-services has no response, returning to me the HTTP 202 only. The mockservices is deployed on TOMCAT using the option "deploy as WAR" of the project. The problem is that, when I execute this web-service that has no response, the WebUI application stops working. The error is like below:
This is a problem to my project because we need to view the request/response log. Does anyone had this kind of problem in this situation? I really need some help here. hust to remind, there is no response configured on the XSD. The return is only a HTTP 202. I think that, since this web-service is out of pattern, WebUI tries to read a response and found nothing, throwing the NullPointer. Maybe someone could provide a groove script to solve this kind of problem.
Thanks in advance.
I'm using the free version of SoapUI for mocking some returns of web-services from the client. One of those web-services has no response, returning to me the HTTP 202 only. The mockservices is deployed on TOMCAT using the option "deploy as WAR" of the project. The problem is that, when I execute this web-service that has no response, the WebUI application stops working. The error is like below:
java.lang.NullPointerException
com.eviware.soapui.mockaswar.MockAsWarServlet.printMaster(MockAsWarServlet.java:422)
com.eviware.soapui.mockaswar.MockAsWarServlet$MockServletSoapUICore.dispatchRequest(MockAsWarServlet.java:297)
com.eviware.soapui.mockaswar.MockAsWarServlet.service(MockAsWarServlet.java:190)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
This is a problem to my project because we need to view the request/response log. Does anyone had this kind of problem in this situation? I really need some help here. hust to remind, there is no response configured on the XSD. The return is only a HTTP 202. I think that, since this web-service is out of pattern, WebUI tries to read a response and found nothing, throwing the NullPointer. Maybe someone could provide a groove script to solve this kind of problem.
Thanks in advance.