当前位置:网站首页>Fiddler simulates the interface test
Fiddler simulates the interface test
2022-07-07 10:09:00 【Splendid Qianyang 813】
Catalog
One .Composer brief introduction
3、 ... and . simulation post request
https://www.cnblogs.com/yoyoketang/p/6754560.html
One .Composer brief introduction
Click on the right side Composer Area , You can see the following interface , This is the interface of the test interface

- Request mode : Click to check the request agreement is get、post etc.
- url Address bar : Enter the requested url Address
- Request header : The third area can input the request header information
- request body:post Request input... In this field body Information
- perform :Execute Click the button to execute the request
- http edition : You can check http edition
- Request history : It will be on the right after execution History Area generation history
Two . simulation get request
1. stay Composer Enter the blog home page in the regional address bar :http://www.cnblogs.com/yoyoketang/
2. choice get request , spot Execute perform , The request can be sent successfully
3. After the request is sent successfully , The left conversation box will generate a conversation record , You can check the details of bag grabbing
4. On the right side history The area will have an additional history request record

5. The session box selects the record , Check the test results
-- Select the session , It opens at Inspectors
--response Open the area Raw Area
--Raw Check out HTML Source data
-- You can also order WebView, Check back web The page data

3、 ... and . simulation post request
1. Request type check post
2.url Input the corresponding request address in the address field
3.body Area write login json Parameters
4.header Request header area , You can grab the data in front of you copy To come over
( Be careful , Some requests if the request header is empty , Will ask for failure )

5. After successful execution, check the test results :
-- The execution is successful as shown in Figure 3 , Show success=True
-- The execution fails as shown in the figure below , Show
message=Invalid length for a Base-64 char array or string.
success=False

边栏推荐
- Pit encountered by vs2015 under win7 (successful)
- Introduction to automated testing framework
- The industrial chain of consumer Internet is actually very short. It only undertakes the role of docking and matchmaking between upstream and downstream platforms
- Bean operation domain and life cycle
- Selenium+bs4 parsing +mysql capturing BiliBili Tarot data
- 高数_第1章空间解析几何与向量代数_向量的数量积
- Future development blueprint of agriculture and animal husbandry -- vertical agriculture + artificial meat
- Some test points about coupon test
- Deadlock caused by non clustered index in SQL Server
- 字节跳动 Kitex 在森马电商场景的落地实践
猜你喜欢
随机推荐
Postman interface test I
使用BigDecimal的坑
Internship log - day07
Postman interface test IV
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
[untitled]
Mongodb creates an implicit database as an exercise
Advanced function learning in ES6
Introduction to automated testing framework
phpcms实现PC网站接入微信Native支付
Applet sliding, clicking and switching simple UI
CONDA creates virtual environment offline
The applet realizes multi-level page switching back and forth, and supports sliding and clicking operations
能源路由器入门必读:面向能源互联网的架构和功能
单片机(MCU)最强科普(万字总结,值得收藏)
Qualifying 3
CodeForces - 1324D Pair of Topics(二分或双指针)
arcgis操作:dwg数据转为shp数据
Parameter sniffing (1/2)
Bean operation domain and life cycle

![[ORM framework]](/img/72/13eef38fc14d85978f828584e689a0.png)







