当前位置:网站首页>Packet capturing tool: Fiddler, a necessary skill for Software Test Engineer

Packet capturing tool: Fiddler, a necessary skill for Software Test Engineer

2022-06-22 01:45:00 Xiaowu knock code

Fiddler It's a http Protocol debugging agent tool , It can record and check everything between your computer and the Internet http Communications , To set breakpoints , View all “ In and out ”Fiddler The data of ( finger cookie,html,js,css Wait for the documents ). Fiddler It's simpler than other network debuggers , Because it's not just exposed http The newsletter also provides a user-friendly format .

brief introduction

Fiddler Yes, it is C# Write out the , It contains a simple but powerful foundation JScript .NET Event script subsystem , Its flexibility is great , Can support numerous http Debugging tasks , And be able to use .net Framework language extension .

Use

 Insert picture description here
Fiddler Support breakpoint debugging technology , When you're in the software menu —rules—automatic breakpoints Option selection before request, Or when these request or response properties match the criteria of the target ,Fiddler You can pause Http Communications , And allow modification of requests and responses . This feature is very useful for security testing , Of course, it can also be used for general function testing , Because all code paths can be used to drill .

By showing all Http Communications ,Fiddler It's easy to demonstrate what's used to generate a page , Through the statistics page ( Namely Fiddler The big box on the left ) Users can easily use multiple choice , Here comes a WEB Page “ Total weight ”( Page files and related js,css etc. ) You can also easily see a page you requested , How many times have you been asked , And how many bytes have been converted .

Users can join a Inspector Plug in object , To use .net In any language Fiddler Expand .RequestInspectors and ResponseInspectors Provide a format specification of , Or designated ( User customization )Http Request and response view .

in addition , Through exposure HTTP head , Users can see which pages are allowed to be cached on the client or proxy side . If a response does not contain Cache-Control head , Then it won't be cached on the client . [1]

Similar tools include : httpwatch, firebug, wireshark.

result

The result column is the code for whether the request was successful . The most common code includes :

200— success . Request sent and response received successfully .

400— Bad request . Occurs when the destination server receives a request but does not understand the details and is unable to process it .

404— Page not found . If target API Occurs when moved or updated but backward compatibility is not preserved .

500— Internal server error . Some kind of fatal error occurred on the server side , And the error was not captured by the service provider .

URL

Refers to the specific page or endpoint requested ( Or root URL, If a tunnel is used ). Many back-end services use unfamiliar looking URL. For example ,http://docs.live.net:443 It's actually Microsoft OneDrive.

Check the progress (Process) Column to see which applications make the given request . If you see Explorer This process , What does it mean Windows Explorer( No IE).Windows Explorer Basically Windows It itself , Its flow is often Windows Refresh live title It's caused by .

Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !

 Insert picture description here

These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……

If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .

Click the small card at the end of the document to receive it

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 .

Self study recommendation B Stop video :

Zero basis transition software testing :25 Days from zero basis to software testing post , I finished today , Employment tomorrow .【 Include features / Interface / automation /python automated testing / performance / Test Development 】

Advanced automation testing :2022B The first station is super detailed python Practical course of automated software testing , Prepare for the golden, silver and four job hopping season , After advanced learning, it soared 20K

原网站

版权声明
本文为[Xiaowu knock code]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220109544899.html