Forum Discussion
12 years ago
I had the same problem, but as you have said they can't be run in separate command prompts.
What would be the syntax for the command line to run multiple MockServices in the same project with a single mockservicerunner on one port?
I have tried the following:
"C:\Program Files\SmartBear\soapUI-4.5.2\bin\mockservicerunner.bat" -m"Service1SoapBinding MockService" -m"Service2SoapBinding MockService" "C:\Path\my-soapui-project.xml"
But this only seems to start the service in the first named parameter.
This can be done from the UI, but we would like to automate the start-up of the services with a simple batch file.
What would be the syntax for the command line to run multiple MockServices in the same project with a single mockservicerunner on one port?
I have tried the following:
"C:\Program Files\SmartBear\soapUI-4.5.2\bin\mockservicerunner.bat" -m"Service1SoapBinding MockService" -m"Service2SoapBinding MockService" "C:\Path\my-soapui-project.xml"
But this only seems to start the service in the first named parameter.
This can be done from the UI, but we would like to automate the start-up of the services with a simple batch file.
Related Content
- 3 years ago
- 4 years ago
Recent Discussions
- 18 hours ago