测试抓包工具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

相关推荐
Trae_陈冀2 天前
写测试用例总漏场景还格式乱?我做了个自动生成工具,需求一键转标准用例
agent·测试
初学AI的小高2 天前
Agent 评测驱动开发:用 pytest 测试工具调用与执行轨迹
agent·测试
得物技术2 天前
压测AI Agent 治理与评测调优实践
程序员·架构·测试
狂师4 天前
Agent评测工具链大全:Promptfoo、DeepEval 与 LangSmith
人工智能·agent·测试
测开Harvey4 天前
分享一套公司实际业务跑通的接口自动化测试方案:Postman+Newman+Jenkins
测试
野草闲花4 天前
并发用户数、在线用户数与虚拟用户
测试
ClouGence5 天前
Web 自动化测试总是超时?聊聊等待、超时和异步加载
前端·测试
mCell7 天前
AI 时代,我为什么开始追求 100% 的测试覆盖率?
llm·ai编程·测试