当前位置:网站首页>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

边栏推荐
- Writing file types generated by C language
- C socke server, client, UDP
- SQLyog数据库怎么取消自动保存更改
- Scratch crawler mysql, Django, etc
- 2020 Zhejiang Provincial Games
- Or in SQL, what scenarios will lead to full table scanning
- 一大波开源小抄来袭
- Arcgis操作: 批量修改属性表
- Some thoughts on the testing work in the process of R & D
- 官媒关注!国内数字藏品平台百强榜发布,行业加速合规健康发展
猜你喜欢

Natapp intranet penetration

嵌入式背景知识-芯片

Software modeling and analysis

Agile course training

Bean operation domain and life cycle

ORM模型--数据记录的创建操作,查询操作

ORM模型--关联字段,抽象模型类

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)

ORM--查询类型,关联查询

STM32中AHB总线_APB2总线_APB1总线这些是什么
随机推荐
Postman interface test I
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
Introduction to energy Router: Architecture and functions for energy Internet
Why does the starting service report an error when installing MySQL? (operating system Windows)
Three years after graduation
内存==c语言1
CDZSC_2022寒假个人训练赛21级(1)
ArcGIS operation: batch modify attribute table
uboot机构简介
Bean operation domain and life cycle
ORM--分组查询,聚合查询,查询集QuerySet对象特性
Some thoughts on the testing work in the process of R & D
web3.0系列之分布式存储IPFS
CDZSC_ 2022 winter vacation personal training match level 21 (2)
Applet popup half angle mask layer
虚数j的物理意义
Bit operation ==c language 2
“十二星座女神降临”全新活动推出
In addition to the objective reasons for overtime, what else is worth thinking about?
Phpcms realizes PC website access to wechat native payment