While developing a web application I have the following use case:
- a 3rd party Web Service with quite a lot of methods is deployed on a test server A (with a single endpoint, e.g. http://3rdPartyServer/3rdPartySvc?WSDL)
- a new method is about to be implemented in the near future, but I need to use it now
- the rest of the methods are used throughout my code extensively
So I would like to do the following:
- Create a mock service in SoapUI locally, based on the new WSDL which includes the new WS method (i.e. a superset of the WS methods currently on server A)
- point my local application server to use the SoapUI mock service endpoint
- mock only the response of the new WS method (create a dummy response for it in SoapUI)
- let the other WS method calls to reach server A and return whatever it returns normally (i.e. use SoapUI as a proxy for these calls)
I've gone through the SoapUI documentation regarding service mocking and have used it numerous times, but could not find an option for such "pass-through" behavior.