Designer 10.5 | webMethods Unit Test Framework Help | Unit Test Framework | Terms and Concepts | Service Mock
 
Service Mock
A service mock is used to replace the call to a service with a call to a different service. Any call to the mocked service is intercepted and the alternate service defined in the mock is called instead. The output of the mocked service is then returned to the calling service. This kind of mock is useful when the output of the mocked service needs to be dynamic based on some logic that can be created in the service.