The fiddler composer of the Fiddler packet capture tool can simply send http protocol requests

1. Detailed explanation of composer

The Composer area on the right is the interface of the test interface:

Related instructions:

1. Request method: click to select the request protocol is get, post, etc.

2.url address bar: enter the requested url address

3. Request header: the third area can enter the request header information

4. Request body: post requests to enter body information in this area

5. Execution: After the Execute button is clicked, the request can be executed

6. http version: You can check the http version

7. Request history: After the execution is completed, a history record will be generated in the History area on the right

Two: Composer use

1. First send a get http://www.baidu.com, click Execute

2. Double-click the address sent by fiddler on the left to view part of the response results on the Baidu homepage

So composer can be a simple interface testing tool, contract delivery tool

3. Send a modified request to Baidu

1. Do an interface test on the request, that is, modify the data, grab Baidu’s login interface and modify it (you can drag and drop the interface directly to composer)

2. Modify the user name and password, send the request, and click Execute

3. The request sent by fiddler will appear in the session list on the left, double-click to view the request details, and find that the username and password in the details have been modified

So composer can directly drag and drop the request to do some simple package sending, or you can make some settings by yourself

Four: Replay many captured requests

1. There are many requests ready for replay:

2. First enter composer——Scratchpad, select the request you want to replay, select all, drag and drop to Scratchpad, you can see all the requested messages

3. Clear all sessions on the left, select all Scratchpad messages, and click Execute to play back

You can also click on one of the messages, click three times in succession to select, click Execute, and playback

You can also modify the message and play it back

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