当前位置:网站首页>Interface testing -- how to analyze an interface?
Interface testing -- how to analyze an interface?
2022-06-30 03:50:00 【The evening wind blows】
List of articles
Preface
Analysis interface , How to start ?
First, understand the basic composition of the interface , The composition of the general interface is as follows :
1、 request url
2、 Request method
3、 Request parameters
4、 Returns the parameter
One 、 Request address
as follows , I grabbed an interface , Look at the request address section , stay fiddler in , The parameters of this position , Is the interface request url, So when we do interface testing , Copy this directly url that will do 
Two 、 Request parameters
View the interface captured , First look at the request method , In the request url front , Let's take a look at the information passed on Content-Type: " application/json, Then in json type , Look at the content of the request body , That is, request parameters

3、 ... and 、 Returns the parameter
The return parameter is after the request is sent , There will be a response , View the returned parameters , see raw The data under the , It mainly depends on the return code, as well as data, as well as data Structure 
边栏推荐
- 共124篇!墨天轮“高可用架构”干货文档分享(含Oracle、MySQL、PG)
- (04). Net Maui actual MVVM
- UML图与List集合
- Wang Shuang - assembly language learning summary
- Interpretation score of bilstm-crf in NER_ sentence
- 【论文阅读|深读】DANE:Deep Attributed Network Embedding
- Product thinking - is the future of UAV express worth looking forward to?
- Use common fileUpload to upload files
- Version correspondence table of tensorflow, CUDA and bazel
- GIS related data
猜你喜欢

Smart use of bitmap to achieve 100 million level massive data statistics

laravel9本地安裝

解决navicat连接数据库遇到的问题

The 5-year Android development interview took 20 days to join Alibaba

你清楚AI、数据库与计算机体系

(04).NET MAUI实战 MVVM

UML图与List集合

The jupyter notebook kernel hangs up frequently and needs to be restarted

第2章 控制结构和函数(编程题)

Is the largest layoff and salary cut on the internet coming?
随机推荐
Are you a "social bull" or a "social terrorist" in the interview?
【图像融合】基于交叉双边滤波器和加权平均实现多焦点和多光谱图像融合附matlab代码
如何利用FME 创建自己的功能软件
Semantic segmentation resources
Tidb 6.0: making Tso more efficient tidb Book rush
December2020 - true questions and analysis of C language (Level 2) in the youth level examination of the Electronic Society
Note: load the configuration file as a byte stream and get the resources in it
Redis在windows系统中使用
(03).NET MAUI实战 基础控件
EasyCVR部署服务器集群时,出现一台在线一台不在线是什么原因?
Selenium environment installation, 8 elements positioning --01
【笔记】2022.5.28 从网页获取数据并写入数据库
Play with algorithm interview together, nanny level strategy (with high-definition codeless algorithm summary map), recommended collection
【作业】2022.5.23 MySQL入门
Local, locallow and roaming in the appdata folder
DRF -- nested serializer (multi table joint query)
利用反射整合ViewBinding和ViewHolder
What are the defaults for Binding. Mode=Default for WPF controls?
如何通过进程启动来分析和解决EasyCVR内核端口报错问题?
Arrangement of language resources of upgraded version