Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface call-based dynamic test method and apparatus

A technology of dynamic testing and interface calling, applied in the field of data detection, can solve problems such as the inability to guarantee the accuracy of system R&D testing and the inability to fully apply the system, and achieve the effect of fast and accurate acquisition and improved efficiency

Inactive Publication Date: 2018-09-07
KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current system development and testing methods generally require testers to write test cases by themselves. However, in practical applications, due to system upgrades or interface changes, the previous test cases cannot be fully applied to the system, and the accuracy of system development and testing cannot be guaranteed.

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
  • Interface call-based dynamic test method and apparatus
  • Interface call-based dynamic test method and apparatus
  • Interface call-based dynamic test method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0049] Embodiment 1 of the present invention provides a specific implementation of a dynamic testing method based on interface calls, see figure 1 , the dynamic testing method specifically includes the following content:

[0050] Step 100: Generate a corresponding interface file according to the source code file of the target system in the softwa...

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 invention provides an interface call-based dynamic test method and apparatus. The dynamic test method comprises the steps of generating a corresponding interface file according to a source code file of a target system in a software development process, wherein the interface file comprises interface call information and parameter information; based on the interface call information and the parameter information in the current interface file, generating a test case file of the target system; testing the target system by applying the test case file, and storing a test result; and if the interface file is detected to be changed, generating a new test case file according to the interface call information and the parameter information in the changed interface file, testing the target systemagain by applying the new test case file, and storing a test result obtained after re-testing. Therefore, the research development test result of the system can be obtained effectively, quickly, accurately and dynamically, and the research development test efficiency of the system is improved.

Description

technical field [0001] The invention relates to the technical field of data detection, in particular to a dynamic testing method and device based on interface calling. Background technique [0002] With the rapid development of the Internet industry, more and more microservice development models are applied to software development projects, and each system service in the software development process does not exist independently, but needs to rely on or be relied upon In the process of system development and testing, it is easy to miss the hidden function test when testing the project purely from the perspective of function, or sorting out the test scope, so the evaluation of test scope and the formulation of test plan are important It is very important to do a test job. [0003] The current system development and testing methods generally require testers to write test cases by themselves. However, in practical applications, due to system upgrades or interface changes, the p...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 王蕾
Owner KE COM (BEIJING) TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products