测试抓包工具2-whistle抓包

前言

测试抓包工具有很多,之前分享过用stream抓包(juejin.cn/post/708814... stream抓包在使用中会有一些不太好用的地方:比如手机屏幕太小,在不知道接口名的情况下一个一个点击进去找。效率很低。特别是接口很多的情况下,得累死一头牛。这个时候急需一个安装简单,使用简单,界面简单的一款pc端抓包工具

1、whistle下载

npm install -g whistle

安装error小插曲

提示没有权限"Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/whistle'"

调整下 sudo npm install -g whistle

相关命令

csharp 复制代码
~w2 -V  查看有没有安装成功
2.9.99
~w2 start 开启
[i] whistle@2.9.99 started
[i] 1. use your device to visit the following URL list, gets the **IP** of the URL you can access:

       http://**127.0.0.1:8899**/

       http://**172.30.32.56:8899**/

       Note: If all URLs are inaccessible, check firewall settings

             For help see **https://github.com/avwo/whistle**

[i] 2. set the HTTP proxy on your device with **the above IP & PORT(8899)**

[i] 3. use **Chrome** to visit **http://local.whistlejs.com/** to get started
~w2 stop

[i] whistle killed

打开web页面

苹果手机抓包 (跟stream差不多)

1、下载证书

这个简单,点击https按钮会出现一个二维码,手机扫码下载

2、信任证书

mock

相关推荐
颜正义4 小时前
作为前端你还不会 Playwright 进行单元测试吗?
前端·测试
hubro8 小时前
ORM性能测试Benchmark(最终版)
测试·orm
独断万古他化1 天前
Python+Pytest 接口自动化测试实战 —— 抽奖系统接口测试框架设计与实现
python·pytest·接口自动化·测试·allure·yaml·json schema
殷紫川1 天前
全链路压测硬核实战:从方案落地、瓶颈根因定位到全链路性能优化
架构·测试
不做菜鸟的网工1 天前
Python 会话数压测脚本
测试
念越3 天前
第十七届蓝桥杯软件测试模拟赛1期题目及解析
蓝桥杯·测试用例·测试
独断万古他化4 天前
软件测试新纪元:为什么选择AI测试
人工智能·ai·测试
CoovallyAIHub5 天前
Django 大佬亲授:8 个 Coding Agent 工程模式,重新定义程序员价值
程序员·测试·代码规范
甜甜圈圈子5 天前
从工具到思维,AI 如何重塑软件测试全流程?
测试
小罗和阿泽7 天前
测试系列之接口测试 (一)概念测试的有关概念
测试