Fiddler setting weak network test for Fiddler packet capture tool

Weak network test

Concept: Weak network literally means that the network is relatively weak. We generally call it poor signal and slow network speed.

Significance: Simulate the use of APP in subways, tunnels, elevators, garages, etc., and the network will experience delays, interruptions, and timeouts.

 Fiddler weak network test process:

1. Speed ​​limit operation

1) Path: Rules》Cutomize Rules or directly click on FiddlerScript in the figure below to check and modify the download and upload delays required. The current upload speed is 1Kb/300ms, and the download speed is 1KB/150ms

 2) Then check the weak network switch, the path: Rules》Performance》Simulate Modem Speeds, note that after changing FiddlerScript, the weak network will be automatically closed, the correct process, first modify, and then open

3) After the setting is complete, clear the original log, and use your app to operate under weak network conditions. Select the first request and the last request to get the total time consumed by the entire page loading. From the bar chart, it is also possible to identify which requests take the most time, so as to optimize the access speed of the page access

The graphic table of how much time is spent on different requests, which resource takes the most time to obtain, and then optimized:

2. Network interruption, timeout operation

Path: Rules>Automatic Breakpoints; or directly click on the status bar at the bottom to set a breakpoint

Before Requests: Set request breakpoints

After Requests: Setting Response Breakpoints

 Scenario process for simulating network interruption and timeout:

1. First open the request breakpoint or response short breakpoint

2. Open a certain URL, you can see that it has been waiting; wait a while to see what information the front end reports

Practical case

Optical theory is useless, you have to learn to follow along, and you have to do it yourself, so that you can apply what you have learned to practice. At this time, you can learn from some actual combat cases.

If it is helpful to you, please like and collect it to give the author an encouragement. It is also convenient for you to quickly find it next time.

If you don’t understand, please consult the small card below. The blogger also hopes to learn and progress with like-minded testers

At the right age, choose the right position, and try to give full play to your own advantages.

My road of automated test development is inseparable from the plan of each stage along the way, because I like planning and summarizing,

Test and develop video tutorials, study notes and receive portals! ! !

Guess you like

Origin blog.csdn.net/Liuyanan990830/article/details/130956451