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

A failure testing tool and method for microservice applications

A failure testing and micro-service technology, applied in the Internet and Web fields, can solve problems such as low detection efficiency of fault injection space, time-consuming positioning and repair, etc.

Active Publication Date: 2020-12-08
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In short, the existing technology can realize the automatic execution of the test process, but the content of the execution process needs to be manually specified, and the detection efficiency of the fault injection space is not high
Secondly, the existing technology does not analyze common fault handling modes, causing developers to spend a lot of time locating and repairing defects after discovering fault scenarios that cannot be handled by the application

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 failure testing tool and method for microservice applications
  • A failure testing tool and method for microservice applications
  • A failure testing tool and method for microservice applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0096] Before explaining the present invention, relevant terms and the like will be explained.

[0097] Fault injection point (Injection Point, IP): A collection of locations where faults are injected at the same time, and it is a formal representation of a single result of solving the injection location.

[0098] Fault injection point set (Injection Point Set, IPS): All the results of solving the injection position are formally expressed as an IP set, namely IPS.

[0099] Valid Fault Injection Point (valid IPS): A fault injection point that causes an exception in the application.

[0100] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0101] Such as figure 1 As shown, a failure testing tool for microservice applications in the present invention includes: generating and collecting call chains, solving injection locations, fault injection and abnormal detection, and fault recovery mode detection. The process of solvin...

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 micro-service application oriented failure test tool and method, and the tool and method employs a constraint solving technology to automatically generate a to-be-tested fault injection point according to the monitoring information of a micro-service calling chain, and completes the injection and abnormity detection process. According to the method, the efficiency of the failure test process is improved by subtracting the injection points of the to-be-tested fault, and a developer is helped to quickly know the processing capacity of the application when the application has the fault. In addition, application behaviors are analyzed for common micro-service fault processing modes such as a timeout mode, a retry mode, a fusing mode and a cabin mode, developers can be assisted in quickly understanding actual fault recovery behaviors of applications, and the time for repairing fault recovery defects is shortened.

Description

technical field [0001] The invention relates to a microservice application-oriented failure testing tool and method, and belongs to the technical field of the Internet and the Web. Background technique [0002] With the continuous expansion of software scale and constant changes in business requirements, how to quickly deploy software products, flexibly allocate development tasks, and greatly accelerate iteration cycles has become an urgent problem for large companies such as Netflix, Google, and Amazon. In this context, microservice architecture and related technologies came into being. Netflix, Amazon, The Guardian, BBC, Twilio and other companies have applied the microservice architecture to the online environment. It has become a trend to develop cloud applications using microservice architecture. The microservice architecture divides a single application into multiple sub-modules that focus on a single function, and exchange information and provide services through st...

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/36
CPCG06F11/3688
Inventor 吴国全陈伟朱家鑫魏峻崔承旭
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI