Page 3 of 5
2) Editing a MockService
- Now, double click on the MockService to see the MockService editor. In the editor we can see a list of all operations for the service, as well as a request and response log which logs all incoming requests that have been handled by the MockService.
- Double Click on the Conversion Rate Operation to see the MockResponses we have in the MockService
- As you can see we do only have one, Let's edit it, double click on it to open the Response Editor.
The MockResponse editor is very similar to the standard SoapUI Request editor , but instead of requests, we'll edit responses. The Incoming Request view is still very useful; it shows the last received request to the operation which is useful for debugging client calls, including attachments and HTTP headers.
- Edit the ConversionRateResult to be something else than the default empty value "?".
Congratulations, you've just created your first live-like MockService! Let's see if it works.