-
Notifications
You must be signed in to change notification settings - Fork 24
Monitoring Mock & Proxy Activity
Matthew Gallina edited this page Dec 13, 2019
·
7 revisions
sMockin provides a HTTP Live Feed allowing you to view all traffic (request and response) made to both the Mock and Proxy servers.
This can be useful for:
- Ensuring client calls are coming though to sMockin
- Tracking the exact journey a client made
- Gaining full visibilty of the request and response such as headers, was the call intercepted by the mock server? etc.
-
Open http://localhost:8000/index.html in your browser.
-
Click on Tools in the top right hand corner and select HTTP Live Feed.
-
This will open a new window and initiate the request listener.
-
Lastly to see a call appear in the feed:
- Open a terminal window and run the cURL command: curl -i -X GET http://localhost:8001/helloworld
A new item should appear in the feed's list. Clicking on this will display details of both the inbound request and outbound response from the call.