System for automatically testing stability of application program interface and method

A technology of application programming interface and automated testing, applied in the field of computer information, can solve the problems of interface stability testing, etc., and achieve the effects of improving comprehensiveness and reliability, convenient reference, and wide coverage

Active Publication Date: 2015-10-28
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Now there are many methods for computer to test the background interface function of the application program, such as based on the Web UI interface test framework, which introduces a set of automated interface function test methods and the structural design of a new type of test case; there is also Taobao’s interface test Framework, the interface testing framework tends to be white box testing; but there is basically no test for the stability of the application background interface. As the Internet environment becomes more and more complex, the possibility o

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
  • System for automatically testing stability of application program interface and method
  • System for automatically testing stability of application program interface and method
  • System for automatically testing stability of application program interface and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] See figure 1 , figure 1 It is a system structure diagram of an automated test application program interface stability in the first embodiment. figure 1 The system for automatically testing the stability of the application program interface shown is applied to intelligent terminal equipment, and the intelligent terminal equipment includes desktop computers, mobile notebook computers, intelligent test terminal equipment, etc. After the operation strategy and the written use case template, the operation strategy and test cases can be customized or automatically generated for different application background interfaces. The test case coverage is wide, and the detailed test log log can also be automatically generated, which is convenient for developers and designers to view the test results. .

[0039] Combine below figure 1 , specifying the structural composition of a system for automatically testing the stability of an application program interface. As shown in the fig...

Embodiment 2

[0058] This embodiment discloses a method for automatically testing the stability of an application program interface. The method cooperates with the implementation of a system for automatically testing the stability of an application program interface disclosed in Example 1, and can automatically generate test cases for the background interface of the application program. Wide coverage of use cases, user-defined strategies to run tests, automatic running tests, and automatic generation of detailed test logs. The specific process steps are attached figure 2 shown in , including:

[0059] Step S201, the operation policy library generates the first test strategy of the application program background interface that needs to be run according to the command of the operation controller and transmits it to the operation controller. The application program background interface test strategy includes but is not limited to: the number of concurrent users, use case operation The number...

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 discloses a system for automatically testing stability of an application program interface and a method. The system comprises an operation controller, a monitor and log generator, a use case generator, a use case template library and an operation strategy library, wherein the operation controller is respectively connected with the monitor and log generator, the use case generator and the operation strategy library; the use case generator is connected with the use case template library; according to a backstage interface type of the application program, the operation controller is used for reading a test strategy of the operation strategy library, calling the use case generator to generate a test use case, reading the above test use case for test operation finally, and monitoring operation of the test strategy and a restoration function in the case of abnormal test. The system can automatically generate the test use case for the application program backstage interface, the test use case coverage is wide, the strategy can be self defined for operating the test, an automatic test operation function is provided, and a detailed test log can be generated automatically.

Description

technical field [0001] The invention relates to the field of computer information technology, in particular to a system and method for automatically testing the stability of an application program interface. Background technique [0002] Now there are many methods for computer to test the background interface function of the application program, such as based on the Web UI interface test framework, which introduces a set of automated interface function test methods and a new type of test case structure design; there is also Taobao’s interface test Framework, the interface testing framework tends to white box testing; but there is basically no test for the stability of the application background interface. As the Internet environment becomes more and more complex, the possibility of vicious attacks on the application background interface is increasing , the security and stability of the application background interface is becoming more and more important, and the interface ca...

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
IPC IPC(8): G06F11/36
Inventor 杨远波陈鹏辉
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products