admin管理员组

文章数量:1568432

ostman目前分为两个版本

  • chrome插件版(即postman chrome app),从chrome浏览器扩展程序安装,支持浏览器拦截;
  • 桌面版(即postman app),从postman官方安装,支持手机拦截;

postman chrome插件版+ postman intercepter chrome插件版

作用:
1.可以共享chrome浏览器的cookie;
2.chrome浏览器的历史记录,会记录到postman的history中(或其他自行设置的路径);

有时接口测试需要准备好登录态,或者其他状态数据,而这些数据往往就存在浏览器 Cookie 里边。结合本文介绍的工具,便可以无缝在 Postman Chrome app 和 Chrome 浏览器之间共享 Cookie。



缺陷
遗憾的是,按照官方说明,现在 Postman Interceptor 的这个Cookie 共享还不能支持独立安装的桌面版(从官方下载而不是从 Chrome 应用市场下载)的 Postman Desktop,所以,如果你希望使用上述功能,你只能安装回 Postman Chrome版,而这个版本相对桌面版,功能自然也会少。

Note: Interceptor feature is supported only in our Postman Chrome Apps and is not available in Postman Desktop Apps at the moment.
另一方面,考虑到 Chrome 浏览器将会在不久的将来停掉 Chrome apps 的支持,可能这个方案也撑不了太久。

参考segmentfault文章

postman app拦截手机请求

作用:手机的请求,会记录到postman的history中(或其他自行设置的路径)
关于拦截手机请求的postman官方文档


本文标签: 浏览器手机postmanInterceptor