Forum Discussion
jlee49
13 years agoNew Contributor
I'd like to confirm this is still an issue in SoapUI 4.5.1 Pro.
The process is as follows:
1. Create and save a MockService in SoapUI.
2. Attempt to run from the command line:
mockservicerunner.bat -m"SERVICE" -b "soapui-project.xml"
Result:
14:27:44,479 INFO [WsdlMockRunner] Mounted WSDL for interface [INTERFACE] at [WSDL]
14:27:44,808 INFO [JettyMockEngine] Started mockService [SERVICE] on
port [8088] at path [PATH]
14:27:44,812 INFO [SoapUIProMockServiceRunner] MockService started on port 8088
at path [PATH]
14:27:44,813 INFO [SoapUIProMockServiceRunner] Started 1 runner
14:27:44,814 INFO [SoapUIProMockServiceRunner] time taken: 5407ms
netstat confirms:
TCP 0.0.0.0:1198 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<--------NO ENTRY HERE--------
TCP 0.0.0.0:42599 0.0.0.0:0 LISTENING
If I run mockservicerunner like so:
mockservicerunner.bat -m"SERVICE" "soapui-project.xml", there are no problems.
netstat confirms:
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING
TCP 0.0.0.0:42599 0.0.0.0:0 LISTENING
I am attempting to run multiple MockServices through the mockservicerunner.bat by executing the .bat multiple times in the same command window. These MockServices share the same SSL port through SoapUI's preferences. For the record, using mockservicerunner without the -b also works for the SSL MockService, but with -b still doesn't. Please advise.
The process is as follows:
1. Create and save a MockService in SoapUI.
2. Attempt to run from the command line:
mockservicerunner.bat -m"SERVICE" -b "soapui-project.xml"
Result:
14:27:44,479 INFO [WsdlMockRunner] Mounted WSDL for interface [INTERFACE] at [WSDL]
14:27:44,808 INFO [JettyMockEngine] Started mockService [SERVICE] on
port [8088] at path [PATH]
14:27:44,812 INFO [SoapUIProMockServiceRunner] MockService started on port 8088
at path [PATH]
14:27:44,813 INFO [SoapUIProMockServiceRunner] Started 1 runner
14:27:44,814 INFO [SoapUIProMockServiceRunner] time taken: 5407ms
netstat confirms:
TCP 0.0.0.0:1198 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<--------NO ENTRY HERE--------
TCP 0.0.0.0:42599 0.0.0.0:0 LISTENING
If I run mockservicerunner like so:
mockservicerunner.bat -m"SERVICE" "soapui-project.xml", there are no problems.
netstat confirms:
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
TCP 0.0.0.0:8088 0.0.0.0:0 LISTENING
TCP 0.0.0.0:42599 0.0.0.0:0 LISTENING
I am attempting to run multiple MockServices through the mockservicerunner.bat by executing the .bat multiple times in the same command window. These MockServices share the same SSL port through SoapUI's preferences. For the record, using mockservicerunner without the -b also works for the SSL MockService, but with -b still doesn't. Please advise.