A system testing method, device, computer equipment and storage medium
By obtaining and comparing channel-side requests and response messages of financial institution target systems, the problem of incomplete business testing in the existing technology is solved, and the comprehensive coverage testing of the new system is achieved, ensuring business accuracy.
Patent Information
- Application Number
- CN202011495933.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-17
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2040-12-17
AI Technical Summary
When financial institutions move the host platform downward, it is difficult for existing technology to fully cover business scenarios, transaction branches and data distribution, resulting in incomplete business tests of new systems and increasing risks.
By obtaining channel request messages and response messages of the target system, and simulating channel request messages, comparing and generating differential result files, ensuring a comprehensive coverage test of business scenarios, transaction branches and data distribution.
The business accuracy and comprehensive testing of the new system has been achieved, reducing the risk of omissions during the testing process.
Smart Images

Figure CN112597015B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of Internet financial technology, and in particular to a system testing method, device, computer equipment and storage medium. Background Art
[0002] To adapt to the development of new technologies, financial institutions have begun to carry out the task of moving down the host platform, reducing the host's operating load and resource investment costs by separating non-core product services from the host to an open platform.
[0003] When the business system of the host platform is transformed into a down-platform, it is necessary to conduct business testing on the new system of the open platform to ensure the business consistency between the new system and the original system. In the prior art, the business testing of the new system is mainly achieved by the tester writing a business test plan and executing the business test. However, for business systems with complex business scenarios, numerous transaction branches, and wide data distribution, the business testing method in the prior art is prone to omission of business scenarios, transaction branches or business data, resulting in the risk of incomplete consideration of all aspects of business testing. Summary of the invention
[0004] The embodiments of the present invention provide a system testing method, apparatus, computer equipment and storage medium to achieve comprehensive coverage testing of business scenarios, transaction branches and data distribution, thereby ensuring the business correctness of the new system.
[0005] In a first aspect, an embodiment of the present invention provides a system testing method, the method comprising:
[0006] If it is determined that the message acquisition condition is met, then in the target service system corresponding to the target system, multiple channel-side request messages and channel-side response messages matching each channel-side request message are acquired;
[0007] According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system;
[0008] Compare each channel-end response message with the corresponding simulated channel-end response message, and generate a difference result file based on the comparison results.
[0009] In a second aspect, an embodiment of the present invention further provides a system testing device, the device comprising:
[0010] A message acquisition module, for acquiring, if it is determined that the message acquisition condition is met, a plurality of channel-side request messages and a channel-side response message matching each channel-side request message in a target service system corresponding to the target system;
[0011] The simulated channel end response message acquisition module is used to simulate the process of the channel end sending each simulated channel end request message to the new service system according to each channel end request message, and obtain each simulated channel end response message returned by the new service system;
[0012] The message comparison module is used to compare the response message of each channel end with the corresponding response message of the simulated channel end, and generate a difference result file according to the comparison result.
[0013] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a system testing method as described in any one of the embodiments of the present invention is implemented.
[0014] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the system testing method as described in any one of the embodiments of the present invention.
[0015] The embodiment of the present invention obtains the channel-side request message and the channel-side response message in the target service system corresponding to the target system, and simulates the process of the channel side sending the simulated channel-side request message to the new service system, and compares each received simulated channel-side response message with the corresponding channel-side response message to obtain a difference result file. This solves the problem in the prior art that the test personnel write business test plans to perform business tests, which is easy to miss business scenarios, transaction branches or business data, and increases the risk of incomplete consideration of all aspects of business testing. It realizes comprehensive coverage testing of business scenarios, transaction branches and data distribution, thereby ensuring the business correctness of the new system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of a system testing method in Embodiment 1 of the present invention;
[0017] Figure 2a is a flow chart of a system testing method in Embodiment 2 of the present invention;
[0018] Figure 2b It is a schematic diagram of a test system in a specific applicable scenario 1 of the present invention;
[0019] Figure 3 is a structural schematic diagram of a system testing device in Embodiment 3 of the present invention;
[0020] Figure 4 It is a structural diagram of a computer device in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0021] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0022] Embodiment 1
[0023] Figure 1 This is a flow chart of a system testing method provided in Example 1 of the present invention. This embodiment is applicable to business testing of new systems and new service systems after the host is moved down in a banking system. The method can be executed by a system testing device, which can be implemented by software and / or hardware and is generally integrated in a computer device.
[0024] like Figure 1 As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:
[0025] S110. If it is determined that the message acquisition condition is met, then in the target service system corresponding to the target system, multiple channel-side request messages and channel-side response messages matching each channel-side request message are acquired.
[0026] Among them, the message acquisition condition is the collection condition of the transaction message. The transaction message can be collected regularly or according to the received message acquisition request. The embodiment of the present invention does not limit the specific content of the message acquisition condition. The target system is the original system deployed on the host platform, and the target service system is a system that matches the target system and is used to interact directly with the channel end. Exemplarily, the target system can be an ALS (Advanced Loan System, personal loan system) system, and the target service system can be an HFSI (House Finance Service Integration, personal loan service integration system) system.
[0027] The channel-side request message is a transaction request message sent by the channel-side system to the target service system. Correspondingly, the channel-side response message is a transaction response message fed back by the target service system to the channel-side system.
[0028] In an embodiment of the present invention, when the message acquisition condition is met, the channel-side request message and the channel-side response message in the target service system are collected. The target service system can actively upload the channel-side request message and the channel-side response message to the test system when the message acquisition condition is met, and can also feed back the channel-side request message and the channel-side response message to the test system in response to the message acquisition request of the test system.
[0029] S120. According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system.
[0030] The new service system is the service system corresponding to the new system after the host platform of the target system is moved down. For example, when the target system is an ALS system and the target service system is an HFSI system, the new system may be an NLS (New Advanced Loan System) system, and the new service system may be an independent HFSI environment.
[0031] In the embodiment of the present invention, the channel-side system sends a channel-side request message to the target service system, and the target service system processes the transaction according to the channel-side request message and then feeds back a channel-side response message to the channel-side system. After the target system moves down the host platform, the test system simulates the process of the channel-side system sending a channel-side request message to the target service system according to the channel-side request message, sends a simulated channel-side request message to the new service system, and receives a simulated channel-side response message fed back by the new service system.
[0032] S130, comparing each channel-end response message with the corresponding simulated channel-end response message, and generating a difference result file according to the comparison result.
[0033] In an embodiment of the present invention, the test system compares the channel-side response message corresponding to the same channel-side request message with the simulated channel-side response message, so as to test the business performance of the new system. At the same time, business testing is performed by comparing response messages, which can achieve comprehensive coverage of business scenarios, transaction branches and data distribution, and ensure the comprehensiveness of the new system test.
[0034] The technical solution of this embodiment obtains the channel-side request message and the channel-side response message in the target service system corresponding to the target system, and simulates the process of the channel end sending the simulated channel-side request message to the new service system, and compares each received simulated channel-side response message with the corresponding channel-side response message to obtain a difference result file. This solves the problem in the prior art that the test personnel write business test plans to perform business tests, which is easy to miss business scenarios, transaction branches or business data, and increases the risk of incomplete consideration of all aspects of business testing, and realizes comprehensive coverage testing of business scenarios, transaction branches and data distribution, thereby ensuring the business correctness of the new system.
[0035] Embodiment 2
[0036] Figure 2aIt is a flow chart of a system testing method provided in the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention further specifies the judgment process of satisfying the message acquisition conditions, the process of acquiring the message in the target service system, and the process of comparing the channel-side response message and the simulated channel-side response message.
[0037] Correspondingly, such as Figure 2a As shown, the technical solution of the embodiment of the present invention specifically includes the following steps:
[0038] S210, determine whether the preset timing condition is met, if yes, execute S230, otherwise execute S220.
[0039] Among them, whether the preset timing condition is met can be determined by detecting whether the preset timing time has been reached. For example, it can be set to 01:00 every day to obtain the message of the previous day.
[0040] Optionally, a restriction condition may be set to detect whether the message acquisition and system detection of the previous cycle have been completed, which is not limited in this embodiment.
[0041] S220, determine whether a message acquisition request is received, if yes, execute S230, otherwise return to execute S210.
[0042] The message acquisition request is used to acquire transaction messages in the target service system. In the embodiment of the present invention, when the test system receives the message acquisition request, it sends the message acquisition request to the target service system and receives the transaction message fed back by the target service system.
[0043] S230: Determine whether the message acquisition condition is met.
[0044] S240: Obtain a message corresponding to an account in a whitelist in a target service system corresponding to the target system.
[0045] Among them, the initial account in the whitelist can be the account corresponding to all transactions in the target service system. During the system testing process, the account corresponding to the transaction whose response message from the channel end is inconsistent with the response message from the simulated channel end is added to the blacklist. During the next cycle of system testing, only the message corresponding to the account in the whitelist is obtained, avoiding repeated comparison of accounts that already have differences.
[0046] Optionally, the target service system sends the messages corresponding to the accounts in the whitelist to the test system. The messages may be sent in order of transaction time or in groups of accounts. This embodiment does not limit the specific method in which the target service system sends the messages to the test system.
[0047] S250. Obtain the serial number corresponding to each message, and store the channel-side request message and the channel-side response message corresponding to the target serial number that meets the transaction integrity condition.
[0048] In the embodiment of the present invention, the transaction integrity condition refers to the existence of a complete transaction message for the transaction. After the test system obtains each message, it identifies the transaction information such as the transaction time, serial number, account number, and institution number of each message. Each transaction corresponds to only a unique global serial number. According to the serial number, it is determined whether the transaction messages corresponding to the transaction are complete, that is, the channel request message and the channel response message exist at the same time. The channel request message, channel response message, and the identified transaction information corresponding to the target serial number that meets the transaction integrity condition are stored.
[0049] S260. According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system.
[0050] Optionally, the channel-side response message is a response message generated by the target service system sending at least one request message to the target transaction system according to the channel-side request message, and according to at least one response message fed back by the target transaction system.
[0051] The target transaction system includes: a target system, or a target system and a peripheral system.
[0052] Peripheral systems are back-end component systems, such as deposit systems, customer service systems, and other systems.
[0053] In an embodiment of the present invention, the channel-side system sends a channel-side request message to the target service system. The target service system processes the transaction according to the channel-side request message. Depending on the transaction type, the target service system can interact with the target system or with the target system and the peripheral system. According to the target system response message, or the target system response message and the peripheral system response message, a channel-side response message is generated and fed back to the channel-side system.
[0054] The simulated channel-side response message is a simulated response message generated by the new service system according to at least one request message sent to the new transaction system according to the simulated channel-side request message and according to at least one response message fed back by the new transaction system.
[0055] The new trading system includes: a new system, or a new system and a peripheral system baffle.
[0056] In an embodiment of the present invention, the test system constructs a simulated channel-end request message based on the channel-end request message. After the new service system receives the simulated channel-end request message, it can interact with the new system, or interact with the new system and the peripheral system baffle. After the new service system receives the new system response message, or the new system response message and the response message fed back by the peripheral system baffle, it generates a simulated channel-end response message and sends it to the test system.
[0057] The simulated channel-end response message is a simulated response message generated by the new service system according to the simulated channel-end request message, which sends a new system request message and a peripheral system baffle request message to the new system and the peripheral system baffle, and according to the new system response message and the peripheral system baffle response message fed back by the new system and the peripheral system baffle.
[0058] The peripheral system baffle response message is a peripheral system response message obtained by the peripheral system baffle and matching the serial number of the peripheral system baffle request message.
[0059] In an embodiment of the present invention, when the new service system interacts with the new system and the peripheral system baffle, the new service system sends a new system request message to the new system and receives a new system response message fed back by the new system. The new service system sends a peripheral system baffle request message to the peripheral system baffle, and after the peripheral system baffle receives the peripheral system baffle request message, it obtains the peripheral system response message corresponding to the serial number stored in the test system according to the serial number in the peripheral system baffle request message, and feeds back the peripheral system response message to the new service system, and the new service system generates a simulation response message according to the new system response message and the peripheral system response message.
[0060] In the embodiment of the present invention, when the channel-side response message in the target service system is generated according to the target system response message and the peripheral system response message, correspondingly, the simulated channel-side response message in the new system also needs to be generated according to the new system response message and the peripheral system response message. A peripheral system baffle is set, and the peripheral system baffle directly identifies the peripheral system response message according to the serial number and returns it to the new service system, realizing the baffle function, flexibly returning the response message of other component systems actually required for each transaction, and ensuring the accuracy of each transaction.
[0061] S270, obtaining the serial number of each simulated channel-end response message, and performing field comparison between each simulated channel-end response message and the channel-end response message corresponding to the same serial number, and obtaining the target simulated channel-end response message and the corresponding target channel-end response message that are inconsistent with the comparison.
[0062] When the test system receives the simulated channel-side response message fed back by the new service system, it identifies the serial number of the simulated channel-side response message, and compares the fields of the simulated channel-side response message with the channel-side response message corresponding to the serial number.
[0063] S280. Generate a difference result file according to the target simulation channel end response message and the corresponding target channel end response message.
[0064] A difference result file is generated based on comparing the inconsistent simulated channel-side response message and the corresponding channel-side response message. The difference result file includes the location of the difference point and the difference data.
[0065] S290, add the account corresponding to the target simulated channel end response message that is inconsistent with the comparison to the blacklist. Return to S210.
[0066] The technical solution of this embodiment obtains the complete channel request message and channel response message of the transaction in the target service system corresponding to the target system, and simulates the process of the channel end sending the simulated channel request message to the new service system, and compares the fields of each received simulated channel response message with the corresponding channel response message, and obtains the difference result file according to the message with inconsistent field comparison. It solves the problem in the prior art that the test personnel write the business test plan to perform business testing, which is easy to miss business scenarios, transaction branches or business data, and increases the risk of incomplete consideration of all aspects of business testing, and realizes comprehensive coverage testing of business scenarios, transaction branches and data distribution, thereby ensuring the business correctness of the new system.
[0067] Specific application scenario 1
[0068] Figure 2b is a schematic diagram of a test system in a specific application scenario 1 of the present invention, such as Figure 2b As shown, the test system includes: a message playback system and a peripheral system intelligent baffle.
[0069] Under the original transaction process, each channel system sends a channel request message to the HFSI system. After the HFSI system interacts with the ALS system and the peripheral system respectively, it generates a channel response message based on the response messages fed back by the ALS system and the peripheral system, and feeds it back to the channel system. The HFSI system sends the whitelist transaction message to the message playback system in the test system. The message playback system selects the complete transaction message, that is, the channel request message and the channel response message for storage, and sends a simulated channel request message to the independent HFSI based on the channel request message. The independent HFSI interacts with the NLS system and the peripheral system intelligent baffle respectively. The peripheral system intelligent baffle obtains the peripheral system response message in the message playback system according to the serial number of the transaction. The independent HFSI generates a simulated channel response message based on the NLS system response message and the peripheral system response message. The message playback system compares the channel response message and the simulated channel response message corresponding to the same serial number, generates a difference result file, and thus realizes the business test of the NLS system.
[0070] Embodiment 3
[0071] Figure 3 3 is a schematic diagram of the structure of a system test device provided in the third embodiment of the present invention, the device comprises: a message acquisition module 310, a simulated channel end response message acquisition module 320 and a message comparison module 330, wherein:
[0072] The message acquisition module 310 is used to acquire multiple channel-side request messages and channel-side response messages matching each channel-side request message in a target service system corresponding to the target system if it is determined that the message acquisition condition is met;
[0073] The simulated channel end response message acquisition module 320 is used to simulate the process of the channel end sending each simulated channel end request message to the new service system according to each channel end request message, and obtain each simulated channel end response message returned by the new service system;
[0074] The message comparison module 330 is used to compare each channel end response message with the corresponding simulated channel end response message, and generate a difference result file according to the comparison result.
[0075] Obtain the channel request message and channel response message in the target service system corresponding to the target system, simulate the process of the channel end sending the simulated channel request message to the new service system, compare the received simulated channel response message with the corresponding channel response message, and obtain the difference result file. This solves the problem in the prior art that the test personnel write the business test plan to perform business testing, which is easy to miss business scenarios, transaction branches or business data, and increase the risk of incomplete consideration of all aspects of business testing. It realizes comprehensive coverage testing of business scenarios, transaction branches and data distribution, thereby ensuring the business correctness of the new system.
[0076] Based on the above embodiment, the message acquisition module 310 includes:
[0077] The message acquisition condition judgment unit is used to determine that the message acquisition condition is met if it is determined that the preset timing condition is met or a message acquisition request is received.
[0078] Based on the above embodiment, the message acquisition module 310 includes:
[0079] A whitelist message acquisition unit, used to acquire a message corresponding to an account in the whitelist in a target service system corresponding to the target system;
[0080] The message storage unit is used to obtain the serial number corresponding to each message, and store the channel-side request message and the channel-side response message corresponding to the target serial number that meets the transaction integrity condition.
[0081] Based on the above embodiment, the message comparison module 330 includes:
[0082] A field comparison unit is used to obtain the serial number of each simulated channel end response message, compare the fields of each simulated channel end response message with the channel end response message corresponding to the same serial number, and obtain the target simulated channel end response message and the corresponding target channel end response message that are inconsistent with the comparison;
[0083] The difference result file generating unit is used to generate a difference result file according to the target simulation channel end response message and the corresponding target channel end response message.
[0084] Based on the above embodiment, the device further includes:
[0085] The difference result processing module is used to add the account corresponding to the target simulation channel end response message that is inconsistent with the comparison to the blacklist.
[0086] Based on the above embodiment, the channel-side response message is a response message generated by the target service system according to at least one request message sent by the channel-side request message to the target transaction system and according to at least one response message fed back by the target transaction system;
[0087] The simulated channel-side response message is a simulated response message generated by the new service system according to at least one request message sent to the new transaction system according to the simulated channel-side request message and according to at least one response message fed back by the new transaction system.
[0088] Based on the above embodiment, the target transaction system includes: a target system, or a target system and a peripheral system;
[0089] The new trading system includes: a new system, or a new system and a peripheral system baffle.
[0090] Based on the above embodiment, the new trading system includes a new system and a peripheral system baffle;
[0091] The simulated channel-side response message is a simulated response message generated by the new service system according to the simulated channel-side request message, in which the new service system sends a new system request message and a peripheral system baffle request message to the new system and the peripheral system baffle, and according to the new system response message and the peripheral system baffle response message fed back by the new system and the peripheral system baffle;
[0092] The peripheral system baffle response message is a peripheral system response message obtained by the peripheral system baffle and matching the serial number of the peripheral system baffle request message.
[0093] The system testing device provided in the embodiment of the present invention can execute the system testing method provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0094] Embodiment 4
[0095] Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the computer device includes a processor 70, a memory 71, an input device 72 and an output device 73; the number of processors 70 in the computer device can be one or more. Figure 4 A processor 70 is taken as an example; the processor 70, memory 71, input device 72 and output device 73 in the computer device can be connected by a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0096] The memory 71 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as the modules corresponding to the system testing method in the embodiment of the present invention (for example, the message acquisition module 310, the simulated channel end response message acquisition module 320 and the message comparison module 330 in the system testing device). The processor 70 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 71, that is, implements the above-mentioned system testing method. The method includes:
[0097] If it is determined that the message acquisition condition is met, then in the target service system corresponding to the target system, multiple channel-side request messages and channel-side response messages matching each channel-side request message are acquired;
[0098] According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system;
[0099] Compare each channel-end response message with the corresponding simulated channel-end response message, and generate a difference result file based on the comparison results.
[0100] The memory 71 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 71 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 71 may further include a memory remotely arranged relative to the processor 70, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0101] The input device 72 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer device. The output device 73 may include a display device such as a display screen.
[0102] Embodiment 5
[0103] Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to execute a system testing method when executed by a computer processor, the method comprising:
[0104] If it is determined that the message acquisition condition is met, then in the target service system corresponding to the target system, multiple channel-side request messages and channel-side response messages matching each channel-side request message are acquired;
[0105] According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system;
[0106] Compare each channel-end response message with the corresponding simulated channel-end response message, and generate a difference result file based on the comparison results.
[0107] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the system testing method provided by any embodiment of the present invention.
[0108] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0109] It is worth noting that in the embodiment of the above-mentioned system testing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0110] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A system testing method, characterized in that: include: If it is determined that the message acquisition condition is met, the message corresponding to the account in the whitelist in the target service system corresponding to the target system is acquired; Obtain the serial number corresponding to each message, and store the channel request message and channel response message corresponding to the target serial number that meets the transaction integrity condition; According to the request messages of each channel end, the simulated channel end sends the request messages of each simulated channel end to the new service system, and obtains the response messages of each simulated channel end returned by the new service system; Obtain the serial number of each simulated channel end response message, compare the fields of each simulated channel end response message with the channel end response message corresponding to the same serial number, and obtain the target simulated channel end response message and the corresponding target channel end response message that are inconsistent with the comparison; Generate a difference result file according to the target simulation channel end response message and the corresponding target channel end response message; wherein the transaction integrity condition is that the transaction has a complete transaction message; the difference result file contains the location of the difference point and the difference data; The account corresponding to the response message of the target simulation channel that is inconsistent with the comparison is added to the blacklist.
2. The method according to claim 1, characterized in that Determine whether the conditions for obtaining the message are met, including: If it is determined that the preset timing condition is met, or a message acquisition request is received, it is determined that the message acquisition condition is met.
3. The method according to claim 1, characterized in that The channel-side response message is a response message generated by the target service system according to at least one request message sent by the channel-side request message to the target transaction system and according to at least one response message fed back by the target transaction system; The simulated channel-side response message is a simulated response message generated by the new service system according to at least one request message sent to the new transaction system according to the simulated channel-side request message and according to at least one response message fed back by the new transaction system.
4. The method according to claim 3, characterized in that The target transaction system includes: a target system, or a target system and a peripheral system; The new trading system includes: a new system, or a new system and a peripheral system baffle.
5. The method according to claim 4, characterized in that The new trading system includes a new system and a peripheral system baffle; The simulated channel-side response message is a simulated response message generated by the new service system according to the simulated channel-side request message, in which the new service system sends a new system request message and a peripheral system baffle request message to the new system and the peripheral system baffle, and according to the new system response message and the peripheral system baffle response message fed back by the new system and the peripheral system baffle; The peripheral system baffle response message is a peripheral system response message obtained by the peripheral system baffle and matching the serial number of the peripheral system baffle request message.
6. A system testing device, characterized in that: include: A message acquisition module, for acquiring, if it is determined that the message acquisition condition is met, a plurality of channel-side request messages and a channel-side response message matching each channel-side request message in a target service system corresponding to the target system; The simulated channel end response message acquisition module is used to simulate the process of the channel end sending each simulated channel end request message to the new service system according to each channel end request message, and obtain each simulated channel end response message returned by the new service system; The message comparison module is used to compare the response message of each channel end with the corresponding response message of the simulated channel end, and generate a difference result file according to the comparison result; The message acquisition module includes: A whitelist message acquisition unit, used to acquire a message corresponding to an account in the whitelist in a target service system corresponding to the target system; A message storage unit, used to obtain the serial number corresponding to each message, and store the channel-side request message and the channel-side response message corresponding to the target serial number that meets the transaction integrity condition; The message comparison module comprises: A field comparison unit is used to obtain the serial number of each simulated channel end response message, compare the fields of each simulated channel end response message with the channel end response message corresponding to the same serial number, and obtain the target simulated channel end response message and the corresponding target channel end response message that are inconsistent with the comparison; A difference result file generating unit is used to generate a difference result file according to the target simulation channel end response message and the corresponding target channel end response message; wherein the transaction integrity condition is that the transaction has a complete transaction message; the difference result file contains the location of the difference point and the difference data; The difference result processing module is used to add the account corresponding to the target simulation channel end response message that is inconsistent with the comparison to the blacklist.
7. The device according to claim 6, characterized in that The message acquisition module includes: The message acquisition condition judgment unit is used to determine that the message acquisition condition is met if it is determined that the preset timing condition is met or a message acquisition request is received.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the system testing method as described in any one of claims 1 to 5 is implemented.
9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the system testing method according to any one of claims 1 to 5 when executed by a computer processor.
