10 April 2007 - 1.7 |
soapUI 1.7 introduces the possibility to create Mock Implementations (called "MockServices") of any
WebService from its WSDL contract. A soapUI "MockService" can expose an arbitrary number of operations ("MockOperations")
from differentWSDLs which can further be configured quite extensively in regard to which response(s) ("MockResponse")
they should return, including the possibility to create custom groovy scripts for both dispatching and response creation.
MockServices can be hosted/run either directly in soapUI or via the command-line MockServiceRunner and be invoked from
any client (including soapUI itself of course) as usual. | ![]() |
Mocking of Web Services opens for a number of interesting usage-scenarios:
soapUI Pro further introduces a MockResponse test step which can be added to any functional TestCase to simulate the handling of a SOAP request as part of the test, which opens of testing of asynchronous Web Services, etc.