Forum Discussion
redfish4ktc2
13 years agoSuper Contributor
Yes the noBlock option is very badly documented whereas it is very important
* set it to true when you need to setup a mock services that is later used by the maven build. For instance, you want to run integration test of your project against the mock services. In this case, the mock is stopped when the maven build stops
* set it to false if you want to let maven start the mock but you send request from outside the maven build. Then, to stop it, you press any key. Use case: can be interesting as you do not need to install soapui in the machine which run the mock, maven do it for you
If this is not clear, ammend my explanation or ask for further information.
If it is good, I will update the plugin documentation I maintain: https://github.com/redfish4ktc/maven-so ... #wiki-mock
* set it to true when you need to setup a mock services that is later used by the maven build. For instance, you want to run integration test of your project against the mock services. In this case, the mock is stopped when the maven build stops
* set it to false if you want to let maven start the mock but you send request from outside the maven build. Then, to stop it, you press any key. Use case: can be interesting as you do not need to install soapui in the machine which run the mock, maven do it for you
If this is not clear, ammend my explanation or ask for further information.
If it is good, I will update the plugin documentation I maintain: https://github.com/redfish4ktc/maven-so ... #wiki-mock