Recording - Optum/mockiato GitHub Wiki

Screenshot 2019-10-25 at 5 09 40 PM

Recording View


Screenshot 2019-10-25 at 5 36 52 PM

Set up a recorder for a SOAP/REST service

  1. Using Firefox or Chrome browser navigate to mockiato URL.
  2. Enter credentials to log in to the application.
  3. On the home page, click on the Record Button.
  4. Select service type (SOAP or REST).
  5. Select the Group you wish to record your service to from the drop-down menu.
  6. Enter the name you would like to record your service under (Service name and version are recommended for this value).
  7. Provide the Live APIs Hostname, Port number, and Base Path.
  8. If the host URL contains https check the Use SSL button.
  9. Add any headers you would like to keep. This is optional.
  10. Select Filter response checkbox if you wish to filter based on status codes, strings, or header values.
    • Add any status codes, strings, or header values that you would like to omit from your recording.
  11. Click the Publish button to create the recorder. A popup window will appear with Recording Live URL (Ex: http://mockiatoUrl/recording/live/PerfTestgroup/TestService ) the Live service. This Recording Live URL is where you direct your request to record the live service.

Set up request and record SOAP/REST service.

  1. Using Firefox or Chrome browser navigate to https://mockiatoUrl/
  2. Enter credentials to log in to the application.
  3. Open any SOAP/REST client (eg. SoapUI, Postman, etc.) to set up your request.
  4. The Recording Live URL from the recorder you set up is used as your service endpoint.
  5. Add required headers, queries, base paths, and/or request payloads, etc required to run your request.
  6. Run your request(s).
  7. Log in to Mockiato and locate your recorder by navigating to Browse->Recorders on the menu bar and selecting your service on the Recorders page.
  8. You should be able to see all of your requests and responses in your recorder.
  9. Click the Finalize and Publish button at the bottom of the recorder page to complete the creation of the virtual service in Mockiato.
  10. After successful creation of the service in Mockiato you will get a popup with the Mockiato virtual service URL (Ex: http://mockiatoUrl/PerfTestgroup/TestService ), Use this URL to test the virtual service.


    Back                                     Next
⚠️ **GitHub.com Fallback** ⚠️