26 September 2008 - 2.5-beta1 |
In soapUI 1.7 we introduced the possibility to create Mock Implementations, or Web Service Simulations, (called "MockServices") of any
Web Service from its WSDL contract. A soapUI MockService can expose an arbitrary
number of operations ("MockOperations")
from different WSDLs 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 TestStep 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.