打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
postman使用教程14-Windows上如何使用postman进行抓包(模拟fiddler抓包)

前言

windows 电脑上可以使用 fiddler 抓包非常方便,postman 也可以使用代理功能,抓取 windows 上浏览器发出去的请求。
本篇讲解如何在windows 电脑上使用 postman 抓取 chrome 浏览器发出去的请求?

启动 windows 电脑代理

打开 windows 电脑 网络和 Internet 选项

使用代理服务器开关打开,地址写本机 Ip 地址(或127.0.0.1),端口 5555(postman 默认端口)

postman开启代理

点 proxy setting 按钮,Port 默认 5555 (跟前面电脑设置的代理端口保持一致)

点 Connetc 连接按钮

抓取浏览器请求

打开chrome浏览器,在浏览器上输入 一个http地址:http://localhost:8080/jenkins/login

点开History 区域,可以看到抓到的http请求

https 请求

https 请求如 https://www.baidu.com/ 抓取会报 '您的连接不是私密连接’

需导入SSL 证书,相关教程地址:https://learning.postman.com/docs/sending-requests/capturing-request-data/capturing-http-requests/

历史文章回顾

postman使用教程13-cookies 管理器

postman使用教程12-预处理(pre-request) 发送请求

postman使用教程11- sign 签名预处理(pre-request)

postman使用教程10-请求前参数预处理(pre-request)

postman使用教程9-点 code 按钮生成代码段

postman使用教程8-设置断言(Tests脚本编写)

postman使用教程7-参数化引用外部文件(txt/csv/json)测试数据

postman使用教程6-引用随机变量($guid,$timestamp,$randomInt)

postman使用教程5-Test脚本中自定义变量(参数关联)

postman使用教程4-集合变量(collection variables)的使用

postman使用教程3-全局变量和环境变量

postman使用教程2-发 post 请求(json和urlencoded)

postman使用教程1-安装与使用

2021年第七期《python接口自动化+测试开发》课程,4月18号开学(火热报名中!)

4月18号-7月11号,20:30-22:30

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
fiddler安装教程,算是一次记录吧~
python爬虫教程:教你通过 Fiddler 进行手机抓包
Fiddler和app抓包
fiddle下载安装教程
无标题
超详细——接口测试总结与分享
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服