# Viewing req/resp to/from mock server in the console

**URL:** <https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245>\
**Category:** Help Hub\
**Tags:** console, mock\
**Created:** [November 3, 2023, 1:25pm UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245 "2023-11-03T13:25:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukad](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@sukad](https://community.postman.com/u/sukad)\
**Post date:** [November 3, 2023, 1:25pm UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245/1 "2023-11-03T13:25:34Z")

</div>

> **Archived topic — some details may be out of date.**  
> Mock servers built from saved collection examples are still supported. Postman now also has **code-based mocks** : JavaScript request handlers plus a `config.yaml`, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (`postman mock generate`) and run it (`postman mock run`). See [About mocks](https://learning.postman.com/docs/design-apis/mock-apis/mocks/overview) and [Create a mock](https://learning.postman.com/docs/design-apis/mock-apis/mocks/create-a-mock).  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) can build and run mocks for you.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

I’m unable to see the requests/responses to/from the mock server in postman’s console.  
What do I need to do in order to see these there, or anywhere else in postman for that matter?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [November 3, 2023, 5:16pm UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245/2 "2023-11-03T17:16:39Z")

</div>

You see the responses in the same place as any other request.

Before…

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/3/33dbf4c06c80ff255d8a2e2c5edf348ca0289ca4.png)

After sending.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/b/0b8c7c2efd9a84fcdbc30f31a287d36ad7a6d3a0.png)

If you are talking about the examples linked to a request. These should show under the request in the left hand pane, For example.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/4/94e84603a3499e9bbf2f5e2ee2ea15ea27389742.png)

If you are talking about the console, this can be opened using the link in the task bar at bottom.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/c/3cc27309901877db2586ab10e5bf77d1503a670c.png)

Which opens to…

![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/a/ea4a3be6e72d05538f914797cbcb556720c3e9d5.png)

If you are new to Postman, then I would suggest a visit to the Learning Centre.

[Overview | Postman Learning Center](https://learning.postman.com/docs/introduction/overview/)

Including the Postman Training links under “Resources”.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/b/3b763d56d66445f4c34eeb66c64631335559a741.png)

I would recommend the “Galaxy APIs 101” course first as it gets you used to the application\GUI features.

Then the “Galaxy Testing and Automation” course which teaches you how to assert and test the responses.

---

<div class="post-metadata">

**Author:** ![sukad](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@sukad](https://community.postman.com/u/sukad)\
**Post date:** [November 3, 2023, 8:23pm UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245/3 "2023-11-03T20:23:15Z")

</div>

Thanks, Mike, especially for the tutorial links.  
I’m not completely new to postman, although I am still in the learning phase.

I thought I should be able to see, in the console, the request received by the mock server and the response sent by the mock server, but I don’t.  
I only get to know that something was sent by the client and received by the client, because I see this in the client.

---

<div class="post-metadata">

**Author:** ![sukad](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@sukad](https://community.postman.com/u/sukad)\
**Post date:** [November 4, 2023, 6:36am UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245/4 "2023-11-04T06:36:09Z")

</div>

I found the answer I was looking for!  
Posting it here for the others who may be searching for the same:

> **[Configure and use a Postman mock server | Postman Learning Center](https://learning.postman.com/docs/designing-and-developing-your-api/mocking-data/setting-up-mock/#viewing-mock-calls)**
>
> Configure and use a Postman mock server: documentation for Postman, the collaboration platform for API development. Create better APIs—faster.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 4, 2023, 6:36am UTC](https://community.postman.com/t/viewing-req-resp-to-from-mock-server-in-the-console/54245/5 "2023-12-04T06:36:20Z")

</div>

Closed on December 4, 2023, 6:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
