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

Interface fault tolerance test method and apparatus

A test method and interface technology, which is applied in the direction of faulty hardware test method, error detection/correction, faulty computer hardware detection, etc., can solve the problems of high operation complexity and low test efficiency, and achieve simple operation and high test efficiency Effect

Inactive Publication Date: 2018-11-13
北京龙之心科技有限公司
View PDF17 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for interface fault-tolerant testing to solve the problems of high operational complexity and low testing efficiency in the prior art

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 fault tolerance test method and apparatus
  • Interface fault tolerance test method and apparatus
  • Interface fault tolerance test method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, 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.

[0039] In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be n...

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 embodiment of the invention provides an interface fault tolerance test method and apparatus, and relates to the technical field of computer applications. The method comprises the steps of when anupdate condition under a current test strategy is met, updating a fault tolerance scheme in a state machine; hijacking returning data returned by an interface; and modifying the returning data according to a current fault tolerance scheme in the state machine, and forwarding modified returning data to a client to perform an interface fault tolerance test. By adopting the technical scheme providedby the invention, the fault tolerance scheme can be modified dynamically in test run, and the modified fault tolerance scheme is applied in real time; the operation is simple, and the testing efficiency is high.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer applications, and in particular to a method and device for testing interface fault tolerance. Background technique [0002] During the operation of the client, due to the unstable service or network instability of the server, the interface of the server will return many exceptions, for example: some fields in the returned data are missing or the return is empty. At this time, if the client does not take measures to protect this state, it is easy to cause the client to crash. [0003] Therefore, testers need to do certain fault-tolerant tests on the interface during the testing process. However, in the prior art, during each test run, only a fault-tolerant test of a predetermined fault-tolerant scheme can be performed for all interfaces. The device can make the newly configured fault tolerance scheme take effect. It can be seen that the interface fault-tolerant testing...

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/22
CPCG06F11/221G06F11/2273
Inventor 张钊张菊元
Owner 北京龙之心科技有限公司