CN113485911A - Test data generation platform based on banking business - Google Patents

Test data generation platform based on banking business Download PDF

Info

Publication number
CN113485911A
CN113485911A CN202110634547.7A CN202110634547A CN113485911A CN 113485911 A CN113485911 A CN 113485911A CN 202110634547 A CN202110634547 A CN 202110634547A CN 113485911 A CN113485911 A CN 113485911A
Authority
CN
China
Prior art keywords
unit
data generation
test data
service
banking
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.)
Pending
Application number
CN202110634547.7A
Other languages
Chinese (zh)
Inventor
林虎
王丽辉
曾睦宁
陈俊成
严晓彤
张金山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Guangfa Bank Co Ltd
Original Assignee
China Guangfa Bank Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Guangfa Bank Co Ltd filed Critical China Guangfa Bank Co Ltd
Priority to CN202110634547.7A priority Critical patent/CN113485911A/en
Publication of CN113485911A publication Critical patent/CN113485911A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test data generation platform based on banking business, which comprises a core processing layer, a service layer and an interaction layer, wherein the core processing layer is used for processing a test data; the core processing layer comprises a number making engine, a cloud data management module, a rule engine and a job scheduling management module, wherein the number making engine completes number making service by calling API (application programming interface), the cloud data management module is used for storing metadata of created test data, the rule engine is used for matching batch data generation and simulation message generation, field rule customization and correlation customization among fields, and the job scheduling management module is used for executing and managing number making scripts; the service layer comprises a basic data generation module, a composite data generation module, an automatic test data generation module, a message data generation module and a large-batch data generation module; the interaction layer comprises a uniform interface and an interaction interface. Through standardized definition, componentized API and unified service processing, seamless combination between Api is carried out, and the number making service of different service scenes is satisfied in time.

Description

Test data generation platform based on banking business
Technical Field
The invention relates to the technical field of data processing, in particular to a test data generation platform based on banking business.
Background
The preparation of test data is a difficult problem which is difficult to bypass in the test process, for banks, the preparation of test data is more difficult, according to the internal investigation of a test team of a certain financial institution, the total test workload of the preparation of test data is about 25%, and the test data required by the banks has two characteristics, namely end-to-end, and because the banking industry has more application systems and complex business, the relevance of the data among the systems is ensured to be the most basic requirement; 2. the method is high in reliability, data needs to be real, and a real service scene needs to be completely simulated.
Large internet enterprises (Ali, Teng) have platforms similar to those for preparing test data, the implementation modes are consistent, such tools generate test data mainly through calling of API, operating a database or a combination mode of the API and the database, for example, a data bank of an Ali cloud effect platform, a test tool of Teng has similar functions, but the internet enterprises are different from the use scenes of the bank, the internet business is relatively simple, the platform for preparing the test data is used for paying attention to solving the data problem of a single system, and the data preparation of cross-system and long-link transaction data is paid attention to by the numerical making tool except for solving the data problem of the system. The bank has complex business and many associated systems, and the difficulty in developing an end-to-end number making scene is large: most of the number creation scenes need to span a plurality of systems and be realized by connecting a plurality of interfaces in series, test developers are difficult to tidy and clear complex link relations, and in addition, even if the new scenes are tidily and clearly arranged, subsequent maintenance and updating are also a problem.
Disclosure of Invention
The invention aims to provide a test data generation platform based on banking business to solve the problem of low data preparation efficiency in the banking industry test process.
In order to achieve the above object, an embodiment of the present invention provides a test data generation platform based on banking services, including a core processing layer, a service layer, and an interaction layer;
the core processing layer comprises a number making engine, a cloud data management module, a rule engine and a job scheduling management module, wherein the number making engine completes number making service by calling API (application programming interface), the cloud data management module is used for storing metadata of created test data, the rule engine is used for matching batch data generation and simulation message generation, field rule customization and correlation customization among fields, and the job scheduling management module is used for executing and managing number making scripts;
the service layer comprises a basic data generation module, a composite data generation module, an automatic test data generation module, a message data generation module and a mass data generation module, and is used for providing generation services of basic data, composite data, automatic test data, message data and mass data;
the interaction layer comprises a uniform interface and an interaction interface, and is used for interaction with the outside.
Preferably, the number making engine comprises a request drop unit, a log collection unit, a state tracking unit, a scene assembly unit and an abnormality diagnosis unit.
Preferably, the rule engine includes a rule template unit, a regular expression unit, a field association unit, a rule combination unit, an enumeration management unit and a file generation unit.
Preferably, the job scheduling management module includes a breakpoint restarting unit, a shutdown restarting unit, a batch concurrent unit, a service serial unit, an asynchronous response unit, and a thread pool.
Preferably, the request drop unit is configured to register the manufacture number request.
Preferably, the scene assembling unit is configured to assemble different manufacturing scenes according to a service.
Preferably, the breakpoint rerun unit is configured to reinitiate execution from the faulty node after the middle link is faulty.
Preferably, the service serialization unit is used for executing the dependent service scenes in a serial manner.
In the test data generation platform based on banking business, the unified result processing module is used for processing the return of the result, and the final manufacture platform provides a flexible combined configuration page at the front end through a series of standardized processing, so that a user can configure different composite manufacture scenes according to different scenes. The problem of data preparation in the banking test process is solved, the requirements of end-to-end property, reality, high availability, high success rate and high efficiency are met, the workload of test data preparation input by a tester in test execution is reduced, and the risks of dirty data and environment availability brought to a tested system and the whole test environment are avoided.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a platform for generating test data based on banking services according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a data making engine of a banking-based test data generation platform provided by the present invention;
FIG. 3 is a schematic structural diagram of a rules engine of a banking-based test data generation platform provided by the present invention;
fig. 4 is a schematic structural diagram of a job scheduling management unit of a banking-based test data generation platform provided by the 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.
It should be understood that the step numbers used herein are for convenience of description only and are not used as limitations on the order in which the steps are performed.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, an embodiment of the present invention provides a test data generation platform based on banking services, including a core processing layer, a service layer, and an interaction layer;
the core processing layer comprises a number making engine, a cloud data management module, a rule engine and a job scheduling management module, wherein the number making engine completes number making service by calling API (application programming interface), the cloud data management module is used for storing metadata of created test data, the rule engine is used for matching batch data generation and simulation message generation, field rule customization and correlation customization among fields, and the job scheduling management module is used for executing and managing number making scripts;
the service layer comprises a basic data generation module, a composite data generation module, an automatic test data generation module, a message data generation module and a mass data generation module, and is used for providing generation services of basic data, composite data, automatic test data, message data and mass data;
the interaction layer comprises a uniform interface and an interaction interface, and is used for interaction with the outside.
In the present embodiment, the most important parts of the whole architecture are described as follows: the platform is divided into three layers from top to bottom: the interaction layer comprises a uniform interface and an interaction interface, the interaction layer is used for interaction with the outside, all the number making functions are packaged into number making interfaces, the interaction layer provides a front-end interface for the number making interfaces, a user can conveniently and directly generate data through a platform, and all the number making interfaces are open to the outside and can be called by other test frames. The service layer provides five major types of number making services for the platform, including generation services of basic data, composite data, automatic test data, message data and mass data. The core processing layer comprises a number making engine, a metadata management module, a rule engine and a job scheduling management module. As the most core part of the manufacture platform, the manufacture engine completes manufacture service by calling each manufacture API, and the manufacture engine comprises 5 subunits, which are respectively: the system comprises a request drop unit, a state tracking unit, a scene assembling unit, a log collecting unit and an abnormity diagnosing unit, wherein the scene assembling unit automatically connects the existing number making interfaces in series after receiving a new scene assembling application submitted by a user at the front end and approved by a manager, and completes a new number making scene and is on line; the metadata management unit is used for storing metadata of the created test data; the rule engine is matched with batch data generation and simulated message generation functions, and supports field rule customization and correlation customization among fields, so that generated 'false' data is close to reality. The job scheduling management is used for execution management of the number making script.
After receiving a request of a test data application, an interaction layer verifies the content of the request, the legality of parameters, the authority and other operations, then generates a channel information object (channelCtx) and transmits the channel information object to a service layer, the service layer matches corresponding number making services according to channel information and calls different components to form processing link information of the request, and a logical flow object (lgCtx), such as an identifier for opening internet bank, is introduced into the request of a debit card, so that components for calling internet bank are additionally added. The core processing layer executes corresponding components according to lgCtx processing business logic, and finally generates data, such as rule processing, encryption algorithm and the like related to a debit card scene.
The scene-type Api combines the manufacture number, analyzes and refines manufacture number function points according to a service scene, encapsulates the Api as a component, manages the manufacture number Api through componentization, flexibly combines different manufacture number components according to different service scenes and transaction links to generate a composite manufacture number scene so as to meet different service scenes.
Referring to fig. 2, in one embodiment, the number making engine includes a request drop unit, a log collection unit, a state tracking unit, a scene assembly unit, and an anomaly diagnosis unit.
Referring to fig. 3, in a certain embodiment, the rule engine includes a rule template unit, a regular expression unit, a field association unit, a rule combination unit, an enumeration management unit, and a file generation unit.
Referring to fig. 4, in a certain embodiment, the job scheduling management module includes a breakpoint restarting unit, a shutdown restarting unit, a batch concurrent unit, a service serial unit, an asynchronous response unit, and a thread pool.
In one embodiment, the request drop unit is configured to register the manufacture request.
In this embodiment, the request table unit is configured to register a manufacture number request, write the manufacture number request into a table, and use the manufacture number request for task initiation and subsequent task tracking and data statistics.
In one embodiment, the scene assembling unit is configured to assemble different artificial scenes according to services.
In this embodiment, the scene assembling unit is configured to assemble different number scenes according to services in a composite scene to form the composite scene, so that the number is more flexible.
In one embodiment, the breakpoint rerun unit restarts execution from the faulty node after the middle link has a fault.
In this embodiment, the breakpoint rerun unit is configured to, when a service scenario with many execution nodes is executed, restart execution from an error node after an error occurs in an intermediate link.
In one embodiment, the service serialization unit is configured to execute the dependent service scenarios in a serialized manner.
In this embodiment, the service serialization unit is configured to support execution in a serialized manner for a service scenario with dependency.
In the test data generation platform based on banking business, the unified result processing module is used for processing the return of the result, and the final manufacture platform provides a flexible combined configuration page at the front end through a series of standardized processing, so that a user can configure different composite manufacture scenes according to different scenes. The problem of data preparation in the banking test process is solved, the requirements of end-to-end property, reality, high availability, high success rate and high efficiency are met, the workload of test data preparation input by a tester in test execution is reduced, and the risks of dirty data and environment availability brought to a tested system and the whole test environment are avoided.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. A test data generation platform based on banking business is characterized by comprising a core processing layer, a service layer and an interaction layer;
the core processing layer comprises a number making engine, a cloud data management module, a rule engine and a job scheduling management module, wherein the number making engine completes number making service by calling API (application programming interface), the cloud data management module is used for storing metadata of created test data, the rule engine is used for matching batch data generation and simulation message generation, field rule customization and correlation customization among fields, and the job scheduling management module is used for executing and managing number making scripts;
the service layer comprises a basic data generation module, a composite data generation module, an automatic test data generation module, a message data generation module and a mass data generation module, and is used for providing generation services of basic data, composite data, automatic test data, message data and mass data;
the interaction layer comprises a uniform interface and an interaction interface, and is used for interaction with the outside.
2. The banking-based test data generation platform of claim 1, wherein the artifact engine includes a request drop unit, a log collection unit, a state tracking unit, a scenario assembly unit, and an anomaly diagnosis unit.
3. The banking-based test data generation platform of claim 1, wherein the rule engine comprises a rule template unit, a regular expression unit, a field association unit, a rule combination unit, an enumeration management unit, and a file generation unit.
4. The banking-based test data generation platform of claim 1, wherein the job scheduling management module includes a breakpoint re-run unit, a shutdown re-start unit, a batch concurrency unit, a service serialization unit, an asynchronous response unit, and a thread pool.
5. The banking-based test data generation platform of claim 2, wherein the request drop unit is configured to register a request for a manufacture number.
6. The banking-based test data generation platform of claim 2, wherein the scenario assembly unit is configured to assemble different configuration scenarios according to a business.
7. The banking-based test data generation platform of claim 4, wherein the breakpoint rerun unit is configured to reinitiate execution from a faulty node after an intermediate link is faulty.
8. The banking-based test data generation platform of claim 4, wherein the business serialization unit is configured to execute dependent business scenarios in a serialized manner.
CN202110634547.7A 2021-06-07 2021-06-07 Test data generation platform based on banking business Pending CN113485911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110634547.7A CN113485911A (en) 2021-06-07 2021-06-07 Test data generation platform based on banking business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110634547.7A CN113485911A (en) 2021-06-07 2021-06-07 Test data generation platform based on banking business

Publications (1)

Publication Number Publication Date
CN113485911A true CN113485911A (en) 2021-10-08

Family

ID=77934447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110634547.7A Pending CN113485911A (en) 2021-06-07 2021-06-07 Test data generation platform based on banking business

Country Status (1)

Country Link
CN (1) CN113485911A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218114A (en) * 2021-12-22 2022-03-22 四川启睿克科技有限公司 Full-automatic test data generation method based on interface flow arrangement
CN117032835A (en) * 2023-10-09 2023-11-10 中邮消费金融有限公司 Number making device and method for scene arrangement

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013218A1 (en) * 2007-07-02 2009-01-08 Optimal Test Ltd. Datalog management in semiconductor testing
CN108984712A (en) * 2018-07-06 2018-12-11 深圳前海微众银行股份有限公司 Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
CN110059002A (en) * 2019-03-16 2019-07-26 平安普惠企业管理有限公司 Generation method, test equipment, storage medium and the device of test data
CN111221726A (en) * 2019-12-25 2020-06-02 平安普惠企业管理有限公司 Test data generation method and device, storage medium and intelligent equipment
CN112685288A (en) * 2020-12-03 2021-04-20 福建亿能达信息技术股份有限公司 Method, device, equipment and medium for generating test data of association table

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013218A1 (en) * 2007-07-02 2009-01-08 Optimal Test Ltd. Datalog management in semiconductor testing
CN108984712A (en) * 2018-07-06 2018-12-11 深圳前海微众银行股份有限公司 Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
CN110059002A (en) * 2019-03-16 2019-07-26 平安普惠企业管理有限公司 Generation method, test equipment, storage medium and the device of test data
CN111221726A (en) * 2019-12-25 2020-06-02 平安普惠企业管理有限公司 Test data generation method and device, storage medium and intelligent equipment
CN112685288A (en) * 2020-12-03 2021-04-20 福建亿能达信息技术股份有限公司 Method, device, equipment and medium for generating test data of association table

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218114A (en) * 2021-12-22 2022-03-22 四川启睿克科技有限公司 Full-automatic test data generation method based on interface flow arrangement
CN114218114B (en) * 2021-12-22 2024-04-12 四川启睿克科技有限公司 Full-automatic test data generation method based on interface flow arrangement
CN117032835A (en) * 2023-10-09 2023-11-10 中邮消费金融有限公司 Number making device and method for scene arrangement
CN117032835B (en) * 2023-10-09 2024-01-26 中邮消费金融有限公司 Number making device and method for scene arrangement

Similar Documents

Publication Publication Date Title
CN111142867B (en) Service visual arrangement system and method under micro service architecture
Tsai et al. Scenario-based functional regression testing
JP5520219B2 (en) Graphical computation of transactions with error handling
CN100571167C (en) The method and apparatus of the unit testing of Web service operation flow
Su et al. AutoBash: Improving configuration management with operating system causality analysis
US6385765B1 (en) Specification and verification for concurrent systems with graphical and textual editors
Bai et al. Scenario-based modeling and its applications
CN106506283B (en) Business test method and device of bank and enterprise docking system
CN113485911A (en) Test data generation platform based on banking business
Xie et al. Model-based testing of community-driven open-source GUI applications
US7380168B2 (en) System development tool
Cao et al. WSOTF: An automatic testing tool for web services composition
Gan et al. Runtime monitoring of web service conversations
CN110134585A (en) System Test Plan generation method and terminal device
Rugina et al. An architecture-based dependability modeling framework using AADL
Boniol et al. Modelling and analyzing multi-core COTS processors
Auguston Behavior models for software architecture
Combes et al. Modeling and verification of a telecommunication application using live sequence charts and the play-engine tool
Souri Formal specification and verification of a data replication approach in distributed systems
Miao et al. A formal specification-based integration testing approach
Yang et al. Generating test scenarios using sysml activity diagram
Remenska Bringing Model Checking Closer To Practical Software Engineering
Loveland et al. Testing z/OS: The premier operating system for IBM's zSeries server
Kluza et al. Proposal of a hierarchical approach to formal verification of BPMN models using Alvis and XTT2 methods
Hwang et al. A framework and language support for automatic dynamic testing of workflow management systems

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