JLancaster
14 years agoOccasional Contributor
mockService port still LISTEN when Mock Service Stopped
Problem 1:
I'm running a MockService on port8086 on UNIX and sending SOAP requests from another UNIX server. After I load the project file and open the Mock Service, a netstat -an | grep 8086 shows nothing. After I start the MockService the same command shows the port listening. Requests sent to Mock Service are successful at this point. If I stop the MockService and check the port, I see it is still LISTENing. Why is the port still LISTENING and is there anyway to turn this off besides starting and stopping soapui.
Problem 2:
If I send messages to the MockService at this point the response I get is an html response not related to service. Minimally I would have expected a SOAP Fault in return. Why is an html response being sent and can this be turned off.
This came back from the mock server
HTTP/1.1 200 OK..Content-Type: text/html; charset=iso-8859-1..Transfer-Encoding: chunked..Server: Jetty(6.1.x)....5F..<html><body><p>There are currently 0 running soapUI MockServices</p><ul></ul></p></body></|html>..
I'm running a MockService on port8086 on UNIX and sending SOAP requests from another UNIX server. After I load the project file and open the Mock Service, a netstat -an | grep 8086 shows nothing. After I start the MockService the same command shows the port listening. Requests sent to Mock Service are successful at this point. If I stop the MockService and check the port, I see it is still LISTENing. Why is the port still LISTENING and is there anyway to turn this off besides starting and stopping soapui.
Problem 2:
If I send messages to the MockService at this point the response I get is an html response not related to service. Minimally I would have expected a SOAP Fault in return. Why is an html response being sent and can this be turned off.
This came back from the mock server
HTTP/1.1 200 OK..Content-Type: text/html; charset=iso-8859-1..Transfer-Encoding: chunked..Server: Jetty(6.1.x)....5F..<html><body><p>There are currently 0 running soapUI MockServices</p><ul></ul></p></body></|html>..