关于postman:Postman-Interceptor-插件使用完全指南

16次阅读

共计 1435 个字符,预计需要花费 4 分钟才能阅读完成。

什么是 Postman?

Postman 是一种用于测试和开发 API 的工具,让开发者能够轻松地构建、发送、调试 HTTP 申请,并查看响应后果。通过 Postman,开发者能够在不编写代码的状况下疾速测试 API 的正确性和可靠性。Postman 还反对合作和自动化测试,能够通过脚本来执行测试用例并生成测试报告,帮忙开发者创立和保护 API 文档 ,包含生成 API 参考文档、示例代码等。使开发者更加高效地工作,并缩小 API 开发周期。

下载 Postman

Postman 是一款罕用的 API 测试工具,它能够让开发者更加不便地测试和调试 API,能够通过以下步骤下载 Postman:

  1. 关上浏览器,进入 Postman 官网
  2. 抉择适宜本人操作系统的版本,比方 Windows、Mac 或 Linux 零碎。
  3. 点击“Download”按钮进行下载,下载实现后进行装置。

装置 Postman

装置 Postman 也很简略,只需依照以下步骤进行操作:

  1. 双击下载好的安装文件,关上安装程序。
  2. 抉择语言、门路等相干选项。
  3. 点击“装置”按钮,期待安装程序主动装置实现即可。

具体教程:Postman 下载及装置教程

什么是 Postman Interceptor?

为了进一步加强 Postman 工具的性能,Postman 公司推出了一个浏览器插件 —— Postman Interceptor,它能够拦挡客户端和服务器之间的 HTTP/HTTPS 申请,并将其发送到 Postman 工具进行进一步解决和调试;能间接应用 Chrome 浏览器的 cookie 等信息。它是一个浏览器扩大程序,须要装置能力应用。该扩大程序与 Chrome 和 Firefox 浏览器兼容。装置后,它与 Postman 应用程序一起工作,捕捉网络流量。

下载 Postman Interceptor

Postman Interceptor 是 Postman 的一个插件,能够帮忙用户在 Postman 中拦挡和批改浏览器的申请,用户能够通过以下步骤下载 Postman Interceptor:

  1. 返回 Chrome 利用商店下载 Postman Interceptor。
  2. 点击“Add to Chrome”进行下载。

装置 Postman Interceptor

  1. 要装置 Postman Interceptor 首先必须要装置 Postman 客户端版本。Postman Interceptor 不能与 Postman 网页版一起应用
  2. 在 Postman 页脚中抉择 Capture requests,并在关上的窗口抉择 Via Interceptor 选项卡。

3、抉择 Install Interceptor Bridge 以下载 Bridge,这是一个独立的可执行文件,可促成与拦截器的通信。

4、Bridge 下载实现后,右上角会显示绿色的 CONNECTED 已连贯示意装置胜利,能够应用了。

应用 Postman Interceptor

1、在插件中开启 Capture requests 选项和 Capture cookies 选项。

2、在 Postman 软件方才关上的 Capture requests 窗口中的 Via Interceptor 选项卡,勾选 Capture cookies

3、查看拦截器插件拦挡的 API 接口地址。

以上就是 Postman 和 Postman Interceptor 的下载、装置和应用办法的具体介绍,心愿能够帮忙到你。如果还有其余问题,能够查看 Postman 官网文档或者在社区中寻求帮忙。

常识扩大:

  • Postman 如何发送 xml 申请
  • 如何应用 Postman 调试微信领取接口
  • 如何在 Postman 中进行 HTTPS 申请
正文完
 0