Message processing task test method, device and system, equipment and medium

A technology for message processing and testing methods, applied in the field of testing, can solve the problem of difficult avalanche testing of message processing tasks, and achieve the effects of easy maintenance and improvement, improved automation, and accurate results

Pending Publication Date: 2020-11-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the technical problems in the prior art that it is difficult to perform avalanche testing and other automated tests on message processing tasks, the embodiments of the present invention provide message processing task testing methods, devices, systems, equipment and media

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
  • Message processing task test method, device and system, equipment and medium
  • Message processing task test method, device and system, equipment and medium
  • Message processing task test method, device and system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrate...

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 message processing task test method, device and system, equipment and a medium. The method comprises the following steps: packaging an exception injection atom operation; obtaining a message processing task running environment; wherein the message processing task running environment comprises message queues set for each message producer and each message consumer, and an asynchronous message processor used for communicating with each message queue; executing a test task comprising at least one avalanche test case in the message processing task running environment, wherein a message processing exception is generated in each avalanche test case by calling at least one exception injection atomic operation; wherein the number of messages participating in message processing in the test task is greater than a preset threshold; and obtaining a test result corresponding to the test task. The method is simple to operate and accurate in result, and can greatly improve the construction efficiency of the avalanche test scene of the asynchronous message system.

Description

technical field [0001] The invention relates to the field of testing, in particular to a message processing task testing method, device, system, equipment and medium. Background technique [0002] Complex systems can usually be used to run message processing tasks with a large amount of data. The data volume of message processing tasks may also cause pressure on complex systems, which is a severe test for their robustness. For example, if a complex system is robust If the stickiness is insufficient, it often happens that a certain basic service is unavailable and the entire system is unavailable. This phenomenon is called the service avalanche effect. To form a large-scale failure or overall failure, there is only one mode, that is, system one. At the beginning, local and small-scale failures appeared. However, due to various reasons, the scope of the influence of the failures became larger and larger, and finally led to global consequences. This is the reason for the avalan...

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
CPCG06F11/3688G06F11/3672
Inventor罗彩云
OwnerTENCENT TECH (SHENZHEN) CO LTD