当前位置:网站首页>Use Fiddler to simulate weak network test (2g/3g)
Use Fiddler to simulate weak network test (2g/3g)
2022-06-27 22:00:00 【Software testing】
One . For weak network test scenarios
App And web side testing ,2G/3G Whether there is an unknown error in the operation in the network scenario .
Two . How to fiddler Set it up ?
1. open fiddler, The toolbar Tools->Options Configure the agent (app And web side operation , Just grab the bag smoothly , I won't go into that )
2. The toolbar Rules>Performance>Simulate Modem Speeds Check to open the weak network
3. open Fiddler, Click on the 【Rules】-【Customize Rules】, Here's the picture :
4. You need to manually adjust the network speed of the proxy server :
Open the tab first (Customize Rules) Or on the right “FiddlerScript”, Find the following code :
Every upload 1KB data , Time delay 300ms
Per download 1KB data , Time delay 150ms
3、 ... and . Calculation 2G and 3G Uplink and downlink rate
1KB = 8kb
2G The Internet :
The upside :2.7K
The downside :9.6K
The upside :[1/(2.7/8)]X1000=2962ms
The downside :[1/(9.6/8)]X1000=833ms
simulation 2G, Change it as shown in the figure below :
3G The Internet :
telecom : The upside :1.8M 1.8x1024
The downside :3.1M 3.1x1024
The upside :{1/[(1.8x1024)/8]}x1000=4.34ms
The downside :{1/[(3.1x1024)/8]}x1000=2.52ms
Move : The upside :384k
The downside :2.8M
The upside :[1/(384/8)]x1000=20.8ms
The downside :{1/[(2.8x1024)/8]}x1000=2.79ms
Unicom : The upside :5.76M
The downside :7.2M
The upside :{1/[(5.76x1024)/8]}x1000=1.35ms
The downside :{1/[(7.2x1024)/8]}x1000=1ms
Modify the corresponding numerical value in step 2 above to simulate 2G and 3G Weak network test !
5. Open the menu bar 【Rules】-【Performance】 Check 【Simulate Modem Speeds】 Effective after , Here's the picture :
The house needs to be built layer by layer , Knowledge needs to be learned at one point one . We should lay a good foundation in the process of learning , More hands-on practice , Don't talk much , The last dry goods here ! I stayed up late to sort out the stages ( function 、 Interface 、 automation 、 performance 、 Test open ) Skills learning materials + Practical explanation , Very suitable for studying in private , It's much more efficient than self-study , Share with you .
Get off w/x/g/z/h: Software testing tips dao
Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .
边栏推荐
- Go from introduction to practice -- definition and implementation of behavior (notes)
- 跟我一起AQS SOS AQS
- MYSQL和MongoDB的分析
- [LeetCode]515. 在每个树行中找最大值
- Stm32cubeide1.9.0\stm32cubemx 6.5 f429igt6 plus lan8720a, configure eth+lwip
- Process control task
- [LeetCode]186. Flip word II in string
- Special tutorial - Captain selection game
- 百万年薪独家专访,开发人员不修复bug怎么办?
- [LeetCode]动态规划解分割数组II[Arctic Fox]
猜你喜欢

Open source technology exchange - Introduction to Chengying, a one-stop fully automated operation and maintenance manager

畅游动态规划之区间DP

∫(0→1) ln(1+x) / (x² + 1) dx

Slow bear market, bit Store provides stable stacking products to help you cross the bull and bear

Burp suite遇到的常见问题

Go从入门到实战——错误机制(笔记)

Go從入門到實戰——接口(筆記)

GBase 8a的create database 会被查询耗时很长怀疑卡住的现象分析

清华大学教授:软件测试已经走入一个误区——“非代码不可”

.NET学习笔记(五)----Lambda、Linq、匿名类(var)、扩展方法
随机推荐
跟我一起AQS SOS AQS
Software defect management - a must for testers
IO stream code
Software test automation test -- interface test from entry to proficiency, learn a little every day
Summary of Web testing and app testing by bat testing experts
大厂常用软件测试面试题三(附答案)
∫(0→1) ln(1+x) / (x ² + 1) dx
[LeetCode]508. 出现次数最多的子树元素和
根据自定义excel标题模板快速excel导出
[leetcode] dynamic programming solution split integer i[silver fox]
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
Experience sharing of meituan 20K Software Test Engineers
xpath
[LeetCode]动态规划解拆分整数I[Silver Fox]
Bit.Store:熊市漫漫,稳定Staking产品或成主旋律
Interview question 3 of software test commonly used by large factories (with answers)
快速excel导出
不外泄的测试用例设计秘籍--模块测试
Simulink method for exporting FMU model files
. Net learning notes (V) -- lambda, LINQ, anonymous class (VaR), extension method