Are there any command line parameters, or other ways, so that all the mock services start up when soap ui is started?
A mock service imitates a real REST or SOAP API – it contains definitions for operations that clients call, receives requests, and returns simulated responses. Note: In the SoapUI documentation, mocking can also be called isolation, virtualization, or simulation. All these terms refer to the same SoapUI feature.
Since the mockServices is a Map this will also work:
project.mockServices.each() { entry -> entry.value.start() }
You can automate this with the help of a Groovy Script.
Following script can be used as an example:
project.getMockServiceByName("name_of_your_mock_service_01").start();
project.getMockServiceByName("name_of_your_mock_service_02").start();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With