Test method and system for distributed system, electronic equipment and storage medium
A technology of distributed systems and testing methods, which is applied in the field of financial technology, can solve problems such as the reduction of test accuracy, achieve the effects of improving accuracy, solving test problems, and improving test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] According to an embodiment of the present invention, an embodiment of a security guarantee method for a financial account is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0042] figure 1 is a flow chart of an optional testing method for a distributed system according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:
[0043] Step S101, initiate transaction service.
[0044] Step S102, divert the transaction service to the network service environment corresponding to the distributed exception simulator.
[0045] Step S103, inject at least one preset fault into the network service environment, co...
Embodiment 2
[0066] figure 2 is a schematic diagram of an optional test system for a distributed system according to an embodiment of the present invention, such as figure 2 As shown, the test system at least includes: a transaction terminal device, a gateway device, a first-class server group and a distributed abnormal simulator, wherein the transaction terminal device is used to initiate a transaction service, and send the transaction service to the first A first-class server, the first-class server group contains multiple first-class servers; the first-class server guides transaction services to the network service environment corresponding to the distributed abnormal simulator; the distributed abnormal simulator injects at least A preset fault is sent to the network service environment, and the compensation operation of the sub-transaction is completed earlier than the forward operation, and the empty rollback test operation is realized. The sub-transaction refers to the distributed ...
Embodiment 3
[0100] Figure 9 It is a flow chart of the test system operation of an optional simulated empty rollback test scenario according to an embodiment of the present invention, such as Figure 9 As shown, the method includes the following steps:
[0101] Step S100: Push the service list with special tags to the registration center when the distributed exception simulator starts.
[0102] Step S200: The registration center pushes the service list to the consumer server group.
[0103] Step S300: The consumer server group locally caches the service list.
[0104] Step S400: The configuration center configures service parameters that require empty rollback tests, and the configuration center pushes the parameters to the consumer server group in real time.
[0105] Step S500: Inject faults into the fault injection module in the distributed exception simulator.
[0106] Step S600: The transaction terminal device initiates a transaction.
[0107] Step S700: The transaction reaches t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com