当前位置:网站首页>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
边栏推荐
- XML配置文件解析与建模
- ORM -- database addition, deletion, modification and query operation logic
- Pit using BigDecimal
- VS Code指定扩展安装位置
- CDZSC_2022寒假个人训练赛21级(1)
- Writing file types generated by C language
- 为什么安装mysql时starting service报错?(操作系统-windows)
- Guys, have you ever encountered the case of losing data when Flink CDC reads mysqlbinlog? Every time the task restarts, there is a probability of losing data
- CDZSC_ 2022 winter vacation personal training match level 21 (1)
- 2016 CCPC Hangzhou Onsite
猜你喜欢
Pit using BigDecimal
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
[learning notes - Li Hongyi] Gan (generation of confrontation network) full series (I)
Garbage disposal method based on the separation of smart city and storage and living digital home mode
The landing practice of ByteDance kitex in SEMA e-commerce scene
ORM模型--数据记录的创建操作,查询操作
Win10安装VS2015
arcgis操作:dwg数据转为shp数据
Postman interface test II
STM32基础知识—内存映射
随机推荐
一文讲解单片机、ARM、MUC、DSP、FPGA、嵌入式错综复杂的关系
uboot机构简介
Software modeling and analysis
C# 初始化程序时查看初始化到哪里了示例
Postman tutorial - scripting
Please ask me a question. I started a synchronization task with SQL client. From Mysql to ADB, the historical data has been synchronized normally
SQLyog数据库怎么取消自动保存更改
Why are social portals rarely provided in real estate o2o applications?
CentOS installs JDK1.8 and mysql5 and 8 (the same command 58 in the second installation mode is common, opening access rights and changing passwords)
Guys, have you ever encountered the case of losing data when Flink CDC reads mysqlbinlog? Every time the task restarts, there is a probability of losing data
China's first electronic audio category "Yamano electronic audio" digital collection is on sale!
Applet popup half angle mask layer
Analyze Android event distribution mechanism according to popular interview questions (I)
Internship log - day04
Google colab loads Google drive (Google drive is used in Google colab)
网上可以开炒股账户吗安全吗
14th test
Postman interface test IV
EXT2 file system
XML配置文件解析与建模