CN111274138A - Method and device for testing account merging function - Google Patents
Method and device for testing account merging function Download PDFInfo
- Publication number
- CN111274138A CN111274138A CN202010059188.2A CN202010059188A CN111274138A CN 111274138 A CN111274138 A CN 111274138A CN 202010059188 A CN202010059188 A CN 202010059188A CN 111274138 A CN111274138 A CN 111274138A
- Authority
- CN
- China
- Prior art keywords
- date
- test
- reconciliation
- bank core
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 247
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000005520 cutting process Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 13
- 230000006870 function Effects 0.000 claims description 60
- 238000012795 verification Methods 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000004088 simulation Methods 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 4
- 238000013101 initial test Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention relates to a method and a device for testing a reconciliation function, which automatically realize the testing of the reconciliation function in the integrated test of a credit system and a bank core system, generate a reconciliation file by batch processing tasks in the simulation execution daily cutting process of the credit system on each testing date in a testing period, merge the reconciliation files generated on each testing date in the testing period by the credit system under the condition that the date of the credit system is cut to the real-time transaction date and the simulation execution daily cutting operation of the bank core system under the condition that the date of the credit system is cut to the next date of repayment date, integrate the testing reconciliation function between the credit system and the bank core system by using the merged reconciliation files, namely require the bank core system to cooperate with the execution daily cutting operation only when the real-time transaction occurs in the testing process of the reconciliation function, greatly reduce the execution daily cutting times of the bank core system, the test time of the account merging function is shortened, and the test efficiency of the account merging function is improved.
Description
Technical Field
The invention relates to the technical field of system testing, in particular to a method and a device for testing a reconciliation function.
Background
The account merging function is an important function of a credit system, and can be used for crediting the financial system with the financial data such as real-time loan and repayment transaction data and daily interest, penalty, accounting and the like generated by credit products in the credit system through daily account merging operation.
After the credit system is developed, the account merging function of the credit system needs to be tested to ensure the correctness of the account merging file content generated by the credit system and the correctness of the account merging operation result of the bank core system, so as to ensure the stable operation of the credit system after the credit system is on line. The test of the account merging function is mainly divided into two parts: 1. testing the parallel account file function of the credit system; 2. and (3) integrated test of the credit system and the bank core system.
At present, in the integrated test of the account merging function, a credit system needs to submit test data of each test date to a bank core system once, and the bank core system needs to cooperate with the time for switching the core system of the credit system for the requirement of the account merging date, namely daily cutting, when the credit system submits the account merging test of the test date once. However, each time the bank core system switches the date, a series of day-to-day task operations are performed, and the operations take 2-3 hours. Because the test of the account merging function of the credit system needs to cover the whole life cycle of the loan product, the test date related to the test data is long, taking the example that more than 360 days are needed from the generation to the overdue of one loan product, even if the time of the business operation and verification of a tester is neglected, the whole test cycle needs to consume more than 360 x 2-3-720 hours, if the test is carried out for 10 hours every working day, the test of the account merging function needs to consume 72 days, and the test efficiency of the account merging function is greatly reduced.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for testing a reconciliation function, so as to improve the testing efficiency of the reconciliation function.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
a method for testing a merging function comprises the following steps:
initializing a credit system and a bank core system according to the test case;
analyzing the test case, and determining a real-time transaction date and a non-real-time transaction date in at least one test period, wherein the real-time transaction date comprises a borrowing date and a repayment date;
according to the test case, a batch processing task in the daily cutting process is simulated and executed in the credit system on each test date in the test period, a merged account file of each test date is generated, and the merged account file is verified;
simulating, at the bank core system, execution of a daily cut operation with the credit system maintaining system date synchronization in the case that the credit system is daily cut to the real-time transaction date;
and under the condition that the credit system date is switched to the repayment date, merging the account merging files generated on each test date in the test period to obtain merged account merging files, and integrating test account merging functions on the credit system and the bank core system by using the merged account merging files.
Optionally, initializing the credit system and the bank core system according to the test case includes:
analyzing the test case to obtain a test initial date and an initial amount of each accounting subject in the bank core system;
setting a system date of the credit system and the bank core system to the test inception date;
and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
Optionally, the generating a reconciliation file for each test date in the test cycle according to the test case by simulating a reconciliation task in the daily cutting process executed by the credit system on each test date includes:
and according to the test case, sequentially simulating and executing an account trial calculation task, a daily statistical statement generation task and a reconciliation task in the daily cutting process in the credit system on each test date in the test period, and generating a reconciliation file of each test date, wherein the reconciliation file comprises an entry file and a general ledger file.
Optionally, in the case where the credit system day switches to the next day of the real-time transaction date, the method further comprises:
simulating, at the credit system, sending a real-time transaction reconciliation request to the bank core system prior to the merging of the reconciliation files generated on each test date in the test period;
and simulating and executing a real-time transaction reconciliation task in the bank core system, and sending a reconciliation result to the credit system.
Optionally, the integrating, testing and account merging functions in the credit system and the bank core system by using the merged account merging file include:
simulating to send a reconciliation request carrying the merged reconciliation file to the bank core system in the credit system;
and simulating to execute verification of the account merging request at the bank core system, and sending a verification result to the credit system.
A test device for a reconciliation function, comprising:
the system initialization unit is used for initializing the credit system and the bank core system according to the test case;
the test case analysis unit is used for analyzing the test case and determining a real-time transaction date and a non-real-time transaction date in at least one test period, wherein the real-time transaction date comprises a borrowing date and a repayment date;
the credit system testing unit is used for simulating and executing batch processing tasks in the daily cutting process in the credit system on each testing date in the testing period according to the testing case, generating a merged account file of each testing date and verifying the merged account file;
the date synchronization unit is used for simulating the execution of daily switching operation at the bank core system under the condition that the credit system is switched to the real-time transaction date, so that the bank core system and the credit system keep system date synchronization;
the account merging unit is used for merging the account merging files generated on each testing date in the testing period under the condition that the credit system date is switched to the repayment date, so as to obtain merged account merging files;
and the integrated test unit is used for integrally testing the account merging function in the credit system and the bank core system by using the merged account merging file.
Optionally, the system initialization unit is specifically configured to:
analyzing the test case to obtain a test initial date and an initial amount of each accounting subject in the bank core system;
setting a system date of the credit system and the bank core system to the test inception date;
and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
Optionally, the credit system test unit is specifically configured to:
and according to the test case, sequentially simulating and executing an account trial calculation task, a daily statistical statement generation task and a reconciliation task in the daily cutting process in the credit system on each test date in the test period, and generating a reconciliation file of each test date, wherein the reconciliation file comprises an entry file and a general ledger file.
Optionally, the apparatus further comprises:
the reconciliation function testing unit is used for simulating to send a real-time transaction reconciliation request to the bank core system at the credit system before merging the reconciliation files generated on each testing date in the testing period under the condition that the date of the credit system is switched to the next date of the real-time transaction date; and simulating the real-time transaction reconciliation task execution at the bank core system and sending a reconciliation result to the credit system.
Optionally, the integrated test unit is specifically configured to:
simulating to send a reconciliation request carrying the merged reconciliation file to the bank core system in the credit system;
and simulating to execute verification of the account merging request at the bank core system, and sending a verification result to the credit system.
Compared with the prior art, the invention has the following beneficial effects:
the invention discloses a testing method of a reconciliation function, which automatically realizes the testing of the reconciliation function in the integrated test of a credit system and a bank core system, generates a reconciliation file in the batch processing task in the simulation execution daily cutting process of the credit system at each testing date in a testing period, merges the reconciliation files generated at each testing date in the testing period by the credit system under the condition that the date of the credit system is cut to the real-time transaction date, simulates the execution daily cutting operation of the bank core system, further under the condition that the date of the credit system is cut to the next date of repayment date, merges the reconciliation files generated at each testing date in the testing period by the credit system, integrates the testing and reconciliation functions between the credit system and the bank core system by using the merged reconciliation files, namely the bank core system is required to cooperate with the execution daily cutting operation only when the real-time transaction occurs in the testing process of the reconciliation function, greatly reduces the execution daily cutting times of the bank core system, the test time of the account merging function is shortened, and the test efficiency of the account merging function is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for testing a reconciliation function according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for initializing a credit system and a bank core system according to an embodiment of the invention;
FIG. 3 is a schematic diagram of one application scenario of a method for testing a reconciliation function according to the present invention;
FIG. 4 is a schematic diagram of one application scenario of a method for testing a reconciliation function according to the present invention;
FIG. 5 is a schematic diagram of one application scenario of a method for testing a reconciliation function according to the present invention;
fig. 6 is a schematic structural diagram of a testing apparatus for a reconciliation function according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for testing a reconciliation function, which is applied to a test server and is used for testing the reconciliation function of a bank credit system, particularly, the credit system interacts with a core system through an intermediate business platform of a bank, the intermediate business platform and the core system are collectively called as the bank core system, please refer to fig. 1, and the method for testing the reconciliation function disclosed by the embodiment comprises the following steps:
s101: initializing a credit system and a bank core system according to the test case;
the test cases are preset and comprise account information, borrowing information, test initial date and at least one test period.
Referring to fig. 2, initializing the credit system and the bank core system according to the test case includes the following steps:
s201: analyzing the test case to obtain the initial test date and the initial amount of each accounting subject in the bank core system;
s202: setting the system dates of the credit system and the bank core system as the initial test dates;
i.e. unifying the system dates of the credit system and the bank core system to the same day.
S203: and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
S102: analyzing the test case, and determining a real-time transaction date and a non-real-time transaction date in at least one test period, wherein the real-time transaction date comprises a borrowing date and a repayment date;
taking the test case including 12 months as an example, one month is a test period, number 2 of each month is a real-time transaction repayment date, number 3 of each month is a reconciliation test date, if a borrowing transaction occurs in the month, the date on which the borrowing occurs is a borrowing date, and other dates of each month are non-real-time transaction dates.
S103: according to the test case, simulating and executing a batch processing task in a daily cutting process in the credit system on each test date in the test period, generating a merged account file of each test date, and verifying the merged account file;
according to the test cases, in each test date in the test period, batch processing tasks such as an account trial calculation task, a daily statistical statement generation task and an account merging task in the daily cutting process are sequentially simulated and executed in the credit system, and an account merging file of each test date is generated and comprises an entry file and a general account file.
And when the test date is a repayment date, the simulated credit system executes real-time loan repayment operations, such as partial repayment, current full repayment, early settlement and the like.
S104: under the condition that the credit system is switched to the real-time transaction date, the bank core system simulates and executes the daily switching operation, so that the bank core system and the credit system keep the system date synchronous;
the real-time transaction date includes borrowing date and repayment date, namely, in the case that the credit system date is switched to the borrowing date or the repayment date, the bank core system simulates the execution of the daily switching operation.
S105: and under the condition that the date of the credit system is switched to the date of the next repayment date, merging the merged account files generated on each test date in the test period to obtain merged account files, and integrating the test and account function in the credit system and the bank core system by using the merged account files.
Taking one month as a testing period, taking the No. 2 of each month as a repayment date, taking the No. 3 of each month as a standing-by account testing date, taking other dates of each month as non-real-time transaction dates, merging the standing-by account files from the last 3 days to the current 2 days to obtain the merged standing-by account file.
It should be noted that, in order to ensure the accuracy of the merged account files, before merging the merged account files generated on each test date in the test period, a real-time transaction account checking request may be sent to the bank core system in the credit system simulation, a real-time transaction account checking task may be executed in the bank core system simulation, and an account checking result may be sent to the credit system simulation.
And under the condition that the account checking result represents that the account checking is correct, merging the account checking files generated on each test date in the test period.
It should be noted that, in the case that the date of the credit system is switched to the next date of the real-time transaction date, that is, in the case that the date of the credit system is switched to the borrowing date or the repayment date, it is necessary to simulate to send a real-time transaction reconciliation request to the bank core system in the credit system, simulate to execute a real-time transaction reconciliation task in the bank core system, and send a reconciliation result to the credit system.
The merged account merging file is utilized to integrate the testing and account merging functions in a credit system and a bank core system, and the testing and account merging functions comprise the following steps:
sending a merging request carrying the merged merging file to a bank core system in a credit system simulation;
and simulating and executing verification of the account merging request at the bank core system, and sending a verification result to the credit system.
The simulation of executing the verification of the account merging request in the bank core system is to verify whether the loan is balanced.
The following is a scenario embodiment, and further describes a method for testing a reconciliation function disclosed in the foregoing embodiment.
In the embodiment of the scenario, referring to fig. 3, day T is a test initial date, the credit system and the bank core system are initialized in the reconciliation function test, the credit system day is switched to day T, the bank core system day is switched to day T, and the loan of 1000 yuan is simulated in the credit system for account 1, and the period 3; the simulation account 2 borrows 2000 yuan, and the 12 th day, namely T day, is the borrowing date.
And the T +1 day is the date of executing the test aiming at the real-time transaction of the previous day, the real-time transaction account checking request is sent to the bank core system in the credit system simulation, the real-time transaction account checking task is executed in the bank core system simulation, and the account checking result is sent to the credit system.
Referring to fig. 4, the period from T +1 to T1 is a test period, and from T +1 to T1, the merged file for each test date is generated locally at the test server by simulating the batch processing operation during the execution of the daily cutting process in the credit system.
Referring to fig. 5, when the date T1 is the date of repayment, and the date of the credit system is cut to T1, the bank core system simulates the execution of the date cut operation, so that the bank core system and the credit system keep the system date synchronous, that is, the date is cut to T1.
And (4) simulating to execute real-time loan and repayment operations in the credit system, wherein account 1 returns to the first 350 yuan and account 2 settles the balance 2100 yuan.
And on the day T1+1, namely the date of repayment, simulating batch processing tasks in the day-cutting process in the credit system, generating account merging files on the day T1+1, simulating the real-time transaction account checking request sent to the bank core system in the credit system, simulating the real-time transaction account checking tasks executed in the bank core system, and sending account checking results to the credit system.
Merging the merged account files from the T day to the T1 day to obtain a merged account file, and simulating to send an account merging request carrying the merged account file to a bank core system in a credit system; and simulating and executing verification of the account merging request at the bank core system, and sending a verification result to the credit system.
The testing method for the account merging function disclosed by the embodiment automatically realizes the testing of the account merging function in the integrated testing of a credit system and a bank core system, batch processing tasks in the process of simulating and executing daily cutting of the credit system are carried out on each testing date in a testing period, an account merging file is generated, the account merging file generated on each testing date in the testing period is merged by the credit system under the condition that the date of the credit system is cut to the date of real-time transaction, the operation of simulating and executing daily cutting is carried out on the bank core system under the condition that the date of the credit system is cut to the next date of repayment, the merged account merging file is utilized, the integrated testing and accounting functions are carried out on the credit system and the bank core system, namely, the bank core system is required to be matched with the daily cutting operation only when the real-time transaction occurs in the testing process of the account merging function, and the daily cutting times of the bank core system are greatly reduced, the test time of the account merging function is shortened, and the test efficiency of the account merging function is improved.
Based on the method for testing a reconciliation function disclosed in the above embodiment, this embodiment correspondingly discloses a device for testing a reconciliation function, please refer to fig. 6, which includes:
the system initialization unit 601 is used for initializing the credit system and the bank core system according to the test cases;
a test case analyzing unit 602, configured to analyze the test case, and determine a real-time transaction date and a non-real-time transaction date in at least one test period, where the real-time transaction date includes a borrowing date and a repayment date;
the credit system testing unit 603 is configured to, according to the test case, generate a merged account file for each test date in the test period on a batch processing task in the credit system simulation execution daily cutting process on each test date, and verify the merged account file;
a date synchronization unit 604, configured to, in a case where the credit system date is switched to the real-time transaction date, simulate, at the bank core system, execution of a date switching operation, so that the bank core system and the credit system maintain system date synchronization;
a combined account file merging unit 605, configured to merge the combined account files generated on each test date in the test period when the credit system date is switched to the next repayment date, so as to obtain merged combined account files;
and an integration test unit 606, configured to use the merged reconciliation file to integrate a testing reconciliation function in the credit system and the bank core system.
Optionally, the system initialization unit is specifically configured to:
analyzing the test case to obtain a test initial date and an initial amount of each accounting subject in the bank core system;
setting a system date of the credit system and the bank core system to the test inception date;
and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
Optionally, the credit system test unit is specifically configured to:
and according to the test case, sequentially simulating and executing an account trial calculation task, a daily statistical statement generation task and a reconciliation task in the daily cutting process in the credit system on each test date in the test period, and generating a reconciliation file of each test date, wherein the reconciliation file comprises an entry file and a general ledger file.
Optionally, the apparatus further comprises:
the reconciliation function testing unit is used for simulating to send a real-time transaction reconciliation request to the bank core system at the credit system before merging the reconciliation files generated on each testing date in the testing period under the condition that the date of the credit system is switched to the next date of the real-time transaction date; and simulating and executing a real-time transaction reconciliation task in the bank core system, and sending a reconciliation result to the credit system.
Optionally, the integrated test unit is specifically configured to:
simulating to send a reconciliation request carrying the merged reconciliation file to the bank core system in the credit system;
and simulating to execute verification of the account merging request at the bank core system, and sending a verification result to the credit system.
The embodiment discloses a testing device of a reconciliation function, which automatically realizes the testing of the reconciliation function in the integrated testing of a credit system and a bank core system, batch processing tasks in the simulation execution daily cutting process of the credit system are carried out on each testing date in a testing period, a reconciliation file is generated, the reconciliation file generated on each testing date in the testing period is merged by the credit system under the condition that the date of the credit system is cut to the real-time transaction date, the simulated execution daily cutting operation of the bank core system is carried out, and further under the condition that the date of the credit system is cut to the next date of repayment date, the reconciliation file generated on each testing date in the testing period is merged by the credit system, the consolidated reconciliation file is utilized to integrally test the reconciliation function between the credit system and the bank core system, namely the bank core system is required to be cooperated with the execution daily cutting operation only when the real-time transaction occurs in the testing process of the reconciliation function, so that the, the test time of the account merging function is shortened, and the test efficiency of the account merging function is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for testing a parallel account function is characterized by comprising the following steps:
initializing a credit system and a bank core system according to the test case;
analyzing the test case, and determining a real-time transaction date and a non-real-time transaction date in at least one test period, wherein the real-time transaction date comprises a borrowing date and a repayment date;
according to the test case, a batch processing task in the daily cutting process is simulated and executed in the credit system on each test date in the test period, a merged account file of each test date is generated, and the merged account file is verified;
simulating, at the bank core system, execution of a daily cut operation with the credit system maintaining system date synchronization in the case that the credit system is daily cut to the real-time transaction date;
and under the condition that the credit system date is switched to the repayment date, merging the account merging files generated on each test date in the test period to obtain merged account merging files, and integrating test account merging functions on the credit system and the bank core system by using the merged account merging files.
2. The method according to claim 1, wherein initializing the credit system and the bank core system according to the test cases comprises:
analyzing the test case to obtain a test initial date and an initial amount of each accounting subject in the bank core system;
setting a system date of the credit system and the bank core system to the test inception date;
and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
3. The method according to claim 1, wherein the generating a reconciliation file for each test date in the test period by simulating a reconciliation task in an execution daily cut process at the credit system on each test date according to the test case comprises:
and according to the test case, sequentially simulating and executing an account trial calculation task, a daily statistical statement generation task and a reconciliation task in the daily cutting process in the credit system on each test date in the test period, and generating a reconciliation file of each test date, wherein the reconciliation file comprises an entry file and a general ledger file.
4. The method according to claim 1, wherein in the event that the credit system day switches to the next day of the real-time transaction date, the method further comprises:
simulating, at the credit system, sending a real-time transaction reconciliation request to the bank core system prior to merging the reconciliation file generated on each test date in the test period;
and simulating and executing a real-time transaction reconciliation task in the bank core system, and sending a reconciliation result to the credit system.
5. The method according to claim 1, wherein the integrating test and account functions at the credit system and the bank core system using the merged account-merging file comprises:
simulating to send a reconciliation request carrying the merged reconciliation file to the bank core system in the credit system;
and simulating to execute verification of the account merging request at the bank core system, and sending a verification result to the credit system.
6. A test device for account combining function is characterized by comprising:
the system initialization unit is used for initializing the credit system and the bank core system according to the test case;
the test case analysis unit is used for analyzing the test case and determining a real-time transaction date and a non-real-time transaction date in at least one test period, wherein the real-time transaction date comprises a borrowing date and a repayment date;
the credit system testing unit is used for simulating and executing batch processing tasks in the daily cutting process in the credit system on each testing date in the testing period according to the testing case, generating a merged account file of each testing date and verifying the merged account file;
the date synchronization unit is used for simulating the execution of daily switching operation at the bank core system under the condition that the credit system is switched to the real-time transaction date, so that the bank core system and the credit system keep system date synchronization;
the account merging unit is used for merging the account merging files generated on each testing date in the testing period under the condition that the credit system date is switched to the repayment date, so as to obtain merged account merging files;
and the integrated test unit is used for integrally testing the account merging function in the credit system and the bank core system by using the merged account merging file.
7. The apparatus according to claim 6, wherein the system initialization unit is specifically configured to:
analyzing the test case to obtain a test initial date and an initial amount of each accounting subject in the bank core system;
setting a system date of the credit system and the bank core system to the test inception date;
and configuring the bank core system according to the initial amount of each accounting subject in the bank core system.
8. The apparatus according to claim 6, wherein the credit system testing unit is specifically configured to:
and according to the test case, sequentially simulating and executing an account trial calculation task, a daily statistical statement generation task and a reconciliation task in the daily cutting process in the credit system on each test date in the test period, and generating a reconciliation file of each test date, wherein the reconciliation file comprises an entry file and a general ledger file.
9. The apparatus of claim 6, further comprising:
the reconciliation function testing unit is used for simulating to send a real-time transaction reconciliation request to the bank core system at the credit system before merging the reconciliation files generated on each testing date in the testing period under the condition that the date of the credit system is switched to the next date of the real-time transaction date; and simulating the real-time transaction reconciliation task execution at the bank core system and sending a reconciliation result to the credit system.
10. The apparatus of claim 6, wherein the integrated test unit is specifically configured to:
simulating to send a reconciliation request carrying the merged reconciliation file to the bank core system in the credit system;
and simulating to execute verification of the account merging request at the bank core system, and sending a verification result to the credit system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010059188.2A CN111274138B (en) | 2020-01-16 | 2020-01-16 | Method and device for testing account merging function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010059188.2A CN111274138B (en) | 2020-01-16 | 2020-01-16 | Method and device for testing account merging function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111274138A true CN111274138A (en) | 2020-06-12 |
CN111274138B CN111274138B (en) | 2024-02-20 |
Family
ID=71003112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010059188.2A Active CN111274138B (en) | 2020-01-16 | 2020-01-16 | Method and device for testing account merging function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111274138B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112419052A (en) * | 2020-09-30 | 2021-02-26 | 中信百信银行股份有限公司 | Transaction testing method and device, electronic equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056182A (en) * | 2000-08-10 | 2002-02-20 | Hachijuni Bank Ltd | System and method for antedated completion processing |
WO2007071984A2 (en) * | 2005-12-19 | 2007-06-28 | Misys Plc | Method and system for running a batch process |
CN104978684A (en) * | 2014-11-27 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | Information processing method and system |
CN107563887A (en) * | 2017-08-22 | 2018-01-09 | 福建省农村信用社联合社 | Day blanking method is shut down based on AS400 bank cores billing and accounting system zero |
CN108614777A (en) * | 2018-05-08 | 2018-10-02 | 山东浪潮通软信息科技有限公司 | A kind of financial transaction test system and test method based on actual services |
CN109727108A (en) * | 2018-12-26 | 2019-05-07 | 金交恒通有限公司 | All-purpose card interconnects allocation settlement system |
CN109903146A (en) * | 2018-11-22 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of accounting and account method and system calculate equipment and storage medium |
CN110046988A (en) * | 2019-04-18 | 2019-07-23 | 重庆天蓬网络有限公司 | A kind of batch processing system operational approach, device, medium and electronic equipment |
-
2020
- 2020-01-16 CN CN202010059188.2A patent/CN111274138B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056182A (en) * | 2000-08-10 | 2002-02-20 | Hachijuni Bank Ltd | System and method for antedated completion processing |
WO2007071984A2 (en) * | 2005-12-19 | 2007-06-28 | Misys Plc | Method and system for running a batch process |
CN104978684A (en) * | 2014-11-27 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | Information processing method and system |
CN107563887A (en) * | 2017-08-22 | 2018-01-09 | 福建省农村信用社联合社 | Day blanking method is shut down based on AS400 bank cores billing and accounting system zero |
CN108614777A (en) * | 2018-05-08 | 2018-10-02 | 山东浪潮通软信息科技有限公司 | A kind of financial transaction test system and test method based on actual services |
CN109903146A (en) * | 2018-11-22 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of accounting and account method and system calculate equipment and storage medium |
CN109727108A (en) * | 2018-12-26 | 2019-05-07 | 金交恒通有限公司 | All-purpose card interconnects allocation settlement system |
CN110046988A (en) * | 2019-04-18 | 2019-07-23 | 重庆天蓬网络有限公司 | A kind of batch processing system operational approach, device, medium and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112419052A (en) * | 2020-09-30 | 2021-02-26 | 中信百信银行股份有限公司 | Transaction testing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111274138B (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108932663B (en) | Method and device for simulating matched transaction | |
CN108536521B (en) | Simulation platform-based offline environment checking method and device | |
CN110555758A (en) | Enterprise finance and tax intelligent management system | |
CN111797019B (en) | Transaction accounting test method and device, electronic equipment and storage medium | |
CN111274138A (en) | Method and device for testing account merging function | |
RU2745340C2 (en) | Virtual marketplace for distributed tools in an enterprise environment | |
CN117056218A (en) | Test management method, platform, medium and equipment | |
CN116957828A (en) | Method, equipment, storage medium and device for checking account | |
CN114969127B (en) | Reconciliation method, reconciliation system and storage medium for automatically combining reconciliation transactions | |
Kusuma et al. | The Implementation of the Black Box Method for Testing Smart Hajj Application Ministry of Religion | |
Offutt et al. | An industrial study of applying input space partitioning to test financial calculation engines | |
Olonite et al. | Public spending and economic growth performance: evidence from Nigeria | |
CN114297052A (en) | Test data generation method and device | |
CN113254352A (en) | Test method, device, equipment and storage medium for test case | |
CN112486842A (en) | Product testing method and device | |
Kemincha | Evaluation of the Perceived Support Quality of E-Government Users in Tanzania. Case Study of Government E-payment Gateway | |
CN113064837B (en) | Database benchmark test method and device based on transaction scene | |
Turnu et al. | Introducing tdd on a free libre open source software project: a simulation experiment | |
CN115422026A (en) | Production playback verification method based on quasi-production environment and storage medium | |
CN117670505A (en) | Model construction method, data processing method and system | |
CN117472746A (en) | Automated testing method, apparatus and storage medium | |
CN116594904A (en) | Financial service automation test system, method, medium and equipment | |
CN114611931A (en) | High-voltage user risk assessment method | |
CN112037013A (en) | Pedestrian credit variable derivation method and device | |
CN111625458A (en) | Service system testing method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |