Transaction entry test processing method, device, computer equipment and storage medium
By using authorized transaction test scripts and account test scripts of target account identification in the financial system, the transaction account data is tested, combined with status detection and processing scripts, the high-cost investigation and resource waste caused by long system links is solved, and the problem of high-cost investigation and resource waste is improved. The efficiency of transaction accounting testing and system operation performance.
Patent Information
- Application Number
- CN202111264397.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-10-28
AI Technical Summary
In the existing financial system, the system link is long during the transaction accounting test process, which leads to high cost of problem detection and waste of resources, and unavailable data, which leads to slow system operation.
Use authorized transaction test scripts and account test scripts corresponding to the target account identification to test the original test data. Quickly determine the data status through the status detection script, and use processing scripts to recover or clean according to unavailable types to simplify the transaction account test link , improve the efficiency of investigation and reduce unavailable data.
It realizes rapid investigation and maintenance, saves storage space, ensures system operation efficiency, and avoids waste of system resources.
Smart Images

Figure CN114020613B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automated testing technology, and in particular to a transaction entry test processing method, device, computer equipment and storage medium. Background Art
[0002] In the development process of credit card systems, payment systems or other financial systems, there is a processing link for transaction entry. Therefore, in the development process of these financial systems, it is necessary to generate test data related to transaction entry in advance, and then use the test data to test the processing link of transaction entry in the developed system to ensure that the developed system can guarantee the realization of the function of transaction entry. In the existing financial system, the system link related to transaction entry is long, so when there is a problem in the transaction entry test processing process, a lot of cost is required to troubleshoot the problem, which seriously affects the development progress of the financial system; moreover, the result data with problems cannot be used anymore, which will cause the automatic test system to redundantly store a large amount of unavailable data, which will cause the system to run slowly and waste system resources seriously. Summary of the invention
[0003] The embodiments of the present invention provide a transaction entry test processing method, device, computer equipment and storage medium to solve the problem that the existing transaction entry test process has a long system link, resulting in high problem troubleshooting costs and waste of resources.
[0004] A transaction entry test processing method, comprising:
[0005] Obtain the original test data corresponding to the target account entry identifier;
[0006] Using the authorization transaction test script corresponding to the target account entry identifier, perform an authorization transaction test on the original test data to obtain authorization transaction test data;
[0007] Using the entry test script corresponding to the target entry identifier, perform an entry test on the authorized transaction test data to obtain the entry test data;
[0008] Using the status detection script corresponding to the target account entry identifier, perform status detection on the account entry test data to obtain the data status corresponding to the account entry test data;
[0009] If the data state corresponding to the account entry test data is an unavailable state, obtaining the unavailable type corresponding to the account entry test data;
[0010] According to the unavailable type corresponding to the account entry test data, a target processing script is determined, and the account entry test data is restored or cleaned using the target processing script.
[0011] A transaction entry test processing device, comprising:
[0012] The original test data acquisition module is used to acquire the original test data corresponding to the target account entry identifier;
[0013] A transaction test data acquisition module, configured to use an authorization transaction test script corresponding to the target account entry identifier to perform an authorization transaction test on the original test data to obtain authorization transaction test data;
[0014] An account entry test data acquisition module, used to use an account entry test script corresponding to the target account entry identifier to perform an account entry test on the authorized transaction test data to obtain account entry test data;
[0015] A data status acquisition module, used to use a status detection script corresponding to the target account entry identifier to perform status detection on the account entry test data and obtain a data status corresponding to the account entry test data;
[0016] An unavailable type acquisition module, configured to acquire the unavailable type corresponding to the account entry test data if the data state corresponding to the account entry test data is an unavailable state;
[0017] The accounting test data processing module is used to determine a target processing script according to the unavailable type corresponding to the accounting test data, and use the target processing script to recover or clean the accounting test data.
[0018] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the transaction entry test processing method when executing the computer program.
[0019] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the transaction entry test processing method is implemented.
[0020] The transaction entry test processing method, device, computer equipment and storage medium described above use the authorization transaction test script and entry test script corresponding to the target entry identifier to test the original test data in sequence, simulating the transaction entry processing link of the target financial system, so that the formed entry test data can truly reflect the result of the original test data after being processed by the transaction entry processing link of the target financial system, which can simplify the processing link of the transaction entry test. Using the status detection script corresponding to the target entry identifier, the corresponding data status can be quickly determined to achieve rapid troubleshooting of the unavailable entry test data and ensure data troubleshooting efficiency; according to the unavailable type corresponding to the entry test data, the target processing script is used to perform maintenance processing such as recovery or cleaning on the entry test data, which can effectively reduce the unavailable entry test data, improve its troubleshooting and maintenance processing efficiency, help save storage space, and help ensure system operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0022] Figure 1 Schematic diagram of an application environment of a transaction entry test processing method in one embodiment of the present invention;
[0023] Figure 2 is a flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0024] Figure 3 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0025] Figure 4 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0026] Figure 5 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0027] Figure 6 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0028] Figure 7 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0029] Figure 8 is another flow chart of a transaction entry test processing method in one embodiment of the present invention;
[0030] Fig. 9 is a schematic diagram of a transaction entry test processing device in one embodiment of the present invention;
[0031] Fig.10 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The transaction entry test processing method provided by the embodiment of the present invention can be applied as follows: Figure 1 Specifically, the transaction entry test processing method is applied in an automatic test system, and the automatic test system includes: Figure 1 The client and server shown in the figure communicate with each other through the network, and are used to realize the automated testing of the transaction entry function in any financial system, which can reduce the system processing link of transaction entry and realize the timely and rapid investigation of the problematic entry test data. On the one hand, it can ensure the efficiency of investigation and processing, and on the other hand, it can effectively avoid the problem of slow operation and waste of resources caused by a large amount of redundant unavailable data in the system. Among them, the client, also known as the user end, refers to the program corresponding to the server that provides local services to customers. The client can be installed on but not limited to various personal computers, laptops, smart phones, tablets and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers.
[0034] In one embodiment, if Figure 2 As shown, a transaction entry test processing method is provided, and the method is applied in Figure 1 The server in the example is used as an example to illustrate the process, including the following steps:
[0035] S201: Obtaining original test data corresponding to the target account entry identifier;
[0036] S202: Using the authorization transaction test script corresponding to the target account entry identifier, perform an authorization transaction test on the original test data to obtain authorization transaction test data;
[0037] S203: Using the entry test script corresponding to the target entry identifier, perform an entry test on the authorized transaction test data to obtain the entry test data;
[0038] S204: using a status detection script corresponding to the target account entry identifier, performing status detection on the account entry test data to obtain a data status corresponding to the account entry test data;
[0039] S205: If the data status corresponding to the account entry test data is an unavailable status, obtaining an unavailable type corresponding to the account entry test data;
[0040] S206: Determine a target processing script according to the unavailable type corresponding to the account entry test data, and use the target processing script to recover or clean the account entry test data.
[0041] The target account entry identifier is an identifier used to uniquely identify the specific scenario of transaction entry corresponding to the target financial system. The target financial system is the financial system targeted by this test. For example, the target financial system may be a credit card system, and accordingly, the target account entry identifier is a credit card account entry identifier.
[0042] Raw test data refers to pre-generated, untested data.
[0043] As an example, in step S201, the server may obtain the original test data corresponding to the target account entry identifier from the scenario data pool corresponding to the target account entry identifier, that is, obtain the original test data related to the transaction entry corresponding to the target financial system, so as to use the original test data to perform the transaction entry test. The scenario data pool is a collection of original test data for storing a specific scenario. For example, when the target account entry identifier is a credit card account entry identifier, the original test data related to the transaction entry of the credit card system is obtained from the scenario data pool.
[0044] Furthermore, the server can execute a status monitoring task to monitor all existing test data in the scene data pool to obtain the data status corresponding to each existing test data, and determine the existing test data with an available data status as the original test data related to the transaction entry. The original test data can be understood as the data required for subsequent transaction entry testing. The status monitoring task is used to implement the task of monitoring whether the existing test data is occupied. The existing test data is the test data stored in the scene data pool at the current moment. The data status is a status that reflects whether the existing test data is occupied. Understandably, the data status of the existing test data can be any one of an occupied status and an available status. The occupied status here refers to the status that the existing test data has been occupied for testing, and the available status refers to the status that the existing test data has not been occupied for testing.
[0045] The authorization transaction test script corresponding to the target account entry identifier is a test script created for the test scenario of authorization transaction of the target financial system. The authorization transaction test data refers to the test data output by the authorization transaction test script after the original test data input is tested by the authorization transaction test script.
[0046] As an example, in step S202, the server uses the authorization transaction test script corresponding to the target account entry identifier to test the original test data, and determines the output result of the authorization transaction test script as the authorization transaction test data.
[0047] For example, when the target account entry identifier is a credit card account entry identifier, the authorization transaction test script can receive the input parameter of the original test data, simulate the POS card swiping action and the POS background execution action, complete the test process corresponding to the authorization transaction, and obtain the authorization transaction test data. The authorization transaction test data can be understood as the data generated after simulating the completion of the credit card system authorization transaction for subsequent testing.
[0048] The entry test script corresponding to the target entry identifier is a test script created for the test scenario of entry into the target financial system. The entry test data is data generated by testing the authorized transaction test data using the entry test script.
[0049] As an example, in step S203, the server uses the account entry test script corresponding to the target account entry identifier to test the authorization transaction test data, and determines the output result of the account entry test script as the account entry test data. In this example, the account entry test script can receive the authorization transaction test data output by the authorization transaction test script as an input parameter, simulate the credit card backend to achieve data synchronization, and splice the authorization transaction test data formed by all authorization transactions corresponding to the same account to obtain spliced test data, so as to achieve data synchronization of all authorization transaction test data corresponding to the same account; finally, simulate the system account entry operation based on the spliced test data to obtain the account entry test data.
[0050] For example, when the target account entry identifier is a credit card account entry identifier, the authorization transaction test script and the account entry test script are used to realize automated testing of the credit card authorization transaction stage and the credit card account entry stage. Starting from the authorization transaction, the transaction link in the simulated production is opened up, the data transmission of the entire credit card transaction account entry link is opened up, and the corresponding account entry operation is automatically completed to ensure the authenticity and consistency of all test data.
[0051] In this example, each original test data stored in the scenario data pool carries a unique data identifier. The authorization transaction test script is used to perform an authorization transaction test on the original test data, and the authorization transaction test data formed also carries the same data identifier; the account entry test script is used to perform an account entry test on the authorization transaction test data, and the account entry test data formed also carries the same data identifier. Therefore, the original test data, the authorization transaction test data, and the account entry test data carry the same data identifier, so that they can be traced based on the data identifier, thereby facilitating the subsequent rapid investigation of problematic account entry test data.
[0052] It can be understood that the authorization transaction test script and the accounting test script corresponding to the target accounting identifier are used to test the original test data in turn, simulating the transaction accounting processing link of the target financial system, so that the accounting test data can truly reflect the result of the original test data after being processed by the transaction accounting processing link of the target financial system, which can simplify the transaction accounting processing link. In addition, since the transaction accounting test process only needs to be processed by the authorization transaction test script and the accounting test script, it can also facilitate the rapid troubleshooting of problematic accounting test data to ensure the development progress of the target financial system.
[0053] Among them, the status detection script is a script used to detect whether the test data is available. As an example, the status detection script corresponding to the target account entry identifier refers to a script set according to all unavailable situations of the test data corresponding to the target account entry identifier. For example, when the target financial system is testing the scenario of credit card system transaction entry, a status detection script for detecting whether the test data is available can be set according to all unavailable credit card situations, so as to use the status detection script to quickly determine the data status of the account entry test data.
[0054] The data status corresponding to the account-entry test data includes an available status and an unavailable status. The available status here means that the account-entry test data can be continuously called for software testing. The unavailable status means that the account-entry test data cannot be continuously called for software testing.
[0055] As an example, in step S204, the server may use a status detection script corresponding to the target accounting identifier to perform a status detection on the accounting test data to determine whether the accounting test data is still being called to perform software testing to obtain the data status corresponding to the accounting test data, which data status may be an available status or an unavailable status.
[0056] In this example, the status detection script is a detection script pre-configured according to at least one unavailable evaluation condition. When the status detection script is used to perform status detection on the accounting test data, the accounting test data is specifically compared with at least one unavailable evaluation condition; if the accounting test data does not satisfy all unavailable evaluation conditions, the data status corresponding to the accounting test data is an available status; if the accounting test data satisfies any unavailable evaluation condition, the data status corresponding to the accounting test data is an unavailable status.
[0057] For example, when the target financial system is a credit card system test scenario, if a credit card is not repaid in time, it is in an unavailable state. In this case, a status detection script can be configured according to the evaluation conditions corresponding to the credit card failure to repay in time, so that when the status detection script detects the entry test data, it evaluates whether it meets the unavailable evaluation conditions corresponding to the credit card failure to repay in time; if it meets the conditions, the data status corresponding to the entry test data is unavailable; if it does not meet the conditions, the data status corresponding to the entry test data is available.
[0058] Among them, the unavailable type refers to the type used to reflect whether the account entry test data in an unavailable state can be restored to an available state, including a recoverable type and an unrecoverable type. In this example, the recoverable type refers to the type of account entry test data that can be restored from an unavailable state to an available state. For example, when the authorization transaction test and account entry test are performed on the original test data of the credit card system, and the account entry test data formed is mainly due to the account unavailability caused by failure to repay in time, the unavailable type of the account entry test data is a recoverable type. Correspondingly, the unrecoverable type refers to the type of account entry test data that cannot be restored from an unavailable state to an available state. For example, when the authorization transaction test and account entry test are performed on the original test data of the credit card system, and the account entry test data formed is mainly due to the account unavailability caused by reasons such as the credit card's service life reaching the maximum period or the card being cancelled, the unavailable type of the account entry test data is an unrecoverable type.
[0059] As an example, in step S205, when the server determines that the data status corresponding to a certain accounting test data is an unavailable status, it is necessary to classify the accounting test data in the unavailable status to determine the unavailable type corresponding to the accounting test data, so as to perform different data processing on the accounting test data according to the unavailable type, so as to avoid the system storing a large amount of redundant and unavailable accounting test data.
[0060] In this example, when the data status corresponding to the account entry test data is in an unavailable state, it means that the account entry test data meets an unavailable evaluation condition pre-configured by the status detection script, and the corresponding unavailable type can be quickly determined based on the unavailable evaluation condition. For example, an information table of the correspondence between the unavailable evaluation condition and its unavailable type can be pre-configured, and the table can be looked up based on the unavailable evaluation condition met by the account entry test data to quickly determine its unavailable type.
[0061] The target processing script is a configuration processing script that matches the unavailable type. The configuration processing script is a script used to implement processing operations such as recovery or cleaning of test data.
[0062] As an example, in step S206, the server pre-stores configuration processing scripts corresponding to all unavailable types. After determining the unavailable type corresponding to a certain accounting test data, the configuration processing script corresponding to the unavailable type can be determined as the target processing script, and the target processing script is executed to recover or clean the accounting test data. In this example, the accounting test data whose unavailable type is a recoverable type is recovered to convert it to an available state; the accounting test data whose unavailable type is an unrecoverable type is cleaned, both of which can reduce the accounting test data in the unavailable state in the system, so as to avoid the redundancy of the accounting test data in the unavailable state, resulting in slow system operation and wasting the system's storage and computing resources.
[0063] In the transaction entry test processing method provided by the embodiment of the present invention, the authorization transaction test script and the entry test script corresponding to the target entry identifier are used to test the original test data in turn, simulating the transaction entry processing link of the target financial system, so that the formed entry test data can truly reflect the result of the original test data after being processed by the transaction entry processing link of the target financial system, which can simplify the processing link of the transaction entry test. The state detection script corresponding to the target entry identifier can be used to quickly determine the corresponding data state, so as to realize the rapid investigation of the unavailable entry test data and ensure the data investigation efficiency; according to the unavailable type corresponding to the entry test data, the target processing script is used to perform maintenance processing such as recovery or cleaning on the entry test data, which can effectively reduce the unavailable entry test data, improve the efficiency of its investigation and maintenance processing, help save storage space, and help ensure the efficiency of system operation.
[0064] In one embodiment, if Figure 3 As shown, step S201, i.e. obtaining the original test data corresponding to the target account entry identifier, includes:
[0065] S301: Obtain a data preparation instruction, where the data preparation instruction includes a target account entry identifier and a target data volume;
[0066] S302: Determine the existing test data in the scenario data pool corresponding to the target account entry identifier, whose data status is available, as available test data, and count the amount of available data corresponding to the available test data;
[0067] S303: If the available data volume is greater than or equal to the target data volume, the available test data corresponding to the target data volume is determined from the scenario data pool as the original test data corresponding to the target account entry identifier;
[0068] S304: If the available data volume is less than the target data volume, the newly added data volume is determined based on the target data volume and the available data volume, and new test data corresponding to the newly added data is generated. The original test data corresponding to the target accounting identifier is determined based on the available test data and the newly added test data.
[0069] The data preparation instruction is an instruction for triggering the preparation of original test data. The target data volume refers to the amount of original test data required to be prepared for this test.
[0070] As an example, in step S301, the server may receive a data preparation instruction triggered by a user through a client, where the data preparation instruction includes a target account entry identifier and a target data volume, where the target account entry identifier is used to uniquely identify the target financial system for this transaction entry, and the target data volume is used to determine the amount of original test data required for this transaction entry.
[0071] The existing test data refers to the data used for testing that is stored in the scenario data pool corresponding to the target account entry identifier before the current time of the system. The available test data refers to the existing test data that is stored before the current time of the system and whose data status is available.
[0072] As an example, in step S302, the server may monitor the data status corresponding to each existing test data in the scenario data corresponding to the target account entry identifier. The monitoring process is the same as the data status corresponding to the account entry test data in step S204. To avoid repetition, they are not described here one by one. Next, the server may determine the existing test data with an available data status in the scenario data pool corresponding to the target account entry identifier as available test data. Finally, the server counts the number of all available test data in the scenario data pool corresponding to the target account entry identifier and determines it as the available data volume corresponding to the available test data, so as to determine whether additional new test data needs to be generated based on the comparison result of the available data volume and the target data volume.
[0073] As an example, in step S303, when the available data volume is greater than or equal to the target data volume, the server directly determines the available test data corresponding to the target data volume as the original test data related to the credit card account entry, and can quickly obtain the original test data corresponding to the target data volume to ensure the feasibility of the account entry test operation without waiting for the generation time of the original test data, which helps to ensure the processing efficiency of the account entry test operation.
[0074] As an example, in step S304, when the available data volume is less than the target data volume, the server may determine the difference between the target data volume and the available data volume as the newly added data volume, and may use a pre-generated data generation task or data generation script to generate new test data corresponding to the newly added data volume, and determine the available test data corresponding to the available data volume and the new test data corresponding to the new data volume as original test data related to credit card entry. On the one hand, the original test data corresponding to the target data volume can be quickly obtained to ensure the feasibility of the transaction entry test operation. On the other hand, the generation time waiting for execution of the original test data can be reduced, which helps to ensure the processing efficiency of the transaction entry test operation.
[0075] In one embodiment, if Figure 4 As shown, after step S402, that is, after generating the new test data matching the new data volume, the transaction entry test processing method further includes:
[0076] S401: Obtain the host batch date corresponding to the newly added test data, and compare the host batch date with the current date of the system;
[0077] S402: If the host batch date is inconsistent with the system current date, the host batch date corresponding to the newly added test data is updated to the system current date.
[0078] The host batch date is the date on which the data recorded in the newly added test data is generated. The system current date refers to the current date on which the system is running.
[0079] As an example, after the server performs the data generation task and generates the target test data that matches the newly added data volume, it is also necessary to compare the host batch day corresponding to each newly added test data with the current system day to determine whether the host batch day is consistent with the current system day. In addition, when the host batch day is inconsistent with the current system day, the server needs to update the host batch day corresponding to the newly added test data to the current system day to synchronize the host batch day of the newly added test data with the current system day, avoid the problem of inconsistency between the two, resulting in failure to enter the account, and ensure the reliability of the transaction entry test of the newly added test data.
[0080] In one embodiment, if Figure 5As shown, step S304, i.e. generating new test data corresponding to the new data, includes:
[0081] S501: Acquire a data generation task corresponding to a target account entry identifier, where the data generation task includes at least one target action and a scenario parameter value corresponding to an account entry configuration parameter;
[0082] S502: Execute a number-generating action script corresponding to at least one target action according to the scenario parameter value corresponding to the account entry configuration parameter, and generate new test data matching the new data volume.
[0083] As an example, in step S401, the server may obtain a data generation task corresponding to the target account entry identifier, and the data generation task includes at least one target action and a scenario parameter value corresponding to the account entry configuration parameter. For example, the server may control the client to display a task configuration interface corresponding to the target account entry identifier, and the user may determine at least one target action from a plurality of standard actions provided in the task configuration interface. When the target action includes at least two, the sequence of actions also needs to be determined; the parameter configuration interface corresponding to the target action is displayed, and the scenario parameter value corresponding to the account entry configuration parameter is input in the parameter configuration interface to obtain the data generation task corresponding to the target account entry identifier, so that the data generation task includes at least one target action and a scenario parameter value corresponding to the account entry configuration parameter. The standard action here refers to the action included in the system to be tested corresponding to the target financial system.
[0084] For example, when the target financial system is suitable for credit card system testing, its accounting configuration parameters can be classified as follows: the accounting requirements are classified and organized, supporting the construction of test data corresponding to multiple standard actions corresponding to all card organization channel transactions (UnionPay multi-channel, self-channel, EC, VISA, JCB, MASTER), test data corresponding to multiple standard actions corresponding to all types of positive and negative transactions (consumption, cash withdrawal, reversal, cancellation, return, etc.), constructing test data corresponding to multiple standard actions corresponding to installment data for each time period (not started, 1 installment paid, paid off, etc.), constructing multiple scenario data such as accounted data and unaccounted data, supporting multiple scenario data combinations, such as reserve funds + installments + unaccounted data through self-channels, etc.
[0085] In this example, when the server receives at least two target actions selected by the user, it needs to obtain the configuration order of the at least two target actions determined independently by the user, perform an action verification on the configuration order of the at least two target actions, and obtain the action verification result; if the action verification result is that the verification passes, it is determined that the at least two target actions are successfully determined; if the action verification result is that the verification fails, an action configuration error message is prompted so that the user can make modifications based on the action configuration error message.
[0086] In this example, the server performs action verification on the configuration sequence of at least two target actions, specifically to verify whether the configuration sequence of at least two target actions conforms to the business logic of the target financial system. For example, when the target financial system is a scenario suitable for credit card system testing, according to its business logic, credit card transactions must go through standard actions such as card issuance, card registration and binding, activation and control in sequence. If the order of the four standard actions selected by the user, such as card issuance, card registration and binding, activation and control, meets the requirements, it is determined that it meets the business logic and obtains the action verification result of passing the verification; if the order of the four standard actions selected by the user, such as card issuance, card registration and binding, activation and control, does not meet the requirements, it is determined that it does not meet the business logic and obtains the action verification result of failing the verification.
[0087] As an example, in step S402, the server executes the data generation task, specifically according to the scenario parameter value corresponding to the account entry configuration parameter, executes the number-making action script corresponding to at least one target action, generates new test data matching the newly added data volume, and obtains the newly added test data that meets the test requirements. In this example, the server can use the scenario parameter value of the account entry configuration parameter as the script input parameter of the number-making action script corresponding to at least one target action, and according to the dependency relationship between at least one target action, sequentially execute the number-making action script corresponding to at least one target action, and determine the output result of the last executed number-making action script as a newly added test data, and finally, generate the newly added test data matching the newly added data volume, so that the newly added test data can be applied to the target financial system corresponding to the transaction payment function for software testing. Among them, the number-making action script is a pre-configured script for generating test data corresponding to a certain action.
[0088] In one embodiment, if Figure 6 As shown, before step S201, before obtaining the original test data corresponding to the target entry identifier, the transaction entry test processing method further includes:
[0089] S601: Obtain a script generation instruction, where the script generation instruction includes a target account entry identifier and a target action;
[0090] S602: Obtain a target scenario action tree corresponding to the target account entry identifier, where the target scenario action tree is a tree structure formed by sorting all standard actions corresponding to the target account entry identifier according to the business logic of the target account entry identifier;
[0091] S603: Determine whether the target action has a dependent action according to the target position of the target action in the target scene action tree;
[0092] S604: If the target action has a dependent action, determine the to-be-configured parameters corresponding to the target action based on the action output parameters corresponding to the dependent action and the action input parameters corresponding to the target action;
[0093] S605: If the target action does not have a dependent action, determine the to-be-configured parameters corresponding to the target action based on the action input parameters corresponding to the target action;
[0094] S606: Generate a number-generating action script corresponding to the target action according to the data generation rule corresponding to the target action and the parameters to be configured.
[0095] The script generation instruction is an instruction for triggering the generation of a number-generating action script.
[0096] As an example, in step S601, the server may receive a script generation instruction triggered by a user, wherein the script generation instruction carries a target account entry identifier and a target action, so as to generate a number-generating action script corresponding to the target action in the target financial system.
[0097] Among them, the target scenario action tree is a tree structure formed by sorting all standard actions corresponding to the target account entry identifier according to the business logic of the target account entry identifier.
[0098] As an example, in step S602, the server pre-stores the action trees of the selected scenarios corresponding to different identifications of the selected scenarios, and each action tree of the selected scenarios refers to a tree structure formed by sorting all standard actions in the selected application scenario based on the business logic corresponding to the selected application scenario corresponding to the selected scenario identification. After receiving the script generation instruction, the server only needs to determine the action tree of the selected scenario that matches the target account identification as the target scenario action tree according to the target account identification carried in the script generation instruction.
[0099] The dependent action refers to the action that must be executed before the target action is executed.
[0100] As an example, in step S603, the server may query the target scene action tree according to the target action, determine the target position of the target action in the target scene action tree, and determine whether there are other standard actions between the target position and the root node; if there are other standard actions between the target position and the root node, it is determined that there is a dependent action; if there are no other standard actions between the target position and the root node, it is determined that there is no dependent action. It can be understood that the target action is one of all the standard actions in the target scene action tree, and according to the target position of the target action in the target scene action tree, the one closest to the target action among all the standard actions from the root node to the target position can be determined as its dependent action.
[0101] Among them, the action output parameters of the dependent action refer to the parameters output after the dependent action is executed for the target action to call. The action input parameters corresponding to the target action refer to the parameters that need to be input during the execution of the target action. The parameters to be configured corresponding to the target action refer to the parameters that need to be configured to execute the number-making action script corresponding to the target action.
[0102] As an example, in step S604, when the target action has a dependent action, the server needs to determine the action output parameters corresponding to the dependent action and the action input parameters corresponding to the target action as the to-be-configured parameters corresponding to the target action. That is, in the process of executing the number-generating process of each target action, the action output parameters corresponding to the dependent action and the action input parameters corresponding to the target action need to be pre-configured to ensure that the to-be-configured parameters of the number-generating action script can be configured independently without relying on the execution of the dependent action, thereby ensuring the independence of the execution of the number-generating action script.
[0103] As an example, in step S605, when there is no dependent action for the target action, the server only needs to determine the action input parameters corresponding to the target action as the to-be-configured parameters corresponding to the target action.
[0104] The data generation rule refers to a pre-set rule used to meet the target action generation requirements. For example, in the target action of credit card issuance, the data generation rule is to generate the corresponding credit card number according to the credit card number generation rule.
[0105] As an example, in step S606, the server may obtain a number-generating action script corresponding to the target action by encoding the data generation rules corresponding to the target action and the parameters to be configured. The number-generating action script may be executed on the server to generate original test data matching the target action.
[0106] In the transaction entry test processing method provided in the present embodiment, it is possible to determine whether there is a dependent action according to the target position of the target action in the target scenario action tree, and then determine the parameters to be configured corresponding to the target action in different ways, and then generate the number-generating action script corresponding to the target action based on the data generation rules and the parameters to be configured, which can ensure the independence of the number-generating action script so that all number-generating action scripts can run independently, and can realize the combined number-generating of at least one target action, so that the obtained original test data can more easily meet user needs.
[0107] In one embodiment, if Figure 7 As shown, step S206, that is, determining a target processing script according to the unavailable type corresponding to the account entry test data, and using the target processing script to recover or clean the account entry test data, includes:
[0108] S701: If the unavailable type corresponding to the accounting test data is a recoverable type, a data recovery script corresponding to the target accounting identifier is determined as a target processing script, and the accounting test data is recovered using the data recovery script to obtain recovery test data;
[0109] S702: If the unavailable type corresponding to the account entry test data is an unrecoverable type, a data cleaning script is determined as a target processing script, and the data cleaning script is used to clean the account entry test data.
[0110] The data recovery script is a script used to restore the account entry test data from an unavailable state to an available state. In this example, each target account entry identifier is configured with multiple data recovery scripts corresponding to unavailable reasons, and the unavailable reasons here match the unavailable evaluation conditions in the status detection script.
[0111] As an example, in step S701, when the server determines that the unavailable type corresponding to the account-entry test data is a recoverable type, the server may recover the account-entry test data according to the unavailable reason corresponding to the account-entry test data and adopt a data recovery script corresponding to the unavailable reason to obtain the recovery test data. For example, if the unavailable reason of a certain account-entry test data is failure to repay on time, the data recovery script corresponding to the failure to repay on time may be adopted to perform an automated repayment operation on the account-entry test data, so as to update the account-entry test data in an unavailable state to the recovery test data in an available state, so as to avoid the redundancy of the account-entry test data in an unavailable state, resulting in a waste of system resources, and help to ensure the efficiency of system operation. The recovery test data is the data generated when the account-entry test data is recovered using the data recovery script.
[0112] Among them, the data cleaning script is a script used to clean the account entry test data.
[0113] As an example, in step S702, when the server determines that the unavailable type corresponding to the accounting test data is a recoverable type, it means that the accounting test data is completely unavailable. If it is saved in the scenario data pool or other databases for a long time, a large amount of redundant and unavailable accounting test data will be generated in the test environment, resulting in a waste of system resources. Therefore, it is necessary to execute a data cleaning script to clean the accounting test data to save storage space, which helps to ensure the efficiency of system operation.
[0114] Understandably, the server can implement full-link detection of the data status of the account entry test data, intelligently analyze the reasons for the unavailability of the account entry test data, and perform reverse operations to restore it to an available state, thereby ensuring the availability of the recovery test data. For example, when the target financial system is a credit card scenario, each system on the full link of the credit card configures a data detection and repair method (interface or SQL), and the server can schedule it uniformly. For example: the card service system provides a control code detection and release interface corresponding to the card, account, and customer. The server detects the control code in real time and will not appear in normal scenarios when there is control. At the same time, the control code release is performed regularly to restore the unavailable account entry test data to available recovery test data. For another example, the core accounting system provides an account available credit check and repayment interface. The server checks the account available credit in real time and will not appear in the consumption scenario when there is insufficient credit. At the same time, the repayment operation is performed regularly to restore the data to available recovery test data.
[0115] In one embodiment, if Figure 8 As shown, step S701, that is, determining the data recovery script corresponding to the target account entry identifier as the target processing script, using the data recovery script to perform recovery processing on the account entry test data, and obtaining the recovery test data, includes:
[0116] S801: If the unavailable type corresponding to the account entry test data is the arrears type, the arrears reason detection script is used to detect the account entry test data to determine the current arrears reason;
[0117] S802: If the current reason for the arrears is a transaction arrears, the transaction repayment processing script is used to restore the account entry test data to obtain the restored test data;
[0118] S803: If the current reason for the arrears is non-transaction arrears, the account entry repayment processing script is used to restore the account entry test data to obtain the restored test data.
[0119] The arrears type refers to the type of account entry test data that is unavailable due to arrears. The arrears reason detection script is a script used to implement arrears reason detection.
[0120] As an example, in step S801, when the server determines that the unavailable type corresponding to the account entry test data is a recoverable type, the recoverable type may be an arrears type, or a non-arrears type other than the arrears type, for example, when the account is cancelled or the term expires. When the unavailable type corresponding to the account entry test data is an arrears type, the server may use a pre-set arrears reason detection script to detect the account entry test data, and may obtain the current arrears reason corresponding to the account entry test data. For example, the arrears reason detection script may be configured according to the specific circumstances of satisfying the transaction arrears condition. When the account entry test data is detected using the arrears reason detection script, if the account entry test data satisfies the transaction arrears condition, then its current arrears reason is determined to be a transaction arrears; accordingly, if the account entry test data does not satisfy the transaction arrears condition, then its current arrears reason is determined to be a non-transaction arrears.
[0121] Among them, the transaction repayment processing script is a processing script used to realize the authorized transaction repayment, that is, a pre-configured processing script used to realize the authorized transaction repayment of the account entry test data, which needs to go through the two-step test of the authorized transaction and the account entry to form a new test data processing script.
[0122] As an example, in step S802, when the server determines that the current arrears reason corresponding to a certain account entry test data is a transaction arrears, if the repayment is not made in time, the server can use a pre-configured transaction repayment processing script to recover the account entry test data to simulate the transaction repayment operation corresponding to the target financial system to obtain recovery test data, so that the newly formed recovery test data does not have the problem of failure to repay in time, and the account entry test data in an unavailable state is updated to recovery test data in an available state to avoid redundancy of unavailable account entry test data, which leads to waste of system resources and helps to ensure system operation efficiency.
[0123] Among them, the account entry repayment processing script is a processing script used to realize account entry repayment. That is, it is a pre-configured processing script used to realize account entry repayment of account entry test data, which only needs to be tested in the account entry link to form a new test data processing script.
[0124] As an example, in step S803, when the server determines that the current arrears reason corresponding to a certain account entry test data is a non-transaction arrears, such as interest and foreign currency, which lead to untimely repayment, the server can use a pre-configured account entry repayment processing script to recover the account entry test data to simulate the account entry repayment operation corresponding to the target financial system to obtain recovery test data, so that the newly formed recovery test data does not have the problem of untimely repayment, and the account entry test data in an unavailable state is updated to the recovery test data in an available state to avoid redundancy of unavailable account entry test data, which leads to waste of system resources and helps to ensure system operation efficiency.
[0125] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0126] In one embodiment, a transaction entry test processing device is provided, and the transaction entry test processing device corresponds to the transaction entry test processing method in the above embodiment. Fig. 9 As shown, the transaction entry test processing device includes an original test data acquisition module 901, a transaction test data acquisition module 902, an entry test data acquisition module 903, a data status acquisition module 904, an unavailable type acquisition module 905 and an entry test data processing module 906. The functional modules are described in detail as follows:
[0127] The original test data acquisition module 901 is used to acquire the original test data corresponding to the target account entry identifier;
[0128] The transaction test data acquisition module 902 is used to use the authorization transaction test script corresponding to the target account entry identifier to perform an authorization transaction test on the original test data to obtain the authorization transaction test data;
[0129] The entry test data acquisition module 903 is used to use the entry test script corresponding to the target entry identifier to perform an entry test on the authorized transaction test data to obtain the entry test data;
[0130] The data status acquisition module 904 is used to use the status detection script corresponding to the target account entry identifier to perform status detection on the account entry test data and obtain the data status corresponding to the account entry test data;
[0131] The unavailable type acquisition module 905 is used to acquire the unavailable type corresponding to the account entry test data if the data state corresponding to the account entry test data is the unavailable state;
[0132] The accounting test data processing module 906 is used to determine a target processing script according to the unavailable type corresponding to the accounting test data, and use the target processing script to recover or clean the accounting test data.
[0133] In one embodiment, the original test data acquisition module 901 includes:
[0134] A data preparation instruction acquisition unit, used to acquire a data preparation instruction, wherein the data preparation instruction includes a target account entry identifier and a target data volume;
[0135] An available data volume statistics unit is used to determine existing test data with an available data state in a scenario data pool corresponding to a target account entry identifier as available test data, and to count the available data volume corresponding to the available test data;
[0136] A first original data determination unit is configured to determine, from a scene data pool, available test data corresponding to the target data amount as original test data corresponding to the target account entry identifier if the available data amount is greater than or equal to the target data amount;
[0137] The second original data determination unit is used to determine the amount of new data based on the target data amount and the available data amount if the available data amount is less than the target data amount, generate new test data corresponding to the new data, and determine the original test data corresponding to the target accounting identifier based on the available test data and the new test data.
[0138] In one embodiment, the transaction entry test processing device further includes:
[0139] A date comparison unit, used to obtain the host batch date corresponding to the newly added test data, and compare the host batch date with the current date of the system;
[0140] The date updating unit is used to update the host batch date corresponding to the newly added test data to the current system date if the host batch date is inconsistent with the current system date.
[0141] In one embodiment, the second raw data determination unit includes:
[0142] A data generation task acquisition subunit is used to acquire a data generation task corresponding to a target account entry identifier, wherein the data generation task includes at least one target action and a scenario parameter value corresponding to an account entry configuration parameter;
[0143] The number-generating action script execution subunit is used to execute the number-generating action script corresponding to at least one target action according to the scenario parameter value corresponding to the account entry configuration parameter, and generate new test data matching the new data volume.
[0144] In one embodiment, the transaction entry test processing device further includes:
[0145] A script generation instruction unit, used to obtain a script generation instruction, the script generation instruction includes a target account entry identifier and a target action;
[0146] A scenario action tree acquisition unit is used to acquire a target scenario action tree corresponding to a target account entry identifier, wherein the target scenario action tree is a tree structure formed by sorting all standard actions corresponding to the target account entry identifier according to the business logic of the target account entry identifier;
[0147] A dependent action judgment unit, used to determine whether a target action has a dependent action according to a target position of the target action in a target scene action tree;
[0148] A first configuration parameter determination unit, configured to determine, if the target action has a dependent action, a to-be-configured parameter corresponding to the target action based on an action output parameter corresponding to the dependent action and an action input parameter corresponding to the target action;
[0149] A second configuration parameter determination unit, configured to determine, if the target action has no dependent action, a to-be-configured parameter corresponding to the target action based on an action input parameter corresponding to the target action;
[0150] The number-generating action script generating unit is used to generate a number-generating action script corresponding to the target action according to the data generation rule corresponding to the target action and the parameters to be configured.
[0151] In one embodiment, the account entry test data processing module 906 includes:
[0152] A test data recovery processing unit is used to, if the unavailable type corresponding to the accounting test data is a recoverable type, determine the data recovery script corresponding to the target accounting identifier as the target processing script, and use the data recovery script to perform recovery processing on the accounting test data to obtain the recovery test data;
[0153] The test data cleaning processing unit is used to determine the data cleaning script as the target processing script if the unavailable type corresponding to the account entry test data is an unrecoverable type, and use the data cleaning script to clean the account entry test data.
[0154] In one embodiment, the test data recovery processing unit includes:
[0155] The debt reason determination subunit is used to detect the account entry test data using the debt reason detection script to determine the current debt reason if the unavailable type corresponding to the account entry test data is the debt type;
[0156] The first data recovery processing subunit is used to recover the account entry test data using the transaction repayment processing script to obtain the recovery test data if the current reason for the arrears is the transaction arrears;
[0157] The second data recovery processing subunit is used to use the account repayment processing script to recover the account test data and obtain the recovery test data if the current reason for the arrears is non-transaction arrears.
[0158] The specific definition of the transaction entry test processing device can be found in the definition of the transaction entry test processing method above, which will not be repeated here. Each module in the above transaction entry test processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0159] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data used or stored in the process of executing the transaction entry test processing method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a transaction entry test processing method is implemented.
[0160] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the transaction entry test processing method in the above embodiment is implemented, for example Figure 2 S201-S206 as shown, or Figures 3 to 8 Alternatively, when the processor executes the computer program, the functions of each module / unit in the transaction entry test processing device are implemented, for example Fig. 9 The functions of the original test data acquisition module 901, the transaction test data acquisition module 902, the account entry test data acquisition module 903, the data status acquisition module 904, the unavailable type acquisition module 905 and the account entry test data processing module 906 are not described here in detail to avoid repetition.
[0161] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the transaction entry test processing method in the above embodiment is implemented, for example Figure 2 S201-S206 as shown, or Figures 3 to 8Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the embodiment of the transaction entry test processing device are realized, for example Fig. 9 The functions of the original test data acquisition module 901, the transaction test data acquisition module 902, the account entry test data acquisition module 903, the data status acquisition module 904, the unavailable type acquisition module 905 and the account entry test data processing module 906 are not described here in detail to avoid repetition.
[0162] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0163] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0164] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A transaction entry test processing method, characterized in that: include: Obtaining a script generation instruction, wherein the script generation instruction includes a target account entry identifier and a target action; Obtaining a target scenario action tree corresponding to the target account entry identifier, wherein the target scenario action tree is a tree structure formed by sorting all standard actions corresponding to the target account entry identifier according to the business logic of the target account entry identifier; Determine whether the target action has a dependent action according to the target position of the target action in the target scene action tree; If the target action has a dependent action, determining the to-be-configured parameters corresponding to the target action based on the action output parameters corresponding to the dependent action and the action input parameters corresponding to the target action; If the target action does not have a dependent action, determining the to-be-configured parameters corresponding to the target action based on the action input parameters corresponding to the target action; Generate a number-generating action script corresponding to the target action according to the data generation rule corresponding to the target action and the parameters to be configured; Obtaining a data preparation instruction, wherein the data preparation instruction includes a target account entry identifier and a target data volume; Determine the existing test data in the scenario data pool corresponding to the target account entry identifier, whose data status is available, as available test data, and count the amount of available data corresponding to the available test data; If the available data volume is greater than or equal to the target data volume, determining the available test data corresponding to the target data volume from the scenario data pool as the original test data corresponding to the target account entry identifier; If the available data volume is less than the target data volume, determining the newly added data volume according to the target data volume and the available data volume, and obtaining a data generation task corresponding to the target account entry identifier, wherein the data generation task includes at least one target action and a scenario parameter value corresponding to an account entry configuration parameter; According to the scenario parameter value corresponding to the accounting configuration parameter, executing at least one number-making action script corresponding to the target action, generating new test data corresponding to the new data volume, and determining the original test data corresponding to the target accounting identifier according to the available test data and the new test data; Using the authorization transaction test script corresponding to the target account entry identifier, perform an authorization transaction test on the original test data to obtain authorization transaction test data; Using the entry test script corresponding to the target entry identifier, perform an entry test on the authorized transaction test data to obtain the entry test data; Using the status detection script corresponding to the target account entry identifier, perform status detection on the account entry test data to obtain the data status corresponding to the account entry test data; If the data state corresponding to the account entry test data is an unavailable state, obtaining the unavailable type corresponding to the account entry test data; According to the unavailable type corresponding to the account entry test data, a target processing script is determined, and the account entry test data is restored or cleaned using the target processing script.
2. The transaction entry test processing method according to claim 1, characterized in that: After generating the new test data corresponding to the new data volume, the transaction entry test processing method further includes: Obtain the host batch day corresponding to the newly added test data, and compare the host batch day with the current day of the system; If the host batch date is inconsistent with the system current date, the host batch date corresponding to the newly added test data is updated to the system current date.
3. The transaction entry test processing method according to claim 1, characterized in that: The step of determining a target processing script according to the unavailable type corresponding to the account entry test data, and using the target processing script to perform recovery or cleaning processing on the account entry test data includes: If the unavailable type corresponding to the accounting test data is a recoverable type, determining the data recovery script corresponding to the target accounting identifier as the target processing script, and using the data recovery script to perform recovery processing on the accounting test data to obtain recovery test data; If the unavailable type corresponding to the account entry test data is an unrecoverable type, a data cleaning script is determined as a target processing script, and the data cleaning script is used to clean the account entry test data.
4. The transaction entry test processing method according to claim 3, characterized in that: The step of determining the data recovery script corresponding to the target account entry identifier as the target processing script, and using the data recovery script to perform recovery processing on the account entry test data to obtain the recovery test data includes: If the unavailable type corresponding to the account entry test data is the arrears type, then the arrears reason detection script is used to detect the account entry test data to determine the current arrears reason; If the current reason for the arrears is a transaction arrears, a transaction repayment processing script is used to restore the account entry test data to obtain the restored test data; If the current reason for the arrears is a non-transaction arrears, the account entry repayment processing script is used to restore the account entry test data to obtain the restored test data.
5. A transaction entry test processing device, the device being used to implement the transaction entry test processing method according to any one of claims 1 to 4, characterized in that: The device comprises: The original test data acquisition module is used to acquire the original test data corresponding to the target account entry identifier; A transaction test data acquisition module, configured to use an authorization transaction test script corresponding to the target account entry identifier to perform an authorization transaction test on the original test data to obtain authorization transaction test data; An account entry test data acquisition module, used to use an account entry test script corresponding to the target account entry identifier to perform an account entry test on the authorized transaction test data to obtain account entry test data; A data status acquisition module, used to use a status detection script corresponding to the target account entry identifier to perform status detection on the account entry test data and obtain a data status corresponding to the account entry test data; An unavailable type acquisition module, configured to acquire the unavailable type corresponding to the account entry test data if the data state corresponding to the account entry test data is an unavailable state; The accounting test data processing module is used to determine a target processing script according to the unavailable type corresponding to the accounting test data, and use the target processing script to recover or clean the accounting test data.
6. 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 computer program, the transaction entry test processing method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the transaction entry test processing method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Service system testing method, device and system
CN104461863A
Repayment transaction data processing method and device, computer equipment and storage medium
CN109711989A
Method and apparatus for interface data processing, method and apparatus for automated testing, device, and medium
WO2020119434A1
