There are two types of breakpoints:
1. Global breakpoint
2. Local breakpoint
global breakpoint
The characteristics of global breakpoints are: not for one request, but for all captured requests
How to set global breakpoints:
1. Quickly set breakpoints: click directly on the breakpoint at the bottom status bar
;The first click is the breakpoint before the request, the second click is the breakpoint after the response, and the third click is the breakpoint cancel
2. Rules——Automatic Breakpoints——before requests (breakpoint before request)/after responses (breakpoint after response)
If you click Before Requests to set a breakpoint before the request, an arrow up sign will be displayed at the bottom of fiddler; as shown below:
If you click After Requests to set a post-response breakpoint, a downward arrow sign will be displayed at the bottom of fiddler; as shown below:
The request effect displayed in the session bar and the advanced toolbar is as follows:
The red arrow up in the session bar indicates a breakpoint before the request, and there are three buttons to choose from in the advanced toolbar
Break on Response: The yellow background refers to the break on response
Run to Completion: Release the request or response to the breakpoint
Choose Response: You can set the status code of the response or specify a local response file
local breakpoint
You can enter commands in the command line window below fiddler to complete the local breakpoint setting
bpu url address: Set a breakpoint before the request for the specified url address; as shown below:
bpafter url address: Set a post-response breakpoint for the specified url address
bpu: local breakpoint before cancel request
bpafter: cancel partial breakpoint after response
simple concurrency test
Select the request, press shift+r, and then enter the number of concurrency, as shown in the figure below
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! ! !