当前位置:网站首页>JSON 格式接口测试流程
JSON 格式接口测试流程
2022-07-19 20:11:00 【grownto9】
当我们后端需要从前端拿到这些 JSON 数据,我们应该如何测试自己的接口呢?今天就来浅浅探讨一下 JSON 格式接口测试的流程。
(一) JSON 格式的 API 导入
导入 Swagger 平台 Json 格式文件示例:
1、进入 Eolink ,选择导入从 Swagger 导出的 Json 文件
2、选择 Swagger 类型,然后选择该文件,点击确定。
3、当右方出现任务列表时,可以点击刷新来查看导入是否完成
4、手动刷新后,如使用 Ctrl+R ,就可以看到项目已经导入啦
(二)如何对 API 进行测试
API 测试示例:
1、进入项目后,选择一个 API 接口,如下图
2、 API 接口页面
3、在编辑界面对 API 进行相关配置
4、选择测试
5、测试界面详情介绍
6、将测试配置保存为测试用例,可供未来测试使用
\
这样就能方便又快速地对 API 进行测试啦!
详细教程可参考:https://op-help.eolink.com/#/tutorial/?groupID=c-953&productID=30
示例中使用的工具是 Eolink ,不仅支持 Json 格式接口测试,还有其他接口测试相关功能。感兴趣可以自行试试:www.eolink.com
边栏推荐
- 谈谈指针!
- How to make a reliable delay queue with redis (classic collection version)
- How to implement recursive function in wechat game making tool
- 2022/07/19 学习笔记 (day11) 方法重载
- Animation, and basic use of animation
- PostgreSQL 每张表的数据到达多少行就需要分区?
- 只列出指定字段的数据getdata($table, '*', $where, $order)
- 適合送禮的藍牙耳機有哪些?2022藍牙耳機排行榜10强
- What is dbc2000? Dbc2000 database file details
- 【详细教程】一文参透MongoDB聚合查询
猜你喜欢
What is dbc2000? Dbc2000 database file details
Cannot make QOpenGLContext current in a different thread : PyQt多线程崩溃的解决方法
[quick start tutorial 2] crazy shell · open source formation UAV - Introduction to hardware resources
win10+libtorch+yolov5-6.0部署
Vmware解决无法识别USB的问题
2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案
30 open source software most popular with IT companies
谈谈指针!
How can Web3 enterprises use tokens to motivate employees?
How to make a reliable delay queue with redis (classic collection version)
随机推荐
Unity3d learning note 9 - loading textures
LVGL 8.2 Span
Redis 实战篇:巧用 Bitmap 实现亿级海量数据统计
Redis 很屌,不懂使用规范就糟蹋了
SAP mm transaction code Migo mobile type 561 error after saving -document number was already assigned
Gson简单使用
如何在微信小游戏制作工具中实现递归函数
Unity3D学习笔记9——加载纹理
2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案
[quick start tutorial 2] crazy shell · open source formation UAV - Introduction to hardware resources
Alternative interpretation of the macro situation: the Federal Reserve may soon end the process of raising interest rates and return to quantitative easing?
基于BS架构的微博系统
A review of the latest introduction to neural data compression
迅速学tar命令对文件的打包压缩与解压缩
Part of the second Shanxi Network Security Skills Competition (Enterprise Group) WP (VI)
What is the function of dbc2000? Installation and configuration of dbc2000
如果元宇宙的发展依然是遵循互联网的发展逻辑,其终点也遵循的话
How to make a reliable delay queue with redis (classic collection version)
Win10+libtorch+yolov5-6.0 deployment
Redis 日志篇:无畏宕机快速恢复的杀手锏