Business system testing method, electronic device and storage medium

By using the pre-stored business data of the online business system to simulate its interaction with the external system, the high cost and stability of deploying external systems in the pre-release environment is solved, and efficient business processing testing and risk discovery is achieved in the pre-release environment.

CN114996106BActive Publication Date: 2024-11-12MASHANG CONSUMER FINANCE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202210431286.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2024-11-12
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

When complex business systems run in pre-release environments, multiple external systems need to be deployed, which leads to high costs and may affect the stability of online business systems, and it is difficult to effectively test business interaction data in pre-release environments.

Method used

By obtaining pre-stored business data of the online business system, simulating its interactive data with the external system, it is used to complete business processing tests in the pre-release business system, avoiding direct call to the online system, and ensuring the stability of the online system.

Benefits of technology

There is no need to deploy multiple external systems in a pre-release environment, which can effectively complete business processing tests, ensure the stability of online business systems, and discover potential risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996106B_ABST
    Figure CN114996106B_ABST
Patent Text Reader

Abstract

The present application discloses a testing method, electronic device and storage medium for a business system, the method comprising: obtaining a first business request issued by a pre-release business system when performing a business processing test, wherein the pre-release business system is updated from an online business system, and the first business processing request is used to request an external system to feedback business response data; finding target business response data corresponding to the first business request from pre-stored business data, wherein the pre-stored business data includes multiple business interaction data between the online business system and the external system when performing business processing; feeding back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data. Through the above manner, the present application enables the pre-release business system to restore the business interaction data of the online business system to complete the business processing test of the pre-release business system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of system testing, and in particular to a testing method, electronic device and storage medium for a business system. Background Art

[0002] The pre-release business system is used for the final acceptance test before the business system is released and launched after the test environment test is completed. The purpose of testing the pre-release business system is to avoid missing defects in the business system due to differences between the test environment and the online environment. The configuration of the pre-release business system is basically the same as the online business system, except that the servers used by the pre-release business system and the online business system are different. The data that the pre-release business system relies on is the data generated by the online business system, and the data and table structure changes will be updated before the version is released.

[0003] Complex business systems rely on many external systems. When running a pre-release business system in a pre-release environment, all external systems that it depends on need to be deployed to the pre-release environment, which is very costly. If the online business system is called directly, it may affect the stability of the online business system and even tamper with the online business data. Summary of the invention

[0004] The main technical problem solved by the present application is to provide a business system testing method, electronic device and storage medium, which can enable a pre-release business system to restore the business interaction data of an online business system to complete the business processing test of the pre-release business system.

[0005] The first aspect of the present application provides a testing method for a business system, the method comprising: obtaining a first business request issued by a pre-release business system when performing a business processing test, wherein the pre-release business system is updated by an online business system, and the first business processing request is used to request an external system to feedback business response data; searching for target business response data corresponding to the first business request from pre-stored business data, wherein the pre-stored business data includes multiple business interaction data between the online business system and the external system when performing business processing; and feeding back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data.

[0006] A second aspect of the present application provides another method for testing a business system, the method comprising: using an online plug-in to collect business data of an online business system when performing business processing, wherein the business data includes business interaction data between the online business system and an external system; using a verification service device to store the business data as pre-stored business data; using a pre-release plug-in to collect business requests sent by a pre-release business system to an external system when performing business processing testing, wherein the pre-release business system is updated from the online business system; using a verification service device to find target business response data corresponding to the first business request from the pre-stored business data, and feeding back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data.

[0007] The third aspect of the present application provides an electronic device, which includes: the device includes a memory and a processor coupled to each other, the memory stores program instructions, and the processor is used to execute the program instructions stored in the memory to implement the methods described in the first and second aspects above.

[0008] A fourth aspect of the present application provides a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed to implement the methods described in the first and second aspects above.

[0009] The beneficial effect of the present application is that, unlike the prior art, the present application can obtain the business interaction data of the online business system from the pre-stored business data, so that there is no need to deploy multiple external systems in the environment of the pre-released business system, and the business interaction data between the online business system and the external system when performing business processing can be obtained, and then the business processing test of the pre-released business system can be completed based on the business interaction data of the online business system. Furthermore, since the pre-released business system in the present application obtains the business interaction data of the online business system from the pre-stored business data instead of directly calling the online business system, the stability of the online business system can also be guaranteed, and the online business data will not be tampered with. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is a flowchart of the first implementation method of the business system testing method provided by the present application;

[0011] Figure 2 It is a flowchart of a second implementation method of a business system testing method provided by the present application;

[0012] Figure 3 It is a flowchart of a third implementation method of a business system testing method provided by the present application;

[0013] Figure 4It is a flowchart of a fourth implementation method of a business system testing method provided by the present application;

[0014] Figure 5 It is a structural diagram of a fifth implementation method of a business system testing method provided by the present application;

[0015] Figure 6 It is a structural diagram of a specific application mode of a testing method for a business system provided by the present application;

[0016] Figure 7 It is a schematic diagram of the framework structure of the electronic device provided by the present application;

[0017] Figure 8 It is a schematic diagram of a framework of an implementation scheme of a computer-readable storage medium provided in the present application. DETAILED DESCRIPTION

[0018] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0019] It should be noted that in the embodiments of the present application, there are descriptions involving "first", "second", etc., which are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0020] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0021] See also Figure 1 , Figure 1 : is a flow chart of a first implementation method of a business system testing method provided by the present application, the method comprising:

[0022] S110: Acquire a first service request issued by the pre-release service system when performing service processing testing.

[0023] In one implementation, step S110 may be executed by a verification service device. The pre-release business system is updated from the online business system. The pre-release business system and the online business system may contain different code logics. Users may use the same business data to verify different code logics.

[0024] The first business request is sent by the pre-release business system to the external system, and is used to request the external system to feedback business response data. In one embodiment, the first business request issued by the pre-release business system when performing a business processing test can be intercepted and obtained by the verification service device. In another embodiment, the first business request issued by the pre-release business system when performing a business processing test can be obtained by the pre-release plug-in, and the first business request can be forwarded to the verification service device. Specifically, after the pre-release plug-in obtains the first business request issued by the pre-release business system when performing a business processing test, the request response address of the first business request can be modified from the address of the external system to the address of the verification service device, so that the pre-release business system accesses the verification service device. Among them, the pre-release plug-in can be generated using a preset plug-in in pre-release mode. The pre-release plug-in and the verification service device can be installed on one side of the pre-release business system.

[0025] S120: Searching for target service response data corresponding to the first service request from pre-stored service data.

[0026] In one embodiment, the pre-stored business data is stored in the verification service device, and the pre-stored business data includes a plurality of business interaction data between the online business system and the external system when performing business processing. The business interaction data may include a plurality of second business requests sent by the online business system to the external system, and a plurality of business response data of the external system to the plurality of second business requests.

[0027] In a specific embodiment, an online plug-in is installed on one side of the online business system, and multiple business interaction data between the online business system and the external system when performing business processing is obtained through the online plug-in. Among them, the online plug-in can be generated using a preset plug-in in online mode. When the online business system sends a second business request to the external system, the online plug-in can asynchronously collect the second business request; when the external system feeds back the relevant business response data to the online business system based on the second business request, the corresponding business response data is collected, and the second business request and the corresponding business response data are sent to the verification service device, and the verification service device saves the second business request and the corresponding business response data. It can be understood that the online business system can send multiple second business requests to an external system to obtain different business response data. The online business system can also send multiple second business requests to multiple external systems to obtain multiple business response data from multiple external systems.

[0028] In this embodiment, the first service request and the second service request may include: URI (Uniform Resource Identifier), Header (a string sent by the server before transmitting HTML data to the browser using the HTTP protocol), input parameters, output parameters, trigger time, necessary service identifier and other information.

[0029] S130: Feedback the target business response data to the pre-release business system. The target business response data is used by the pre-release business system to complete a business processing test based on the target business response data.

[0030] In one embodiment, the target business response data includes multiple business interaction data between the online business system and the external system when performing business processing. The pre-release business system performs business processing testing based on the target business response data, which can 100% restore the data of the online business system and effectively discover the risks of the pre-release business system.

[0031] In this embodiment, the preset plug-in can have two modes, an online mode and a pre-release mode. In one embodiment, the preset plug-in includes a configuration identifier, which can automatically switch modes according to the environment identifiers of the pre-release environment and the online environment. The preset plug-in in the pre-release environment is in the pre-release mode, and the preset plug-in in the online environment is in the online mode.

[0032] The above method allows the verification service device to obtain the first business request issued by the pre-release business system when performing business processing tests, and based on the first business request, find the target business response data corresponding to the first business request from the pre-stored business data of the verification service device, wherein the pre-stored business data includes multiple business interaction data between the online business system and the external system when performing business processing. Further, the verification service device feeds back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data. Through the above method, the business interaction data of the online business system can be obtained from the pre-stored business data, so that there is no need to deploy multiple external systems in the pre-release environment, and multiple business interaction data between the online business system and the external system when performing business processing can also be obtained, so that the pre-release business system can be operated based on multiple business interaction data, and problems with the pre-release business system can be effectively discovered.

[0033] See also Figure 2 , Figure 2 : is a flow chart of a second implementation of a testing method for a business system provided by the present application, the method comprising:

[0034] S210: Acquire a first service request issued by the pre-release service system when performing service processing testing.

[0035] In one embodiment, the verification service device obtains a first business request forwarded by a pre-release plug-in, wherein the first business request is intercepted and forwarded to the verification service device when the pre-release plug-in sends the first business request to an external system when the pre-release business system performs a business processing test. Specifically, after intercepting the first business request, the pre-release plug-in can also modify the request response address of the first business request, modify its request response address from the address of the external system to the address of the verification service device, and send the modified first business request to the verification service device. Among them, the first business request can also include input parameters (incoming parameters contained in the first business request sent by the pre-release business system to the external system), trigger time, necessary business identifiers and other information.

[0036] S220: Compare the input parameters in the first service request with the input parameters in each second service request.

[0037] The verification service device stores a plurality of second business requests and their corresponding business response data. The second business request and its corresponding business response data are asynchronously collected and stored in the verification service device by the online plug-in when the online business system calls the business data of the external system. Among them, the second business request also includes input parameters (the input parameters contained in the second business request sent when the online business system calls the business data of the external system), output parameters (output parameters for the input parameters), trigger time, necessary business identification and other information. In a specific embodiment, the input parameters can be parameters input by the user, and the output parameters can be output parameters fed back by the interface for the information input by the user. For example, if you enter "mobile phone" on the homepage of Taobao, a list of mobile phones will appear. The input parameter is "mobile phone", and the output parameter is a list of mobile phones composed of the relevant information of the mobile phone (name, model, price, etc.).

[0038] S230: Based on the comparison result, determine a second service request that matches the input parameter of the first service request.

[0039] In one implementation, a service request in the pre-stored service data that is consistent with the input parameter of the first service request may be used as the second service request.

[0040] S240: Use the service response data corresponding to the second service request as target service response data.

[0041] The service response data corresponding to the second service request matching the input parameter of the first service request is used as the target service response data.

[0042] S250: Feedback the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data.

[0043] After the pre-release business system obtains the target business response data stored in the verification service device, it runs the logic code based on the target business response data to complete the business processing test. It can be understood that during the business processing test, the pre-release business system can issue the first business request multiple times according to the business process, and the verification service device feeds back multiple target business response data based on the first business request.

[0044] In this embodiment, the online plug-in is generated using a preset plug-in in online mode, which is installed on one side of the online business system; the pre-release plug-in is generated using a preset plug-in in pre-release mode, which is installed on one side of the pre-release business system. The online plug-in and the online business system are located in the online environment, which is also called the production environment; the pre-release plug-in and the pre-release business system are located in the pre-release environment, and further, the verification service device is also located in the pre-release environment. The online environment and the pre-release environment are two separate environments. In one embodiment, we can set a message middleware between the two environments and interact through the message middleware (such as Kafka, RabbitMQ, RocketMQ) to prevent the pre-release environment from directly accessing the online environment.

[0045] See also Figure 3 , Figure 3 : is a flow chart of a third implementation method of a business system testing method provided by the present application, the method comprising:

[0046] S310: Obtain first verification indicator data of the pre-release business system.

[0047] In one embodiment, the pre-release plug-in can obtain first verification indicator data of the pre-release business system while intercepting the first business request sent by the pre-release business system, and send the first verification indicator data to the verification service device, wherein the first verification indicator data is used to characterize the situation of the pre-release business system performing a business processing test process.

[0048] S320: Compare the first verification indicator data with the second verification indicator data in the pre-stored business data to obtain the test result of the pre-release business system.

[0049] In one embodiment, the verification service device compares the first verification indicator data with the second verification indicator data in the pre-stored business data, and determines the test result of the pre-release business system according to the comparison result. The test result may include whether the pre-release business system can operate normally, the difference between the pre-release business system and the online system, etc. Among them, the second verification indicator data can be obtained by the online plug-in and stored in the verification service device, and the second verification indicator data is used to characterize the situation of the business processing process of the online business system. The online plug-in can collect the second verification indicator data while collecting the second external request issued by the online business system to the external system.

[0050] In another embodiment, the verification service device may also perform preset processing on at least one of the first verification indicator data and the second verification indicator data, wherein the preset processing includes at least one of display and analysis. The first verification indicator data and the second verification indicator data may both include at least one of business indicator data and performance indicator data, wherein the business indicator data is used to characterize the processing of the business processing test process or the business processing process, and the performance indicator data is used to characterize the performance of the business processing test process or the business processing process.

[0051] Specifically, the first verification indicator data may include first business indicator data and first performance indicator data. The first business indicator data is used to characterize the processing of the business processing test process, which may include the business processing test time, business processing test results, etc.; the first performance indicator data is used to characterize the performance of the business processing test process, which may include the storage capacity during the business processing test process. The second verification indicator data may include second business indicator data and second performance indicator data. The second business indicator data is used to characterize the processing of the business processing process, which may include the business processing time, business processing results, etc.; the second performance indicator data is used to characterize the performance of the business processing process, which may include the storage capacity during the business processing process. The user can display the first verification indicator data or the second verification indicator data through the verification service device, and can also analyze the first verification indicator data or the second verification indicator data through the verification service device to obtain relevant information of the online business system or the pre-release business system. The steps included in this embodiment can all be performed by the verification service device.

[0052] See also Figure 4-5 , Figure 4 is a flowchart of a fourth implementation method of a business system testing method provided by the present application, Figure 5 : is a structural diagram of a fifth implementation method of a business system testing method provided by the present application, the method comprising:

[0053] S410: Using the online plug-in to collect business data of the online business system when performing business processing.

[0054] S420: Using the verification service device to store the business data as pre-stored business data.

[0055] S430: Using the pre-release plug-in to collect the first service request sent by the pre-release service system to the external system when performing service processing testing.

[0056] S440: Using the verification service device to search for target business response data corresponding to the first business request from pre-stored business data, and feeding back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data.

[0057] In one embodiment, the business data includes business interaction data between the online business system and the external system. During the operation of the online business system, when the online business system calls the data of the external system, such as Figure 5 As shown, when the online business system needs to call the business data of system A, it can issue an Http request to system A, and system A will feed back the relevant business data to the online business system based on the Http request. In this process, the online plug-in installed on one side of the online business system asynchronously collects the Http request issued by the online business system to system A, and stores the information contained in the Http request and the business data fed back by system A (i.e., the request result in the figure) to the verification service device through the message middleware. Furthermore, as the online business system runs, it can also call the business data of system B, system C, etc. Similarly, the online plug-in is used to obtain multiple Http requests issued by the online business system, and the request information and the business data fed back by multiple systems are stored in the verification service device through the message middleware.

[0058] When the pre-release business system performs business processing testing, it can send a first business request to an external system. The pre-release plug-in on the pre-release business system side can intercept the first business request and forward the first business request to the verification service device. Furthermore, the pre-release plug-in can also modify the request response address of the first business request from the address of the external system to the address of the verification service device, and send the modified first business request to the verification service device. This allows the pre-release business system to access the verification service device instead of the external business system.

[0059] The verification service device can compare the input parameters of the first business request with the input parameters of the business request contained in the pre-stored business data, and use the business data corresponding to the business request that matches the input parameters of the first business request in the pre-stored business data as the target business response data, and feed the target business response data back to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data. The pre-release business system is updated from the online business system. Figure 5 As shown, when the pre-release business system needs to call the business data of system A, the pre-release plug-in can intercept the first access request issued by it and modify the request response address, so that the pre-release business system accesses the verification service device and obtains the business data of system A from the verification service device.

[0060] In another embodiment, the pre-release plug-in may not intercept the first access request sent by the pre-release business system to the external system, so that the pre-release business can obtain the business data of the external system. It can be understood that the user can set whether the plug-in intercepts the first access request sent by the pre-release business system to the external system according to business needs, or the user can set the plug-in to intercept a specific first access request, and the specific setting method is not limited here.

[0061] See also Figure 6 , Figure 6 It is a structural diagram of a specific application mode of a testing method for a business system provided by this application.

[0062] In the process of intelligent risk control approval, the approval process usually goes through multiple rounds of risk control decisions and multiple real-time data calculations or acquisitions. The external data source data, real-time variable data, internal data, etc. that risk control approval relies on usually change rapidly. Once there is a time difference, it is usually difficult to restore the real approval data scenario.

[0063] like Figure 6 As shown, the application form in the risk control approval process will first execute the online approval process, and the risk control data such as external data sources, variables, models, quotas, and account information that are relied on in the approval process will be called through Http requests. When calling, the information contained in these Http requests and the data information obtained by the call (i.e., risk control data such as external data sources, variables, models, quotas, and account information) can be asynchronously collected through online plug-ins, and the information contained in the Http requests and the data information obtained by the call can be written into the verification service device, and the verification service device can store this information through redis or Hbase.

[0064] After the pre-release business system sends out an Http request for risk control data such as external data sources, variables, models, quotas, and account information, the pre-release plug-in can intercept the Http request, modify the request response address contained in the Http request, and modify the request response address to the address of the verification service device. At the same time, it will collect the business indicator data and performance indicator data of the pre-release business system, and send the modified Http request and business indicator data and performance indicator data to the verification service device. The verification service device feeds back the corresponding business data to the pre-release business system based on the modified Http request, and can analyze the business indicator data and performance indicator data of the pre-release business system. The pre-release business system runs the logic code contained in it based on the business data fed back by the verification service device.

[0065] Through the above method, the data scene of the application form in the online environment can be effectively recorded, and the data scene of the application form in the online environment can be restored in the pre-release environment. Production risks can be effectively discovered in the pre-release environment.

[0066] See also Figure 7 , Figure 7 It is a schematic diagram of the framework structure of the electronic device provided in this application.

[0067] The electronic device 70 includes a memory 71 and a processor 72 coupled to each other, the memory 71 stores program instructions, and the processor 72 is used to execute the program instructions stored in the memory 71 to implement the steps of any of the above-mentioned method implementation methods. In a specific implementation scenario, the electronic device 70 may include, but is not limited to: a microcomputer, a server, and in addition, the electronic device 70 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.

[0068] Specifically, the processor 72 is used to control itself and the memory 71 to implement the steps of any of the above-mentioned organizational system construction method implementation methods. The processor 72 can also be called a CPU (Central Processing Unit). The processor 72 may be an integrated circuit chip with signal processing capabilities. The processor 72 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 72 can be implemented by an integrated circuit chip.

[0069] See also Figure 8 , Figure 8 It is a schematic diagram of a framework of an implementation scheme of a computer-readable storage medium provided in the present application.

[0070] The computer-readable storage medium 80 stores program instructions 81 , and when the program instructions 81 are executed by a processor, they are used to implement the steps in any of the above method embodiments.

[0071] The computer-readable storage medium 80 may specifically be a medium that can store computer programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server that stores the computer program. The server may send the stored computer program to other devices for execution, or may execute the stored computer program itself.

[0072] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A business system testing method, characterized in that: The method comprises: Acquire a first business request issued by a pre-release business system when performing a business processing test, wherein the pre-release business system is obtained by updating an online business system, and the first business request is used to request an external system to feedback business response data; Searching for target business response data corresponding to the first business request from pre-stored business data, wherein the pre-stored business data includes a plurality of business interaction data between the online business system and the external system when performing business processing; Feeding back the target service response data to the pre-release service system, wherein the target service response data is used by the pre-release service system to complete the service processing test based on the target service response data; The step of searching the pre-stored service data for target service response data corresponding to the first service request includes: Determine a second service request that matches an input parameter of the first service request; Using the service response data corresponding to the second service request as the target service response data of the first service request; The method further comprises: Acquire first verification indicator data of the pre-release business system, wherein the first verification indicator data is used to characterize the situation of the pre-release business system performing a business processing test process; Compare the first verification indicator data with the second verification indicator data in the pre-stored business data to obtain the test result of the pre-release business system, wherein the second verification indicator data is used to characterize the business processing process of the online business system; and / or, perform preset processing on at least one of the first verification indicator data and the second verification indicator data, wherein the preset processing includes at least one of display and analysis.

2. The method according to claim 1, characterized in that The multiple business interaction data include multiple second business requests sent by the online business system to the external system, and multiple business response data of the external system to the multiple second business requests.

3. The method according to claim 1, characterized in that The method is performed by a verification service device; The obtaining of the first service request issued by the pre-release service system when performing service processing testing includes: The first business request forwarded by the pre-release plug-in is obtained, wherein the first business request is intercepted and forwarded to the verification service device when the pre-release plug-in sends the first business request to the external system during business processing testing of the pre-release business system.

4. The method according to claim 3, characterized in that The pre-release plug-in is generated using a preset plug-in in a pre-release mode; and / or, the request response address of the first service request forwarded by the pre-release plug-in is modified by the pre-release plug-in from the address of the external system to the address of the verification service device; And / or, the pre-release plug-in and the verification service device are both installed on the pre-release business system side.

5. The method according to claim 1, characterized in that The first verification indicator data and the second verification indicator data each include at least one of business indicator data and performance indicator data, the business indicator data being used to characterize the business processing test process or the processing status of the business processing process, and the performance indicator data being used to characterize the performance status of the business processing test process or the business processing process; And / or, the method is executed by a verification service device, and the first verification indicator data is collected by a pre-release plug-in and fed back to the verification service device.

6. The method according to claim 1, characterized in that The method is performed by a verification service device, and the pre-stored business data is collected by an online plug-in and sent to the verification service device for storage; The online plug-in is generated using a preset plug-in in online mode; And / or, the online plug-in is installed on the online business system side.

7. A method for testing a business system, characterized in that: include: Using online plug-ins to collect business data of the online business system when performing business processing, wherein the business data includes business interaction data between the online business system and an external system; storing the business data as pre-stored business data using a verification service device; Using a pre-release plug-in to collect a first business request sent by a pre-release business system to the external system when performing a business processing test, wherein the pre-release business system is obtained by updating an online business system; Using the verification service device to search for target business response data corresponding to the first business request from the pre-stored business data, and feeding back the target business response data to the pre-release business system, so that the pre-release business system completes the business processing test based on the target business response data; The using the verification service device to search for target service response data corresponding to the first service request from the pre-stored service data includes: The verification service device determines a second business request that matches the input parameter of the first business request; wherein the second business request is sent by the online business system to the external system; and uses the business response data corresponding to the second business request as the target business response data of the first business request; The method further comprises: Acquire first verification indicator data of the pre-release business system, wherein the first verification indicator data is used to characterize the situation of the pre-release business system performing a business processing test process; Compare the first verification indicator data with the second verification indicator data in the pre-stored business data to obtain the test result of the pre-release business system, wherein the second verification indicator data is used to characterize the business processing process of the online business system; and / or, perform preset processing on at least one of the first verification indicator data and the second verification indicator data, wherein the preset processing includes at least one of display and analysis.

8. An electronic device, characterized in that: comprising a memory and a processor coupled to each other, The memory stores program instructions; The processor is used to execute the program instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Recommendation system pre-release test method and device and electronic equipment

    CN111176965A

  • Business request processing method and device, electronic equipment and storage medium

    CN111431966A

  • Parallel test method, device and system for multiple business projects

    CN111464380A

  • Method and system for managing cloud service API based on government affair cloud platform

    CN111880950A

  • Service test method and device, electronic equipment and storage medium

    CN112015660A