Unlock instant, AI-driven research and patent intelligence for your innovation.

A machine learning-based automatic interface testing method and device

A technology of interface testing and machine learning, applied in the field of automatic interface testing based on machine learning, can solve problems such as large test flaws and difficult quality control, and achieve the effect of improving test stability

Active Publication Date: 2021-10-01
北京斗米优聘科技发展有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is difficult to control the quality when the project is urgent
Especially in the process of rapid iteration of the interface, developers often forget to notify the tester when they change the test interface. When the tester writes the test program according to the previous test interface or uses the previous test case to carry out system testing, there will often be relatively serious problems. big test bug

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A machine learning-based automatic interface testing method and device
  • A machine learning-based automatic interface testing method and device
  • A machine learning-based automatic interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the objectives, technical solutions and advantages of the implementation of the application clearer, the technical solutions in the implementation modes of the application will be described in more detail below with reference to the drawings in the implementation modes of the application. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of the present application. The embodiments described below by referring to the figures are exemplary and are intended to explain the present application, and should not be construed as limiting the present application. Based on the implementation manners in this application, all other implementation manners obtained by persons of ordinary skill in the art without creative efforts fall within the scope of protection of this application. Embodiments of the pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application provides an automatic interface testing method and device based on machine learning, belonging to the technical field of software testing. The method described in the present application includes obtaining the operation records generated by the system under test at least in the production link from the log file; obtaining the input parameters and output parameters of the API interface in the operation records and returning the output parameters from the input parameters API request protocol in the process; generate API interface test code according to the input parameters, output parameters and API request protocol; and execute the API interface test code to determine whether the system under test is running normally. The device described in the present application includes an operation record acquisition module, a parameter acquisition module, a test code generation module, and a test code execution module corresponding to each step of the above method. The application can automatically generate test codes for interface parameters, adjust the test process, and greatly improve the test stability of the system.

Description

technical field [0001] The present application belongs to the technical field of software testing, and in particular relates to a method and device for automatic interface testing based on machine learning. Background technique [0002] Software testing is the process of using manual or automatic means to run or test a software system, the purpose of which is to check whether it meets the specified requirements or to clarify the difference between the expected results and the actual results. [0003] The application programming interface (API) is gradually becoming the center of many software developments. Different systems and applications are connected through APIs to transmit data to each other. More and more systems are shifting from MVC architecture to microservice architecture, and each microservice interacts through Rest API. For enterprises, compared with UI testing after product development, API testing is easier to find problems in the early stages of software pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36G06N20/00
CPCG06F11/3684G06F11/3688G06F11/3692G06N20/00
Inventor 杨羽姚登科王君
Owner 北京斗米优聘科技发展有限公司