ProductivityAndFun Download Trial - Free 14 day evaluation

Mock Services - 2) Editing a MockService

PDF Print E-mail
User Rating:  / 96
Rate this article: PoorBest 

 

2) Editing a MockService

  1. 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.
    Generated MockService
  2. Double Click on the Conversion Rate Operation to see the MockResponses we have in the MockService
    Open_MockResponse
  3. As you can see we do only have one, Let's edit it, double click on it to open the Response Editor.
    MockResponse 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.
  4. Edit the ConversionRateResult to be something else than the default empty value "?".
    edited element in Mock

Congratulations, you've just created your first live-like MockService! Let's see if it works.

 


Go to Article Page: Go to Previous Page 1 2 3 4 5 Go to Next Page