首页> 外国专利> AUTOMATED INTERFACE TESTING METHOD, DEVICE, EQUIPMENT, AND STORAGE MEDIUM

AUTOMATED INTERFACE TESTING METHOD, DEVICE, EQUIPMENT, AND STORAGE MEDIUM

机译:自动化的界面测试方法,设备,设备和存储介质

摘要

The present application relates to the field of software testing. Provided are an automated interface testing method, a device, equipment, and a storage medium. The method comprises the following steps: acquiring interface files of different interfaces, automatically generating JSON test samples of the different interfaces on the basis of the interface files; automatically generating a test case template on the basis of the JSON test samples, automatically generating a JSON test case on the basis of the test case template, and then automatically generating a JMeter test script on the basis of the JSON test case; generating an integrated test case on the basis of the JMeter test script, calling the integrated test case via a test tool, triggering the JMeter test script via the integrated test case for testing, and automatically outputting the test result. The automated interface testing method, the device, the equipment, and the storage medium provided in the present application increase the degree of automation of interface testing and facilitate the maintenance of a test case when modifying an interface.
机译:本申请涉及软件测试领域。提供一种自动接口测试方法,设备,设备和存储介质。该方法包括以下步骤:获取不同接口的接口文件,根据接口文件自动生成不同接口的JSON测试样本。根据JSON测试样本自动生成测试案例模板,根据测试案例模板自动生成JSON测试案例,然后根据JSON测试案例自动生成JMeter测试脚本;基于JMeter测试脚本生成集成测试用例,通过测试工具调用集成测试用例,通过集成测试用例触发JMeter测试脚本以进行测试,并自动输出测试结果。本申请提供的自动接口测试方法,装置,设备和存储介质,提高了接口测试的自动化程度,在修改接口时便于维护测试用例。

著录项

  • 公开/公告号WO2019153472A1

    专利类型

  • 公开/公告日2019-08-15

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2018CN81545

  • 发明设计人 JIA JIANGLI;

    申请日2018-04-02

  • 分类号G06F11/36;

  • 国家 WO

  • 入库时间 2022-08-21 11:53:39

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号