Fiddler+willow plug-in application of Fiddler capture tool

Install
Fiddler's installation package address: fillder+willow

After decompression, install fiddler4 and willow1.4.* versions.
After the installation is successful, the willow plugin button will appear after starting fiddler:

It means the installation is successful.

redirect

willow redirection
After entering the willow interface, you can add rules by right-clicking -> Add Project -> Add Rule.

Redirect the resource content in Match to the local file system.

When we go online to request resources in Match, the yellow part is our redirection sign:

 In other words, we can remove related files from the development environment without affecting online debugging.

To capture packets on the mobile side,
first modify the Fiddler configuration on the PC side, and enter Connections in the Fiddler Options of the Tools menu.

Select Allow remote computers to connect and restart fiddler to take effect.

The next step is to configure the http proxy on the mobile side.

The ios system is directly connected to the LAN, and fills in the http proxy information at the bottom of the wifi. The server is the ip address where the pc is located, and the port is 8888 just configured.

Then visit the page on the mobile terminal, and you can capture the package through fiddler.

Disable caching
In the process of debugging, we hope to show the effect immediately, so we don't want to have a cache, we can set the disabled cache in fiddler: Rules->Performance-
>Disable Caching

Forged data request
You can use composer to construct a request message for quick testing, and you can specify to resend a request.

Drag the request on the left to composer, modify the request header and click execute, a new request will be submitted, and then view it.

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/131294676