How to use Postman Interceptor

Google ChromeCookiesGoogle Chrome-DevtoolsPostman

Google Chrome Problem Overview


Ever since I upgraded to Postman 0.9.6 I can't replicate user sessions because chrome doesn't allow postman to get user cookies. However, they have decided to "work around" this issue by created another plugin called Postman Interceptor that routes your postman request and grabs the user cookies. They wrote a blog post about this wonderful tool here: http://blog.getpostman.com/index.php/2014/02/11/postman-v0-9-6-access-cookies-and-restricted-headers-plus-better-testing/

However, I can't seem to figure out how to get this thing to work. I have been trying for an hour now, and it still won't see my request as a logged in user

Google Chrome Solutions


Solution 1 - Google Chrome

This worked for me:

  1. Install Postman
  2. Install the Interceptor
  3. Activate the Interceptor by toggling the switch:
    enter image description here
  4. Activate the Interceptor in Postman by clicking on the Interceptor Button on the top right (looks like a sattelite)
    enter image description here

Solution 2 - Google Chrome

To save someone having to dig through all the comments on related questions, here's a quick overview of the state of Postman in 2018:

Standalone Postman (Current)

If you have a satellite dish icon you are using standalone Postman:

postman standalone screenshot

Postman Interceptor does not appear to work with the standalone Postman (as of January 2018).

When you turn the satellite dish on, you are starting a proxy (default port: 5555). If you update your browser and/or OS proxy settings to point to localhost:5555, the requests made through the proxy will show up in Postman, similar to how it worked with the old Interceptor.

You can read more about this feature here.

Postman Chrome App (Deprecated)

If you have a weird satellite thing icon you are using the old Chrome App:

postman chrome app screenshot

This should work with the interceptor. See the instructions in nozzleman's answer if you are having trouble getting it to work.

tl;dr You need to use the Postman Chrome App if you want to use the Interceptor extension.

Solution 3 - Google Chrome

Make sure to turn the Interceptor on in chrome and proxy on in Postman. Also ensure install correct extension! Oddly, it seems there are 2 postman Interceptor:

  1. Interceptor 1 <- Same name but not from getpostman.com
  2. Interceptor 2 <- from correct source

Then it should work

Solution 4 - Google Chrome

The issue for me was that I had multiple Chrome profiles, and requests with a non-main profile wasn't working, even if the extension was enabled. Once I switched to the primary profile and ensured the extension was enabled there, it started intercepting properly.

Solution 5 - Google Chrome

For native app POSTMAN(windows, macOS or linux) make sure you have installed the INTERCEPTOR Bridge:

https://community.getpostman.com/t/interceptor-integration-for-postman-native-apps/5290

Solution 6 - Google Chrome

Postman Interceptor integration is now available for Postman Native App ( > v7.14.0).

  • Download Interceptor from Chrome Web Store. If you already have the extension, kindly ensure that the version is v0.2.26 or later.
  • Navigate to the Postman app and click the satellite icon in the upper-right corner to Capture requests and cookies with Postman. Install Interceptor Bridge either from Cookies tab or Requests tab with source toggled to Interceptor.

Postman App - Install Interceptor Bridge Postman App - Install Interceptor Bridge

  • Confirm Interceptor is ready to use by checking that the INTERCEPTOR CONNECTED status is green. You can now capture browser requests and sync browser cookies directly into Postman App. Learn more here.

Postman Interceptor

  • Kindly note that you might need to restart Chrome before you see INTERCEPTOR CONNECTED status if you're using Postman App for Windows

> Note: If you face any issues while installing Interceptor Bridge, please check the troubleshooting doc. You can find the relevant information regarding Interceptor here.

Solution 7 - Google Chrome

There are two ways, and both works:

  1. postman chrome app + postman interceptor plugin

Deprecated but more convenient, just a few clicks are needed.

  1. postman native app

Officially recommended by not very user friendly. You have to manually change the browser/system proxy setting.

Solution 8 - Google Chrome

As some of them mentioned here Postman Chrome app is deprecated, you can not use it to intercept your API requests anymore. Instead, Postman has released a beta version "Postman Canary", which works better.

Please follow these links to set up the canary and interceptor. https://community.getpostman.com/t/interceptor-integration-for-postman-native-apps/5290

Solution 9 - Google Chrome

Postman released Interceptor support for the packaged app for Mac / Windows / Linux in v7.2.2 in June 2019.

> 7.2.2: Added support for cookie syncing via the Interceptor

More about that here since the docs aren't updated yet: https://community.getpostman.com/t/interceptor-integration-for-postman-native-apps/5290

Solution 10 - Google Chrome

I was able to work without Interceptor,just by disabling SSL

I was using older version of postman [Postman Chrome App (Deprecated)] in which I had to use interceptor,Basically I wanted to pass cookies as apart of Header. Now when I tried to use New Standalone/Desktop Postman (Current tool),I got below error enter image description here

To solve this error I just had to "OFF" SSL certificate verification. enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser2158382View Question on Stackoverflow
Solution 1 - Google ChromenozzlemanView Answer on Stackoverflow
Solution 2 - Google ChromeMichael KropatView Answer on Stackoverflow
Solution 3 - Google ChromeAli NikneshanView Answer on Stackoverflow
Solution 4 - Google ChrometimetoflyView Answer on Stackoverflow
Solution 5 - Google ChromeSabri AziriView Answer on Stackoverflow
Solution 6 - Google ChromeVinit ShahdeoView Answer on Stackoverflow
Solution 7 - Google ChromeduleshiView Answer on Stackoverflow
Solution 8 - Google ChromeVinay HosamaneView Answer on Stackoverflow
Solution 9 - Google ChromeJ.LinView Answer on Stackoverflow
Solution 10 - Google ChromeMadhusudhan RView Answer on Stackoverflow