当前位置:网站首页>实操自动生成接口自动化测试用例
实操自动生成接口自动化测试用例
2022-07-04 19:06:00 【小梧敲代码】
这期抽出来的问题是关于如何使用Eolinker自动生成接口自动化测试用例,也就是将API文档变更同步到测试用例,下面是流程的示例解析。
导入并关联API文档和自动化测试用例
首先是登陆Eolinker,可以直接在线使用。 进入流程测试用例详情页,点击添加测试步骤,在下拉菜单中选择“从 API 文档新建API测试”,根据指引进行操作即可,这时会自动将测试步骤关联相应的API文档。
如果是手动添加测试用例,可以在在流程测试用例界面,进入测试管理界面,选择需要关联的测试步骤,点击绑定按钮,选择需要绑定的API确认后即可绑定。 也可以点击编辑,进入测试步骤详情页进行绑定。
也可以点击编辑,进入测试步骤详情页进行绑定。
将API文档变更同步到测试用例
当API文档发生变化时,可以在测试步骤的编辑页面点击同步按钮更新当前API测试步骤;
或者可以在测试用例详情页通过批量操作来更新多个API测试步骤。
为什么不自动将API文档的变更同步到测试步骤中
API自动化测试一般用于对较稳定的API进行测试,这些API一般是已经可用的。 但是API文档的变化一般比较快,当API文档发生变化时,此时新版本的API不一定已经是可用的,文档只是记录了新版本的API应该是什么样的而已。 如果将 API 文档的变化自动同步到自动化测试中,很可能会导致你的测试用例执行失败,并且你无法了解到底同步了什么内容。何况还有可能同时存在多个版本的API。 这期的问题整理大概就这些啦,欢迎大家评论沟通
最后感谢每一个认真阅读我文章的人,下面这个网盘链接也是我费了几天时间整理的非常全面的,希望也能帮助到有需要的你!
这些资料,对于想转行做【软件测试】的朋友来说应该是最全面最完整的备战仓库,这个仓库也陪伴我走过了最艰难的路程,希望也能帮助到你!凡事要趁早,特别是技术行业,一定要提升技术功底。希望对大家有所帮助……
如果你不想一个人野蛮生长,找不到系统的资料,问题得不到帮助,坚持几天便放弃的感受的话,可以点击下方小卡片加入我们群,大家可以一起讨论交流,里面会有各种软件测试资料和技术交流。
点击文末小卡片领取 |
敲字不易,如果此文章对你有帮助的话,点个赞收个藏来个关注,给作者一个鼓励。也方便你下次能够快速查找。
自学推荐B站视频:
零基础转行软件测试:25天从零基础转行到入职软件测试岗,今天学完,明天就业。【包括功能/接口/自动化/python自动化测试/性能/测试开发】
边栏推荐
- Delete the characters with the least number of occurrences in the string [JS, map sorting, regular]
- 凌云出海记 | 一零跃动&华为云:共助非洲普惠金融服务
- Employment prospects and current situation of Internet of things application technology
- Jiuqi ny8b062d MCU specification /datasheet
- Flet tutorial 05 outlinedbutton basic introduction (tutorial includes source code)
- 左右最值最大差问题
- 如何让你的小游戏适配不同尺寸的手机屏幕
- Related concepts of federal learning and motivation (1)
- Lingyun going to sea | Wenhua online & Huawei cloud: creating a new solution for smart teaching in Africa
- node强缓存和协商缓存实战示例
猜你喜欢
Process of manually encrypt the mass-producing firmware and programming ESP devices
如何让你的小游戏适配不同尺寸的手机屏幕
[ismb2022 tutorial] the picture shows the precision medicine of learning. Marinka zitnik, Harvard University, keynote speaker, with 87 ppt
What are the consequences of closing the read / write channel?
Qt编写物联网管理平台38-多种数据库支持
Practical examples of node strong cache and negotiation cache
【ISMB2022教程】图表示学习的精准医疗,哈佛大学Marinka Zitnik主讲,附87页ppt
原来这才是 BGP 协议
Regular replacement [JS, regular expression]
Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
随机推荐
Cdga | six principles that data governance has to adhere to
Flet教程之 04 FilledTonalButton基础入门(教程含源码)
记一次 .NET 某工控数据采集平台 线程数 爆高分析
Taishan Office Technology Lecture: about the order of background (shading and highlighting)
华为云云商店首页 Banner 资源位申请
Pointnext: review pointnet through improved model training and scaling strategies++
Flet tutorial 05 outlinedbutton basic introduction (tutorial includes source code)
Huawei cloud store homepage banner resource bit application
go语言笔记(2)go一些简单运用
Aiming at the "amnesia" of deep learning, scientists proposed that based on similarity weighted interleaved learning, they can board PNAS
漫谈客户端存储技术之Cookie篇
Oracle database, numbers Force 2 decimal places to display-Alibaba Cloud
Win11共享文件打不开怎么办?Win11共享文件打不开的解决方法
Huawei Nova 10 series supports the application security detection function to build a strong mobile security firewall
NLP, vision, chip What is the development direction of AI? Release of the outlook report of Qingyuan Association [download attached]
Qt编写物联网管理平台38-多种数据库支持
What financial products can you buy with a deposit of 100000 yuan?
Win11系统wifi总掉线怎么办?Win11系统wifi总掉线的解决方法
如何让你的小游戏适配不同尺寸的手机屏幕
Talking about cookies of client storage technology