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

Fault injection test scene case model and framework based on service orchestration

A fault injection and service orchestration technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as difficult interpretation by testers, increased business pressure, system failures, etc., to save testing costs and simplify configuration Information, the effect of improving test efficiency

Pending Publication Date: 2020-05-19
TONGJI UNIV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. Different testing tools have different emphases (such as testing tools only used for fault injection and testing tools only used for user stress simulation), and these testing tools can only be used to test the target system one by one during the testing process, and cannot Integrate them together and use them together to achieve a more comprehensive test scenario;
[0004] 2. Existing test tools cannot reflect the process logic of branching, parallelism, waiting, etc., and cannot meet the requirements of more complex test scenarios
However, in the process of using microservice orchestration components (such as conductor) to implement service-oriented testing, the service orchestration files used to execute test cases often contain a large amount of configuration information about services, which is difficult for testers to interpret
In addition, the existing microservice orchestration components cannot implement specific test logic (for example, in the stress test, the business pressure is increased cyclically until the system fails)

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
  • Fault injection test scene case model and framework based on service orchestration
  • Fault injection test scene case model and framework based on service orchestration
  • Fault injection test scene case model and framework based on service orchestration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0029] The present invention proposes test tools and test logic service-oriented test modes:

[0030] (a) In the process of cloud-native system fault injection testing, the test tools that need to be used are encapsulated into separate test services, and each test service exposes its own test functions in the form of interfaces, and the test tools will be tested by the test framework through these interfaces Invoke or orchestrate in unison.

[0031] (b) F...

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 relates to a fault injection test scene case model and framework based on service arrangement. The case arrangement model describes a test case as a plurality of test flows composed of aplurality of test steps; the test steps and the test flows containing the special test logic are executed by calling the serviced test component, and the framework integrates an existing micro-service arrangement component and a serviced test tool on the basis of the arrangement model. After a user transmits a test case file described by the arrangement model to the test framework, an analyzer inthe test framework analyzes the test case into a workflow file and sends the workflow file to the micro-service arrangement component, and the micro-service arrangement component calls each test service according to the workflow file to execute the test case. Compared with the prior art, the method has the advantages of improving test efficiency, supporting special test logic service and the like.

Description

technical field [0001] The invention relates to the technical field of computer testing, in particular to a fault injection test scenario use case model and framework based on service arrangement. Background technique [0002] With the development of technologies such as network function virtualization and containerization, the topological structure of today's cloud-dependent systems (such systems are often called cloud-native systems) has become more complex, and its reliability is facing severe challenges. Traditional system reliability testing only includes simple fault injection. However, in order to verify the reliability of cloud-native systems, complex test scenarios need to be designed: in the test scenario, it is necessary to inject faults into the target system and simulate a large number of faults on the target system. In addition to user pressure, it is also necessary to continuously collect performance monitoring data and log data of the target system. In 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 TONGJI UNIV
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