当前位置:网站首页>夜神模擬器+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
边栏推荐
- The official docker image running container in version 1.5.1 can be set to use MySQL 8 driver?
- Wechat applet video sharing platform system graduation design (2) applet function
- Picking up the camera is the best artistic healing
- Please, stop painting star! This has nothing to do with patriotism!
- Editor Editor Extension add button and logo in scene view
- 27:第三章:开发通行证服务:10:【注册/登录】接口:注册/登录OK后,把用户会话信息(uid,utoken)保存到redis和cookie中;(一个主要的点:设置cookie)
- Leetcode interview question 17.01 Addition without plus sign
- Steamos 3.3 beta release, steam deck Chinese keyboard finally came
- Use dosbox to run the assembly super detailed step "suggestions collection"
- vimium映射键
猜你喜欢

能解决80%故障的排查思路

Wechat nucleic acid detection appointment applet system graduation design completion (1) development outline

Wechat nucleic acid detection appointment applet system graduation design completion (4) opening report

微信核酸检测预约小程序系统毕业设计毕设(2)小程序功能

Qt官方示例:Qt Quick Controls - Gallery

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

Troubleshooting ideas that can solve 80% of faults

RDK simulation experiment

Wechat applet video sharing platform system graduation design (3) background function

Freemaker+poi realizes dynamic generation and parsing of Excel files
随机推荐
Nm01 function overview and API definition of nm module independent of bus protocol
Remember to use ternary expressions when switching transformations
人人工势场法
QT official example: QT quick controls - Gallery
实施阴影介绍
Steamos 3.3 beta release, steam deck Chinese keyboard finally came
A4988 and 42 stepper motors
一个优秀程序员可抵五个普通程序员!
Leetcode 面试题 16.17. 连续数列
Three methods of MySQL backup
Calculation of favorable comment rate
【Oracle 期末复习】表空间、表、约束、索引、视图的增删改
C# 检测图片是否被旋转并修改到正真的旋转
[games101] operation 4 B é zier curve
[Oracle final review] addition, deletion and modification of tablespaces, tables, constraints, indexes and views
铁塔安全监测系统 无人值守倾角振动监测系统
Wechat applet video sharing platform system graduation design completion (1) development outline
Wechat nucleic acid detection and appointment applet system graduation design (3) background function
微信小程序视频分享平台系统毕业设计毕设(8)毕业设计论文模板
【愚公系列】2022年07月 Go教学课程 001-Go语言前提简介