Article: Getting Started with Web Service Mocking
Getting Started with Web Service Mocking from soapUI.org
…create mock implementations of operations and entire services with a combination of static response messages combined with Groovy scripts, attachments and custom http headers. This opens for a number of usage scenarios, including:
* Rapid Web Services Prototyping; generate a complete static mock implementation from a WSDL in seconds and add dynamic functionality using Groovy.
* Client testing/development; create mock implementations of desired operations and set up a number of alternative responses (including scripts, attachments and custom http headers). Clients can be developed and tested without access to the "live" services. Responses can be cycled, randomized or selected with XPath expression from incoming request
* Test Driven Development; Create soapUI TestSuitesa and TestCases against MockServices before or during the actual services being implemented