基于Postman+Newman的接口业务自动化测试应用
Application of Interface Business Automatic Testing Based on Postman+Newman
刘小玲 1殷珊珊 1李慧云 1郝颖 1许杰辉1
作者信息
- 1. 同方知网数字出版技术股份有限公司,北京 100192
- 折叠
摘要
电商系统作为公司所有产品的关键业务支撑,由于业务更新和发展需要,提测频率大幅增加,然而,回归测试受业务场景复杂性和测试周期限制,导致人工测试无法充分覆盖业务场景,可能会引发问题.为解决上述问题,文章选用Postman和Newman工具,结合电商系统实际业务特点,设计出一套测试用例,通过数据参数关联技术实现电商系统接口业务场景自动化测试.自动化测试提高了回归测试效率,节省了测试成本,同时提升了系统质量.
Abstract
As a key business support for all products of the company,the E-commerce system has been found a significant increase in testing frequency due to business updates and development promotions.However,regression testing is limited by the complexity of business scenarios and testing cycles,resulting in manual testing not being able to fully cover business scenarios,which may lead to problems.Based on this,by selecting Postman and Newman tools and combining them with the actual business characteristics of E-commerce systems,a set of test cases is designed,and data parameter correlation technology is used to achieve automatic testing of E-commerce system interface business scenarios.Through automatic testing,regression testing efficiency is improved,testing costs is saved,and system quality is improved.
关键词
接口自动化测试/自动化测试/接口测试/业务场景测试Key words
interface automation testing/automatic testing/interface testing/business scenario testing引用本文复制引用
出版年
2024