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

相关推荐
ClouGence2 天前
自动化测试实战:手把手教你用 AI Agent 实现版本打包自动化
人工智能·ai编程·测试
用户5834248840813 天前
如何验证对象存储去重真的生效?从 0 到 1 打造企业级测试框架
测试
ClouGence3 天前
文件上传也能录制回放了:CueCast UI 自动化测试更新
前端·测试
ClouGence8 天前
Selenium 写不动了?这个工具录一次就能跑 Web 自动化
前端·selenium·测试
狂师9 天前
想做测试工具却不会写代码?怎么办?
人工智能·程序员·测试
ClouGence10 天前
从 5 天到 2 小时:AI Agent 如何搭建高效、可复用的全自动化测试体系?
agent·测试
狂师10 天前
用AI做自动化测试,哪些是真不行,哪些是你不会用?
人工智能·面试·测试
世事如云有卷舒12 天前
GoogTest测试框架
c++·测试