2021-1-25 fidder+jmeter use

Jmeter: Script writing can be used to obtain preliminary request information through the recording function of Jmeter

(1) Filter useless requests css, js, etc.

(2) Optimize the script after recording to retain key requests related to business functions

(3) Request parameterization, etc.

The above is achieved through the built-in functions of Jmeter.

There is a drawback of this recording process, which is: to set the proxy, you must switch back and forth between the browser setting proxy, open the browser proxy when recording, and close the proxy when not recording.

Fidder: A packet capture tool that can capture various requests

(1) Can quickly switch whether to grab the corresponding request

(2) Right-click [comment] to add comments

After the comment information is in Jmeter, it will become the description in the red mark below

(3) Export-you can choose to export part of the request, or you can choose to export all the requests, and the export format is Jmeter

After exporting from Fidder to Jmeter format, open it in Jmeter as shown below: thread group, HTTP request default value, HTTP header manager, HTTP cookie manager, view result tree, and assertion results have been automatically added, just need to proceed modify.

To summarize:

(1) The disadvantage is that this IP and port number will not extract the default value

(2) Parameters, which are not displayed normally in Parameters, and put them in [BodyData]

 

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_43533308/article/details/113102885