Supercharge Your Innovation With Domain-Expert AI Agents!

Springboot framework-based distributed system test method and springboot framework-based distributed system test device

A distributed system and framework technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem of a single simulated abnormal scene, and achieve the effect of simple test operation and wide coverage

Pending Publication Date: 2020-08-07
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a distributed system testing method and device based on the springboot framework to at least solve the problem that the software testing method in the prior art simulates a single abnormal scene

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
  • Springboot framework-based distributed system test method and springboot framework-based distributed system test device
  • Springboot framework-based distributed system test method and springboot framework-based distributed system test device
  • Springboot framework-based distributed system test method and springboot framework-based distributed system test device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] This embodiment provides a distributed system testing method based on the springboot framework, which can be applied to the client side, wherein the client can be running in a mobile terminal, a handheld terminal or a similar computing device. Running on different computing devices is only a difference in the execution subject of the solution, and those skilled in the art can foresee that running on different computing devices can produce the same technical effect.

[0029] Such as figure 1 As shown, the distributed system testing method based on the springboot framework provided in this embodiment includes the following steps:

[0030] This proposal provides a distributed system testing method based on the springboot framework, which includes the following steps:

[0031] Step 101, when the distributed system starts, dynamically load the test aspect component to the entry point in the distributed system.

[0032] In this embodiment, based on an AOP (Aspect-Oriented P...

Embodiment 2

[0072] In this embodiment, a distributed system testing device based on the springboot framework is also provided, which is used to implement the above-mentioned embodiment 1 and its preferred implementation modes. For terms or implementations that are not described in detail in this embodiment, you can use Refer to the relevant descriptions in Embodiment 1, and those that have already been described will not be repeated.

[0073] The term "module" as used below is a combination of software and / or hardware that can realize a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also conceivable.

[0074] figure 2 is a schematic diagram of a distributed system testing device based on the springboot framework according to an embodiment of the present invention, such as figure 2 As shown, the device includes: a loading module 10 , a ju...

Embodiment 3

[0084] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0085] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.

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 provides a springboot framework-based distributed system test method and device, and the method comprises the steps: dynamically loading a test section assembly to an entry point in a distributed system when the distributed system is started; under the condition that an external request is received, the test section assembly of the entry point corresponding to the external request judges whether an exception needs to be generated or not according to first configuration information of the test management platform; and if so, the test section assembly corresponding to the entry point determines an exception type according to second configuration information of the test management platform and generates a corresponding exception. According to the method and the device, the technical problem that a software testing method in related technologies is relatively single in abnormal scene simulation is solved.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a distributed system testing method and device based on a springboot framework. Background technique [0002] With the rise of microservices and distributed cloud architectures, large-scale distributed cluster architectures have become an increasingly common architectural pattern in the software industry. While this architecture provides powerful service capabilities for software functions, it also puts forward higher and more stringent requirements for software testing and operation and maintenance. Compared with the traditional software architecture, the distributed architecture will face more unknown and uncontrollable factors in the actual production environment. [0003] For example, microservices split multiple business logics of traditional large systems into corresponding small systems called services. Each service interacts through the network. Compared with inter-proc...

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/3676G06F11/3688
Inventor 叶腾飞
Owner PING AN TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More