当前位置:网站首页>夜神模擬器+Fiddler抓包測試App
夜神模擬器+Fiddler抓包測試App
2022-07-02 18:28:00 【肥仔哥哥1930】
前言
最近公司要求前端小姐姐開始用uniapp做App了,後端這邊接口安全是用的security(曆史原因),講真我不太喜歡用這個,好多年沒有用這個了。今天主要是跟大家分享下用模擬器測試app + Fiddler抓包。
一、方案選型
我這裏選的夜神模擬器 + Fiddler抓包。
二、使用步驟
1.Fiddler設置

1.點擊Tools-Fiddler Options進入Fiddler Options頁面
2.點擊Connections,將Fiddler listens on port設為8888,勾選Allow remote computers to connect
3.點擊OK,代理設置完成,重啟Fiddler配置生效。
2.夜神模擬器設置代理

跟設置手機的代理一樣,找到“設置”(小齒輪),找到wifi設置:
1.點擊設置,進入到wifi連接選項
2.點擊wifi進入wifi選項,長按熱點,出現修改網絡的彈窗
3.點擊修改網絡,勾選高級選項,將代理設為手動,代理服務器主機名填寫電腦的ip,端口號填寫8888
4.點擊保存
3.夜神模擬器安裝Fiddler證書
1、在模擬器裏找到瀏覽器,打開
2、輸入地址:http://ip地址:代理端口號/(ip地址為後端接口ip,代理端口就是Fiddler裏設置的8888)
3、點擊FiddlerRootC下載證書
4、在下載目錄找到下載的文件,點擊安裝
三、抓包效果

總結
- 模擬器還是很不錯的,就是手機機型有點少,要做產品化測試還是建議雲測試平臺
- Fiddler抓包工具使用還是很簡單的,就是感覺功能還是有點不太够
- 抓包工具Wireshark、安全測試Burp做抓包也是很不錯的,功能强大,可以做安全測試
就分享到這裏,希望能幫到大家,Up
边栏推荐
- NM02-独立于总线协议的NM模块调用序列图及代码解释
- Typescript
- Design of the multi live architecture in different places of the king glory mall
- RDK simulation experiment
- Remember to use ternary expressions when switching transformations
- Leetcode 面试题 17.04. 消失的数字
- 再放宽!这些应届生,可直接落户上海
- Use dosbox to run the assembly super detailed step "suggestions collection"
- 300+篇文献!一文详解基于Transformer的多模态学习最新进展
- Chrome officially supports MathML, which is enabled in chromium dev 105 by default
猜你喜欢

Explain kubernetes network model in detail

一个优秀程序员可抵五个普通程序员!

Freemaker+poi realizes dynamic generation and parsing of Excel files

巴比特 | 元宇宙每日必读:一千块就能买一个虚拟主播?这是小企业的直播福音还是在“割韭菜”?...

Enter a valid user name and password in the Microsoft LDAP configuration page, and enter a valid user name in the Microsoft LDAP configuration page

实施阴影介绍

NM01-独立于总线协议的NM模块功能概述与API定义

Wechat applet video sharing platform system graduation design (2) applet function

MySQL advanced - transaction and index
![Unity学习shader笔记[八十二]增强单通道颜色渲染的黑白处理](/img/db/d745a434e76511742d1264706b5d9a.png)
Unity学习shader笔记[八十二]增强单通道颜色渲染的黑白处理
随机推荐
Esp32-c3 introductory tutorial question ⑪ - ESP tls: create_ ssl_ handle failed, tls_ io_ instance->options. trusted_ certs null
Use dosbox to run the assembly super detailed step "suggestions collection"
vimium映射鍵
QT official example: QT quick controls - Gallery
D constructor problem
微信核酸检测预约小程序系统毕业设计毕设(3)后台功能
Wechat nucleic acid detection and appointment applet system graduation design (3) background function
Mysql - opérations de base de la base de données
MySQL 关于 only_full_group_by 限制
1.5.1版本官方docker镜像运行容器,能设置使用 mysql 8驱动吗?
揭秘得物客服IM全链路通信过程
Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report
微信小程序视频分享平台系统毕业设计毕设(7)中期检查报告
MySQL advanced - transaction and index
Customize a loading instruction
Nm01 function overview and API definition of nm module independent of bus protocol
Implementation shadow introduction
微信小程序视频分享平台系统毕业设计毕设(2)小程序功能
Three methods of MySQL backup
Nm02 nm module call sequence diagram and code interpretation independent of bus protocol