14 years ago
-b option does not work in mockservicerunner.bat
When I run mockservicerunner.bat with the -b option, it starts the service, but then exits immediately (mockservicerunner.bat -b -m "mockservicename" projectname.xml). It did this in soapui 3.6.1 and now it also does the same thing in soapui 4.0.0.
I would expect the -b option to remove the prompt, but let the mock service keep running.
15:47:50,448 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
15:47:50,480 INFO [WsdlMockRunner] Mounted WSDL for interface [AssemblyPlantBui
ldSchedule_ControlsSOAP] at [/mockAssemblyPlantBuildSchedule_ControlsSOAP?WSDL]
15:47:50,573 INFO [JettyMockEngine] Started mockService [AssemblyPlantBuildSche
dule_ControlsSOAP MockService] on port [8088] at path [/mockAssemblyPlantBuildSc
hedule_ControlsSOAP]
15:47:50,573 INFO [SoapUIMockServiceRunner] MockService started on port 8088 at
path [/mockAssemblyPlantBuildSchedule_ControlsSOAP]
15:47:50,573 INFO [SoapUIMockServiceRunner] Started 1 runner
<<<<<<<<<<<<<<<<<<<<<<<<<< Note: Normally, the "Press any key" text goes here when -b is not used.
15:47:50,573 INFO [SoapUIMockServiceRunner] time taken: 571ms
I would expect the -b option to remove the prompt, but let the mock service keep running.
15:47:50,448 DEBUG [AbstractDefinitionContext] Loaded Definition: ok
15:47:50,480 INFO [WsdlMockRunner] Mounted WSDL for interface [AssemblyPlantBui
ldSchedule_ControlsSOAP] at [/mockAssemblyPlantBuildSchedule_ControlsSOAP?WSDL]
15:47:50,573 INFO [JettyMockEngine] Started mockService [AssemblyPlantBuildSche
dule_ControlsSOAP MockService] on port [8088] at path [/mockAssemblyPlantBuildSc
hedule_ControlsSOAP]
15:47:50,573 INFO [SoapUIMockServiceRunner] MockService started on port 8088 at
path [/mockAssemblyPlantBuildSchedule_ControlsSOAP]
15:47:50,573 INFO [SoapUIMockServiceRunner] Started 1 runner
<<<<<<<<<<<<<<<<<<<<<<<<<< Note: Normally, the "Press any key" text goes here when -b is not used.
15:47:50,573 INFO [SoapUIMockServiceRunner] time taken: 571ms