CN110471834B - Credit card simulation test method under multi-transaction channel and related equipment - Google Patents
Credit card simulation test method under multi-transaction channel and related equipment Download PDFInfo
- Publication number
- CN110471834B CN110471834B CN201910579238.7A CN201910579238A CN110471834B CN 110471834 B CN110471834 B CN 110471834B CN 201910579238 A CN201910579238 A CN 201910579238A CN 110471834 B CN110471834 B CN 110471834B
- Authority
- CN
- China
- Prior art keywords
- transaction channel
- test
- credit card
- target
- test case
- 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.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 93
- 238000010998 test method Methods 0.000 title claims abstract description 14
- 238000012360 testing method Methods 0.000 claims abstract description 327
- 238000004891 communication Methods 0.000 claims abstract description 127
- 238000004519 manufacturing process Methods 0.000 claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000000586 desensitisation Methods 0.000 claims abstract description 13
- 238000004806 packaging method and process Methods 0.000 claims abstract description 12
- 230000008520 organization Effects 0.000 claims description 41
- 238000000034 method Methods 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 230000001960 triggered effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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
-
- 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/3692—Test management for test results analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/341—Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Health & Medical Sciences (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Networks & Wireless Communication (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a credit card simulation test method under a multi-transaction channel, which comprises the following steps: receiving credit card information configured on a preset configuration interface; generating a simulation message according to the configured credit card information; determining a target transaction channel and a target communication strategy according to a preset rule; packaging the simulation message according to the target communication strategy to obtain a response message; acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by performing desensitization processing according to credit card transaction data in a production environment; performing simulation test on the response message according to the test case set; and outputting a test result. The invention also provides a credit card simulation test device, a terminal and a storage medium under the multi-transaction channel. According to the invention, the automatic test platform is provided with a plurality of credit card transaction channels and communication strategies under different credit card transaction channels, so that the simulation of credit card transaction information under a plurality of transaction channels can be supported for the first time.
Description
Technical Field
The invention relates to the technical field of automatic testing, in particular to a credit card simulation testing method under a multi-transaction channel and related equipment.
Background
Today, with the rapid development of internet finance, new internet products in the financial field, such as credit card application, are layered endlessly, and greatly improve the life of people. To ensure that credit card applications in a production environment can run properly and smoothly to meet the needs of users in terms of functionality, performance, etc., a simulator provided by a credit card organization is typically selected to simulate credit card transaction information in a real production environment.
However, existing credit card organizations provide simulators, one simulator only supporting the simulation of credit card transaction information under one transaction channel, and cannot simulate credit card transaction information under other transaction channels. To simulate credit card transaction information under different transaction channels, a different simulator provided by the credit card organization needs to be selected.
Therefore, it is necessary to provide a credit card simulation test method under multiple transaction channels, which can support the simulation of credit card transaction information under multiple transaction channels.
Disclosure of Invention
In view of the above, it is necessary to provide a method, a device, a terminal and a storage medium for simulating credit cards under multiple transaction channels, which configure multiple credit card transaction channels and communication strategies under different credit card transaction channels through an automatic test platform, so as to realize the simulation of credit card transaction information under multiple transaction channels simultaneously for the first time.
A first aspect of the present invention provides a credit card simulation test method under a multi-transaction channel, the method comprising:
Receiving credit card information configured on a preset configuration interface;
generating a simulation message according to the configured credit card information;
determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format;
Packaging the simulation message according to the target communication strategy to obtain a response message;
Acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by desensitizing credit card transaction data in a production environment;
performing simulation test on the response message according to the test case set;
And outputting a test result.
Preferably, the obtaining the test case set corresponding to the target transaction channel includes:
Identifying the credit card organization type corresponding to the response message;
When the credit card organization type corresponding to the response message is determined to be the first type, directly acquiring a test case set corresponding to the target transaction channel;
And when the credit card organization type corresponding to the response message is determined to be the second type, detecting whether a link under the target transaction channel is connected, and acquiring a test case set corresponding to the target transaction channel when the link under the target transaction channel is determined to be connected.
Preferably, when it is determined that the link under the target transaction channel is not connected, the method further comprises:
And outputting preset prompt information, wherein the preset prompt information is used for prompting a user to manually connect the link.
Preferably, the determining the target transaction channel according to the preset rule and the communication policy corresponding to the target transaction channel include:
When the preset test time is met, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy;
Determining the acquired transaction channel as the target transaction channel;
and determining the acquired communication strategy as the target communication strategy.
Preferably, the determining the target transaction channel according to the preset rule and the target communication policy corresponding to the target transaction channel includes:
when detecting that the transaction channel is input in the preset transaction channel input box, taking the transaction channel input in the preset transaction channel input box as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
Preferably, the determining the target transaction channel according to the preset rule and the target communication policy corresponding to the target transaction channel includes:
When detecting a selected operation in a plurality of preset transaction channel option frames, taking a transaction channel corresponding to the selected transaction channel option frame as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
Preferably, after the performing the simulation test on the response message according to the test case set, the method further includes:
Obtaining a test result of each test case in the test case set;
judging whether the test result of each test case is successful;
when the test result of each test case is determined to be successful, the output test result comprises: outputting a test result of successful test;
When the test result of each test case is determined to be not successful, the output test result comprises: and outputting a test result of test failure.
A second aspect of the present invention provides a credit card simulation test apparatus under a multi-transaction channel, the apparatus comprising:
the receiving module is used for receiving the credit card information configured on the preset configuration interface;
The generation module is used for generating a simulation message according to the configured credit card information;
The determining module is used for determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format;
The packaging module is used for packaging the simulation message according to the target communication strategy to obtain a response message;
the acquisition module is used for acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed after desensitization processing according to credit card transaction data in a production environment;
the test module is used for carrying out simulation test on the response message according to the test case set;
And the output module is used for outputting the test result.
A third aspect of the present invention provides a terminal comprising a processor for implementing the credit card simulation test method under multiple transaction channels when executing a computer program stored in a memory.
A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the credit card simulation test method under multiple transaction channels.
In summary, the credit card simulation test method, device, terminal and storage medium under the multi-transaction channel provided by the invention receive the credit card information configured on the preset configuration interface; generating a simulation message according to the configured credit card information; determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format; packaging the simulation message according to the target communication strategy to obtain a response message; acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by desensitizing credit card transaction data in a production environment; performing simulation test on the response message according to the test case set; and outputting a test result. According to the invention, the automatic test platform is used for configuring a plurality of credit card transaction channels and communication strategies under different credit card transaction channels, so that the simulation of credit card transaction information under a plurality of transaction channels can be supported for the first time; and secondly, the adopted test case set is a test case library formed after desensitization processing according to credit card transaction data in the production environment, and the desensitization processing can keep the original information of the credit card transaction data in the production environment, so that the data adopted in the test process is consistent with the data in the production environment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a credit card simulation test method under a multi-transaction channel according to an embodiment of the invention.
Fig. 2 is a block diagram of a credit card simulation test apparatus under a multi-transaction channel according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It should be noted that, without conflict, the embodiments of the present invention and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, and the described embodiments are merely some, rather than all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Example 1
Fig. 1 is a flowchart of a credit card simulation test method under a multi-transaction channel according to an embodiment of the invention.
In this embodiment, the method for simulating and testing credit cards under multiple transaction channels can be applied to a terminal, and for the terminal needing to perform the credit card simulation test under multiple transaction channels, the function of simulating and testing credit cards under multiple transaction channels provided by the method of the invention can be directly integrated on the terminal, or the terminal can be operated in the form of a software development kit (Software Development Kit, SKD).
As shown in FIG. 1, the credit card simulation test method under the multi-transaction channel specifically comprises the following steps, the sequence of the steps in the flow chart can be changed according to different requirements, and some steps can be omitted.
In order to more clearly understand the technical scheme of the invention, the following related technical terms are briefly introduced:
Test environment: refers to the collective term for server hardware, software, network devices, and historical data necessary to complete the software testing work.
Production environment: the environment for the end use of the application when it is online includes server hardware, software, network devices, etc.
Automatic test platform simulator: the system is used for simulating the sending of the message in the performance test process, and various transaction channels are provided through the sent message to test various performance indexes of the credit card application.
S11: and receiving credit card information configured on a preset configuration interface.
In this embodiment, the automated test platform is preset with a configuration interface, and the tester can configure credit card information on the configuration interface, so as to simulate credit card transactions in a real production environment.
The credit card information configured by the tester includes: card number, card serial number, expiration date, password, etc.
S12: and generating a simulation message according to the configured credit card information.
In this embodiment, when the tester configures the credit card information on the configuration interface, a simulation message may be generated, where the generated simulation message is the same as a message generated during the credit card transaction in the real production environment.
S13: and determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule.
In this embodiment, the transaction data of the credit card under different transaction channels are different, so that in order to simulate the transaction situation of the credit card under multiple transaction channels, the automated testing platform may provide a transaction channel selection interface, through which a tester selects different transaction channels. And after determining the target transaction channel, determining the target communication strategy corresponding to the target transaction channel. The target communication policy includes: coding scheme, communication protocol, communication scheme, and message format.
In this embodiment, a tester may analyze the communication policy under each transaction channel in the real production environment in advance, so as to obtain the coding modes, the adopted communication protocols, the communication modes and the transmitted message formats under different transaction channels. And then the mapping tables are formed by sorting and induction, so that a contractual relationship is established for the communication strategy of the transaction channel, and the simulation message is conveniently packaged according to the contractual relationship.
Preferably, the determining the target transaction channel according to the preset rule and the communication policy corresponding to the target transaction channel include:
When the preset test time is met, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy;
Determining the acquired transaction channel as the target transaction channel;
and determining the acquired communication strategy as the target communication strategy.
In this embodiment, the correspondence between the transaction channel, the communication policy and the test time is preconfigured in the automated test platform. Different transaction channels can be preconfigured for different test times, or one and the same transaction channel can be preconfigured for a plurality of different test times. Different communication strategies can be preconfigured for different transaction channels, and the same communication strategy can be preconfigured for a plurality of different transaction channels.
The preset test time may be a specific time period or a fixed time point. The present invention is not particularly limited herein.
If the current time is the preset test time, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy, and taking the transaction channel and the communication strategy as a target transaction channel and a target communication strategy.
In other embodiments, the determining the target transaction channel and the target communication policy corresponding to the target transaction channel according to the preset rule includes:
when detecting that the transaction channel is input in the preset transaction channel input box, taking the transaction channel input in the preset transaction channel input box as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
In other embodiments, the determining the target transaction channel and the target communication policy corresponding to the target transaction channel according to the preset rule includes:
When detecting a selected operation in a plurality of preset transaction channel option frames, taking a transaction channel corresponding to the selected transaction channel option frame as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
In this embodiment, the configuration interface provided by the automatic test platform may further display a transaction channel input box, or a plurality of transaction channel option boxes, so that a tester may manually input a transaction channel in the transaction channel input box, or may check out a plurality of transaction channel option boxes, to determine a required transaction channel. When the transaction channel input box receives the transaction channel input by the tester, the transaction channel input by the transaction channel input box is used as a target transaction channel. Or when detecting that a selected operation is received on one of the transaction channel option frames, taking the transaction channel corresponding to the selected transaction channel option frame as a target transaction channel.
According to the above embodiment, it can be known that there are two ways to determine the target transaction channel, one is to obtain the instruction from the timing transaction channel triggered at a fixed time point or a time period, and the other is to obtain the instruction triggered by the tester. The timing transaction channel acquisition instruction is set, so that the transaction channel can be automatically determined and a series of operations can be performed in a fixed time period or at a fixed time point, the test automation degree is higher, and manual participation is not needed; the acquisition instruction triggered by the tester is convenient for the user to automatically determine the transaction channel according to the selectivity of the test task, namely, the transaction channel can be adjusted in a self-adaptive manner, so that the transaction channel can be conveniently and flexibly changed according to different test requirements or in order to cope with certain special scenes.
S14: and packaging the simulation message according to the target communication strategy to obtain a response message.
After the automatic test platform determines the target transaction channel, the simulation message can be packaged according to the determined target transaction channel, the coding mode corresponding to the target transaction channel, the adopted communication protocol, the communication mode and the message format, so that a response message under the corresponding target transaction channel under the production environment is formed.
S15: and obtaining a test case set corresponding to the target transaction channel.
In this embodiment, a plurality of test case sets are stored in the test platform, where the test case set includes a plurality of test cases, and different test case sets may be used to perform tests with different functions. Different test case sets are correspondingly arranged for different transaction channels in the test platform in advance, and after a target transaction channel is determined, the test case set corresponding to the target transaction channel needs to be acquired.
The test case set is collected, tidied and configured into a database in advance by a developer, a tester or an implementer, and an operation scene is set through a functional interface provided by a tool, wherein the operation scene is a combination of test cases, and the operation scene can be started and operated after being stored.
The test cases include the following: case number, row, case name, case description, case mode, simulator send message, case configuration and pre-case number.
Preferably, the test case set is a test case library formed by desensitizing the test case set according to credit card transaction data in a production environment. Namely, the test case set is a test case library obtained by collecting logs of real credit card transactions in a production environment and performing desensitization processing. The desensitization process can preserve the original information of the credit card transaction data in the production environment so that the data employed by the test process is consistent with the production environment.
Preferably, the obtaining the test case set corresponding to the target transaction channel includes:
Identifying the credit card organization type corresponding to the response message;
When the credit card organization type corresponding to the response message is determined to be the first type, directly acquiring a test case set corresponding to the target transaction channel;
detecting whether a link under the target transaction channel is connected or not when the credit card organization type corresponding to the response message is determined to be the second type;
when the link under the target transaction channel is determined to be connected, acquiring a test case set corresponding to the target transaction channel;
and outputting preset prompt information when the link under the target transaction channel is determined to be unconnected.
In this embodiment, two large types of credit card organizations, namely a first type of card organization and a second type of card organization, are preset on the automatic test platform, wherein the first type of card organization is a card organization corresponding to a network connecting canal, the second type of card organization is a card organization corresponding to a self-running channel, the self-running channel is relatively speaking with the network connecting canal, and the self-running channel in this embodiment is a transaction channel of the present line.
Different types of card organizations, different modes of acquiring the test case sets corresponding to the target transaction channels, and the first type of card organization can directly acquire the test case sets; the second type of card organization must acquire the set of test cases when the link under the target transaction channel is successfully connected. And when the link under the target transaction channel is not successfully connected, a preset prompting message can be output to prompt the user to manually connect the link. And after the user manually connects the link, acquiring the test case set.
S16: and performing simulation test on the response message according to the test case set.
In this embodiment, the automated test platform uses each test case in the test case set to test the response message, so as to perform a simulation test on the transaction of the credit card in the production environment.
If the test result is that the test is successful, the transaction simulation test of the credit card in the production environment is passed; if the test result is a test failure, the cause of the simulation test failure needs to be manually judged and analyzed, and whether the cause is caused by unreasonable design of the test case set or caused by invalid credit card information configured by a tester is determined.
S17: and outputting a test result.
In this embodiment, after the test is completed, the test result is output.
In other embodiments, the test results may also be sent to a tester. By adopting the test case set to test the response message, whether the credit card application under different transaction channels is effective or not can be judged, and whether the credit card application under different transaction channels under the test environment is consistent with the credit card under different transaction channels under the production environment or not can be further ensured.
Further, after the simulation test is performed on the response message according to the test case set, the method further includes:
Obtaining a test result of each test case in the test case set;
judging whether the test result of each test case is successful;
when the test result of each test case is determined to be successful, the output test result comprises: outputting a test result of successful test;
When the test result of each test case is determined to be not successful, the output test result comprises: and outputting a test result of test failure.
In this embodiment, in order to ensure that the credit card application can normally and stably run under different transaction channels in the production environment, before the credit card application is formally put into operation, strict simulation test is required to be performed on credit card transactions under different transaction channels in the automated test platform, and only if the credit card transaction simulation test under different transaction channels is successful, the normal use of the credit card under the production environment under no transaction channels can be ensured. Therefore, when the corresponding test case set is adopted to carry out simulation test on the response message, each test case needs to pass; otherwise, when one test case fails, the reason of failure of the simulation test is judged and analyzed manually, so that the test passing rate of the simulation test is ensured to reach a percentage.
In summary, the credit card simulation test method under the multi-transaction channel receives the credit card information configured on the preset configuration interface; generating a simulation message according to the configured credit card information; determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format; packaging the simulation message according to the target communication strategy to obtain a response message; acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by desensitizing credit card transaction data in a production environment; performing simulation test on the response message according to the test case set; and outputting a test result. According to the invention, the automatic test platform is used for configuring a plurality of credit card transaction channels and communication strategies under different credit card transaction channels, so that the simulation of credit card transaction information under a plurality of transaction channels can be supported for the first time; and secondly, the adopted test case set is a test case library formed after desensitization processing according to credit card transaction data in the production environment, and the desensitization processing can keep the original information of the credit card transaction data in the production environment, so that the data adopted in the test process is consistent with the data in the production environment.
Example two
Fig. 2 is a block diagram of a credit card simulation test apparatus under a multi-transaction channel according to a second embodiment of the present invention.
In some embodiments, the credit card analog test apparatus 20 under the multi-transaction channel may include a plurality of functional modules composed of program code segments. Program code for each program segment in the multi-transaction channel credit card simulation test apparatus 20 may be stored in a memory of the terminal and executed by the at least one processor to perform (see fig. 1 for details) a multi-transaction channel simulation test on credit cards supporting the multi-transaction channel.
In this embodiment, the credit card simulation test apparatus 20 under the multi-transaction channel may be divided into a plurality of functional modules according to the functions performed by the apparatus. The functional module may include: the device comprises a receiving module 201, a generating module 202, a determining module 203, a packaging module 204, an obtaining module 205, a testing module 206, an outputting module 207 and a judging module 208. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory. In the present embodiment, the functions of the respective modules will be described in detail in the following embodiments.
In order to more clearly understand the technical scheme of the invention, the following related technical terms are briefly introduced:
Test environment: refers to the collective term for server hardware, software, network devices, and historical data necessary to complete the software testing work.
Production environment: the environment for the end use of the application when it is online includes server hardware, software, network devices, etc.
Automatic test platform simulator: the system is used for simulating the sending of the message in the performance test process, and various transaction channels are provided through the sent message to test various performance indexes of the credit card application.
And the receiving module 201 is configured to receive the credit card information configured on the preset configuration interface.
In this embodiment, the automated test platform is preset with a configuration interface, and the tester can configure credit card information on the configuration interface, so as to simulate credit card transactions in a real production environment.
The credit card information configured by the tester includes: card number, card serial number, expiration date, password, etc.
The generating module 202 is configured to generate a simulation message according to the configured credit card information.
In this embodiment, when the tester configures the credit card information on the configuration interface, a simulation message may be generated, where the generated simulation message is the same as a message generated during the credit card transaction in the real production environment.
The determining module 203 is configured to determine a target transaction channel and a target communication policy corresponding to the target transaction channel according to a preset rule.
In this embodiment, the transaction data of the credit card under different transaction channels are different, so that in order to simulate the transaction situation of the credit card under multiple transaction channels, the automated testing platform may provide a transaction channel selection interface, through which a tester selects different transaction channels. And after determining the target transaction channel, determining the target communication strategy corresponding to the target transaction channel. The target communication policy includes: coding scheme, communication protocol, communication scheme, and message format.
In this embodiment, a tester may analyze the communication policy under each transaction channel in the real production environment in advance, so as to obtain the coding modes, the adopted communication protocols, the communication modes and the transmitted message formats under different transaction channels. And then the mapping tables are formed by sorting and induction, so that a contractual relationship is established for the communication strategy of the transaction channel, and the simulation message is conveniently packaged according to the contractual relationship.
Preferably, the determining module 203 determines the target transaction channel and the communication policy corresponding to the target transaction channel according to a preset rule includes:
When the preset test time is met, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy;
Determining the acquired transaction channel as the target transaction channel;
and determining the acquired communication strategy as the target communication strategy.
In this embodiment, the correspondence between the transaction channel, the communication policy and the test time is preconfigured in the automated test platform. Different transaction channels can be preconfigured for different test times, or one and the same transaction channel can be preconfigured for a plurality of different test times. Different communication strategies can be preconfigured for different transaction channels, and the same communication strategy can be preconfigured for a plurality of different transaction channels.
The preset test time may be a specific time period or a fixed time point. The present invention is not particularly limited herein.
If the current time is the preset test time, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy, and taking the transaction channel and the communication strategy as a target transaction channel and a target communication strategy.
In other embodiments, the determining module 203 determines the target transaction channel and the target communication policy corresponding to the target transaction channel according to the preset rule includes:
when detecting that the transaction channel is input in the preset transaction channel input box, taking the transaction channel input in the preset transaction channel input box as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
In other embodiments, the determining module 203 determines the target transaction channel and the target communication policy corresponding to the target transaction channel according to the preset rule includes:
When detecting a selected operation in a plurality of preset transaction channel option frames, taking a transaction channel corresponding to the selected transaction channel option frame as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
In this embodiment, the configuration interface provided by the automatic test platform may further display a transaction channel input box, or a plurality of transaction channel option boxes, so that a tester may manually input a transaction channel in the transaction channel input box, or may check out a plurality of transaction channel option boxes, to determine a required transaction channel. When the transaction channel input box receives the transaction channel input by the tester, the transaction channel input by the transaction channel input box is used as a target transaction channel. Or when detecting that a selected operation is received on one of the transaction channel option frames, taking the transaction channel corresponding to the selected transaction channel option frame as a target transaction channel.
According to the above embodiment, it can be known that there are two ways to determine the target transaction channel, one is to obtain the instruction from the timing transaction channel triggered at a fixed time point or a time period, and the other is to obtain the instruction triggered by the tester. The timing transaction channel acquisition instruction is set, so that the transaction channel can be automatically determined and a series of operations can be performed in a fixed time period or at a fixed time point, the test automation degree is higher, and manual participation is not needed; the acquisition instruction triggered by the tester is convenient for the user to automatically determine the transaction channel according to the selectivity of the test task, namely, the transaction channel can be adjusted in a self-adaptive manner, so that the transaction channel can be conveniently and flexibly changed according to different test requirements or in order to cope with certain special scenes.
And the encapsulation module 204 is configured to encapsulate the analog packet according to the target communication policy to obtain a response packet.
After the automatic test platform determines the target transaction channel, the simulation message can be packaged according to the determined target transaction channel, the coding mode corresponding to the target transaction channel, the adopted communication protocol, the communication mode and the message format, so that a response message under the corresponding target transaction channel under the production environment is formed.
And the obtaining module 205 is configured to obtain a test case set corresponding to the target transaction channel.
In this embodiment, a plurality of test case sets are stored in the test platform, where the test case set includes a plurality of test cases, and different test case sets may be used to perform tests with different functions. Different test case sets are correspondingly arranged for different transaction channels in the test platform in advance, and after a target transaction channel is determined, the test case set corresponding to the target transaction channel needs to be acquired.
The test case set is collected, tidied and configured into a database in advance by a developer, a tester or an implementer, and an operation scene is set through a functional interface provided by a tool, wherein the operation scene is a combination of test cases, and the operation scene can be started and operated after being stored.
The test cases include the following: case number, row, case name, case description, case mode, simulator send message, case configuration and pre-case number.
Preferably, the test case set is a test case library formed by desensitizing the test case set according to credit card transaction data in a production environment. Namely, the test case set is a test case library obtained by collecting logs of real credit card transactions in a production environment and performing desensitization processing. The desensitization process can preserve the original information of the credit card transaction data in the production environment so that the data employed by the test process is consistent with the production environment.
Preferably, the obtaining the test case set corresponding to the target transaction channel by the obtaining module 205 includes:
Identifying the credit card organization type corresponding to the response message;
When the credit card organization type corresponding to the response message is determined to be the first type, directly acquiring a test case set corresponding to the target transaction channel;
detecting whether a link under the target transaction channel is connected or not when the credit card organization type corresponding to the response message is determined to be the second type;
when the link under the target transaction channel is determined to be connected, acquiring a test case set corresponding to the target transaction channel;
and outputting preset prompt information when the link under the target transaction channel is determined to be unconnected.
In this embodiment, two large types of credit card organizations, namely a first type of card organization and a second type of card organization, are preset on the automatic test platform, wherein the first type of card organization is a card organization corresponding to a network connecting canal, the second type of card organization is a card organization corresponding to a self-running channel, the self-running channel is relatively speaking with the network connecting canal, and the self-running channel in this embodiment is a transaction channel of the present line.
Different types of card organizations, different modes of acquiring the test case sets corresponding to the target transaction channels, and the first type of card organization can directly acquire the test case sets; the second type of card organization must acquire the set of test cases when the link under the target transaction channel is successfully connected. And when the link under the target transaction channel is not successfully connected, a preset prompting message can be output to prompt the user to manually connect the link. And after the user manually connects the link, acquiring the test case set.
And the test module 206 is configured to perform a simulation test on the response message according to the test case set.
In this embodiment, the automated test platform uses each test case in the test case set to test the response message, so as to perform a simulation test on the transaction of the credit card in the production environment.
If the test result is that the test is successful, the transaction simulation test of the credit card in the production environment is passed; if the test result is a test failure, the cause of the simulation test failure needs to be manually judged and analyzed, and whether the cause is caused by unreasonable design of the test case set or caused by invalid credit card information configured by a tester is determined.
And an output module 207 for outputting the test result.
In this embodiment, after the test is completed, the test result is output.
In other embodiments, the test results may also be sent to a tester. By adopting the test case set to test the response message, whether the credit card application under different transaction channels is effective or not can be judged, and whether the credit card application under different transaction channels under the test environment is consistent with the credit card under different transaction channels under the production environment or not can be further ensured.
Further, the obtaining module 205 is further configured to obtain a test result of each test case in the test case set after performing the simulation test on the response message according to the test case set.
A judging module 208, configured to judge whether the test result of each test case is successful;
the output module 207 is further configured to output a test result of successful test when the judging module 208 determines that the test result of each test case is successful test;
The output module 207 is further configured to output a test result of failed test when the judging module 208 determines that the test result of each test case is not all successful.
In this embodiment, in order to ensure that the credit card application can normally and stably run under different transaction channels in the production environment, before the credit card application is formally put into operation, strict simulation test is required to be performed on credit card transactions under different transaction channels in the automated test platform, and only if the credit card transaction simulation test under different transaction channels is successful, the normal use of the credit card under the production environment under no transaction channels can be ensured. Therefore, when the corresponding test case set is adopted to carry out simulation test on the response message, each test case needs to pass; otherwise, when one test case fails, the reason of failure of the simulation test is judged and analyzed manually, so that the test passing rate of the simulation test is ensured to reach a percentage.
In summary, the credit card simulation test device under the multi-transaction channel receives the credit card information configured on the preset configuration interface; generating a simulation message according to the configured credit card information; determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format; packaging the simulation message according to the target communication strategy to obtain a response message; acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by desensitizing credit card transaction data in a production environment; performing simulation test on the response message according to the test case set; and outputting a test result. According to the invention, the automatic test platform is used for configuring a plurality of credit card transaction channels and communication strategies under different credit card transaction channels, so that the simulation of credit card transaction information under a plurality of transaction channels can be supported for the first time; and secondly, the adopted test case set is a test case library formed after desensitization processing according to credit card transaction data in the production environment, and the desensitization processing can keep the original information of the credit card transaction data in the production environment, so that the data adopted in the test process is consistent with the data in the production environment.
Example III
Fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention. In the preferred embodiment of the invention, the terminal 3 comprises a memory 31, at least one processor 32, at least one communication bus 33 and a transceiver 34.
It will be appreciated by those skilled in the art that the configuration of the terminal shown in fig. 3 is not limiting of the embodiments of the present invention, and that it may be a bus type configuration, a star type configuration, or a combination of hardware and software, or a different arrangement of components, as the terminal 3 may include more or less hardware or software than is shown.
In some embodiments, the terminal 3 includes a terminal capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, an embedded device, and the like. The terminal 3 may further comprise a client device, which includes, but is not limited to, any electronic product capable of performing man-machine interaction with a client through a keyboard, a mouse, a remote controller, a touch pad, a voice control device, etc., for example, a personal computer, a tablet computer, a smart phone, a digital camera, etc.
It should be noted that the terminal 3 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
In some embodiments, the memory 31 is used to store program codes and various data, such as the credit card simulation test device 20 installed in the terminal 3 under multiple transaction channels, and to enable high-speed, automatic access to programs or data during operation of the terminal 3. The Memory 31 includes Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable rewritable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic tape Memory, or any other medium that can be used for carrying or storing data, which is readable by a computer.
In some embodiments, the at least one processor 32 may be comprised of an integrated circuit, such as a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functionality, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The at least one processor 32 is a Control Unit (Control Unit) of the terminal 3, connects the respective components of the whole terminal 3 using various interfaces and lines, and performs various functions and processes of the terminal 3, such as performing credit card simulation test under a multi-transaction channel, by running or executing programs or modules stored in the memory 31, and calling data stored in the memory 31.
In some embodiments, the at least one communication bus 33 is arranged to enable connected communication between the memory 31 and the at least one processor 32 or the like.
Although not shown, the terminal 3 may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 32 through a power management device, so as to perform functions of managing charging, discharging, power consumption management, etc. through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The terminal 3 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) or a processor (processor) to perform portions of the methods described in the various embodiments of the invention.
In a further embodiment, in connection with fig. 2, the at least one processor 32 may execute the operating device of the terminal 3, as well as various installed applications (e.g., the credit card simulation test device 20 under multiple transaction channels), program code, etc., such as the various modules described above.
The memory 31 has program code stored therein, and the at least one processor 32 can invoke the program code stored in the memory 31 to perform related functions. For example, each of the modules depicted in fig. 2 is program code stored in the memory 31 and executed by the at least one processor 32 to perform the functions of each of the modules for purposes of credit card simulation testing under multiple transaction channels.
In one embodiment of the invention, the memory 31 stores a plurality of instructions that are executed by the at least one processor 32 to implement the functionality of credit card simulation testing under multiple transaction channels.
Specifically, the specific implementation method of the above instruction by the at least one processor 32 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (9)
1. A method for simulating and testing credit cards in a multi-transaction channel, the method comprising:
Receiving credit card information configured on a preset configuration interface;
generating a simulation message according to the configured credit card information;
determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format;
Packaging the simulation message according to the target communication strategy to obtain a response message;
Acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed by desensitizing credit card transaction data in a production environment; the obtaining the test case set corresponding to the target transaction channel comprises the following steps: identifying the credit card organization type corresponding to the response message; when the credit card organization type corresponding to the response message is determined to be a first type, directly acquiring a test case set corresponding to the target transaction channel, wherein the first type card organization is a card organization corresponding to connecting canal channels of network; detecting whether a link under the target transaction channel is connected or not when the credit card organization type corresponding to the response message is determined to be a second type, and acquiring a test case set corresponding to the target transaction channel when the link under the target transaction channel is determined to be connected, wherein the card organization of the second type is a card organization corresponding to a self-propelled channel;
performing simulation test on the response message according to the test case set;
And outputting a test result.
2. The method of claim 1, wherein when it is determined that the link under the target transaction channel is not connected, the method further comprises:
And outputting preset prompt information, wherein the preset prompt information is used for prompting a user to manually connect the link.
3. The method according to any one of claims 1 to 2, wherein determining a target transaction channel and a communication policy corresponding to the target transaction channel according to a preset rule includes:
when the preset test time is met, acquiring a transaction channel and a communication strategy corresponding to the preset test time according to the corresponding relation between the preset test time and the transaction channel and the communication strategy;
Determining the acquired transaction channel as the target transaction channel;
and determining the acquired communication strategy as the target communication strategy.
4. The method according to any one of claims 1 to 2, wherein determining a target transaction channel and a target communication policy corresponding to the target transaction channel according to a preset rule comprises:
when detecting that the transaction channel is input in the preset transaction channel input box, taking the transaction channel input in the preset transaction channel input box as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
5. The method according to any one of claims 1 to 2, wherein determining a target transaction channel and a target communication policy corresponding to the target transaction channel according to a preset rule comprises:
When detecting a selected operation in a plurality of preset transaction channel option frames, taking a transaction channel corresponding to the selected transaction channel option frame as the target transaction channel;
And acquiring a target communication strategy corresponding to the target transaction channel according to the corresponding relation between the preset transaction channel and the communication strategy.
6. The method of any of claims 1 to 2, wherein after the performing the simulation test on the response message according to the test case set, the method further comprises:
Obtaining a test result of each test case in the test case set;
judging whether the test result of each test case is successful;
when the test result of each test case is determined to be successful, the output test result comprises: outputting a test result of successful test;
When the test result of each test case is determined to be not successful, the output test result comprises: and outputting a test result of test failure.
7. A credit card analog testing device under a multi-transaction channel, the device comprising:
the receiving module is used for receiving the credit card information configured on the preset configuration interface;
The generation module is used for generating a simulation message according to the configured credit card information;
The determining module is used for determining a target transaction channel and a target communication strategy corresponding to the target transaction channel according to a preset rule, wherein the target communication strategy comprises: coding mode, communication protocol, communication mode and message format;
The packaging module is used for packaging the simulation message according to the target communication strategy to obtain a response message;
The acquisition module is used for acquiring a test case set corresponding to the target transaction channel, wherein the test case set is a test case library formed after desensitization processing according to credit card transaction data in a production environment; the obtaining the test case set corresponding to the target transaction channel comprises the following steps: identifying the credit card organization type corresponding to the response message; when the credit card organization type corresponding to the response message is determined to be a first type, directly acquiring a test case set corresponding to the target transaction channel, wherein the first type card organization is a card organization corresponding to connecting canal channels of network; detecting whether a link under the target transaction channel is connected or not when the credit card organization type corresponding to the response message is determined to be a second type, and acquiring a test case set corresponding to the target transaction channel when the link under the target transaction channel is determined to be connected, wherein the card organization of the second type is a card organization corresponding to a self-propelled channel;
the test module is used for carrying out simulation test on the response message according to the test case set;
And the output module is used for outputting the test result.
8. A terminal comprising a processor for implementing the credit card simulation test method under the multi-transaction channel according to any one of claims 1 to 6 when executing a computer program stored in a memory.
9. A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the credit card simulation test method under the multi-transaction channel according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579238.7A CN110471834B (en) | 2019-06-28 | 2019-06-28 | Credit card simulation test method under multi-transaction channel and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910579238.7A CN110471834B (en) | 2019-06-28 | 2019-06-28 | Credit card simulation test method under multi-transaction channel and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110471834A CN110471834A (en) | 2019-11-19 |
CN110471834B true CN110471834B (en) | 2024-05-28 |
Family
ID=68507064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910579238.7A Active CN110471834B (en) | 2019-06-28 | 2019-06-28 | Credit card simulation test method under multi-transaction channel and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110471834B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968517B (en) * | 2019-12-04 | 2023-05-12 | 上海华兴数字科技有限公司 | Automatic test method, apparatus, platform and computer readable storage medium |
CN112202632A (en) * | 2020-09-24 | 2021-01-08 | 建信金融科技有限责任公司 | Message extraction method and device, electronic equipment and computer readable storage medium |
CN112134764B (en) * | 2020-09-27 | 2022-08-09 | 中国银行股份有限公司 | Method and device for determining connectivity of test environment |
CN112256587B (en) * | 2020-11-10 | 2024-06-28 | 恩亿科(北京)数据科技有限公司 | Data testing method and device based on SCRM system, electronic equipment and storage medium |
CN112287394B (en) * | 2020-12-15 | 2021-04-06 | 深圳市深圳通有限公司 | Card number desensitization method, device, equipment and storage medium |
CN112597015A (en) * | 2020-12-17 | 2021-04-02 | 中国建设银行股份有限公司 | System test method, device, computer equipment and storage medium |
CN112581267B (en) * | 2020-12-29 | 2024-03-26 | 平安银行股份有限公司 | Credit card data simulation method, apparatus, computer device and storage medium |
CN112925725B (en) * | 2021-04-09 | 2024-03-15 | 网易(杭州)网络有限公司 | Data testing method and device, readable storage medium and electronic equipment |
CN113360375B (en) * | 2021-06-01 | 2023-07-25 | 平安银行股份有限公司 | Transaction testing method, device, electronic equipment and storage medium |
CN113706292B (en) * | 2021-08-31 | 2024-02-09 | 平安银行股份有限公司 | Credit card testing method, device, equipment and medium based on virtual data |
CN114827310B (en) * | 2022-04-26 | 2024-01-05 | 中国工商银行股份有限公司 | Transaction clearing message transmission method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184135A (en) * | 2011-04-19 | 2011-09-14 | 中国工商银行股份有限公司 | Instruction script based test method and system in bank system |
CN105279090A (en) * | 2015-11-17 | 2016-01-27 | 中国建设银行股份有限公司 | Test script generating method and test script generating device applied in financial field |
CN105574624A (en) * | 2014-10-09 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Abnormal data processing method and device and monitoring system |
CN106027330A (en) * | 2016-05-23 | 2016-10-12 | 中国银行股份有限公司 | Message testing method for front-end system, and simulation baffle system |
WO2017071519A1 (en) * | 2015-10-30 | 2017-05-04 | 北京新能源汽车股份有限公司 | Multi-platform general test method, apparatus and system |
CN108255725A (en) * | 2018-01-18 | 2018-07-06 | 银联商务股份有限公司 | Test method and device |
CN108614777A (en) * | 2018-05-08 | 2018-10-02 | 山东浪潮通软信息科技有限公司 | A kind of financial transaction test system and test method based on actual services |
CN109246188A (en) * | 2018-08-03 | 2019-01-18 | 银联数据服务有限公司 | A method of supporting the system traded by all kinds of means and by all kinds of means trading processing |
CN109726128A (en) * | 2018-12-29 | 2019-05-07 | 亚信科技(中国)有限公司 | A kind of method for generating test case, device and server |
-
2019
- 2019-06-28 CN CN201910579238.7A patent/CN110471834B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184135A (en) * | 2011-04-19 | 2011-09-14 | 中国工商银行股份有限公司 | Instruction script based test method and system in bank system |
CN105574624A (en) * | 2014-10-09 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Abnormal data processing method and device and monitoring system |
WO2017071519A1 (en) * | 2015-10-30 | 2017-05-04 | 北京新能源汽车股份有限公司 | Multi-platform general test method, apparatus and system |
CN105279090A (en) * | 2015-11-17 | 2016-01-27 | 中国建设银行股份有限公司 | Test script generating method and test script generating device applied in financial field |
CN106027330A (en) * | 2016-05-23 | 2016-10-12 | 中国银行股份有限公司 | Message testing method for front-end system, and simulation baffle system |
CN108255725A (en) * | 2018-01-18 | 2018-07-06 | 银联商务股份有限公司 | Test method and device |
CN108614777A (en) * | 2018-05-08 | 2018-10-02 | 山东浪潮通软信息科技有限公司 | A kind of financial transaction test system and test method based on actual services |
CN109246188A (en) * | 2018-08-03 | 2019-01-18 | 银联数据服务有限公司 | A method of supporting the system traded by all kinds of means and by all kinds of means trading processing |
CN109726128A (en) * | 2018-12-29 | 2019-05-07 | 亚信科技(中国)有限公司 | A kind of method for generating test case, device and server |
Non-Patent Citations (7)
Title |
---|
ATM自动化测试工具的应用;于焘;周;;中国金融电脑(第04期);第54-56页 * |
互联网第三方支付模拟平台的设计与实现;李昊;;信息技术(第09期);第155-158页 * |
信号***中安全通信协议自动测试软件的设计与实现;吴迪;颜如月;;数码设计(第07期);第43-45页 * |
支持国产国际双算法体系的银行卡跨行交易平台;杨宏斌;;电子技术与软件工程(第17期);第59-60页 * |
用互联网方式建立银行卡跨行交易差错处理平台;张春玲等;金卡工程;20010831(第08期);第55-60页 * |
电信运营商电子渠道建设初探;周瑞峰;有线电视技术;20121220(第12期);第137-139页 * |
金融***生产模拟比对自动化测试研究与应用;阳骁尧;王步锋;张同虎;成银乾;李冬晓;刘正;郭晓骞;;中国金融电脑(第05期);第60-66页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110471834A (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110471834B (en) | Credit card simulation test method under multi-transaction channel and related equipment | |
CN106354645B (en) | Test method and test platform based on background system service or interface | |
US20090271351A1 (en) | Rules engine test harness | |
CN110443573A (en) | Examination & approval management platform and its measures and procedures for the examination and approval, workflow generation method | |
CN108255725B (en) | Test method and device | |
CN105786695B (en) | Data test method and system | |
CN112634047B (en) | Foreign exchange transaction simulation test method and device, computer equipment and storage medium | |
CN111652279B (en) | Behavior evaluation method and device based on time sequence data and readable storage medium | |
CN113238929B (en) | Code testing method and device based on Mock data, electronic equipment and storage medium | |
CN114546738A (en) | Server general test method, system, terminal and storage medium | |
CN114064208A (en) | Method and device for detecting application service state, electronic equipment and storage medium | |
CN112579455B (en) | Automatic interface testing method and device, electronic equipment and storage medium | |
CN112561690B (en) | Method, system, equipment and storage medium for testing credit card staged service interface | |
CN112579452A (en) | Software automation test method, device, equipment and storage medium | |
CN110348984B (en) | Automatic credit card data input method and related equipment under different transaction channels | |
CN110569154A (en) | Chip interface function testing method, system, terminal and storage medium | |
CN114637685A (en) | Performance test method, device, equipment and medium of application program in bank system | |
CN115185829A (en) | Business process testing method and device, terminal equipment and storage medium | |
CN110347584B (en) | Method and device for testing and adjusting credit card policy package, electronic equipment and medium | |
CN114389948B (en) | Function upgrading and verifying method, device, equipment and medium based on white list | |
CN111708684B (en) | Recording method and device for page access and computer system | |
CN112581267B (en) | Credit card data simulation method, apparatus, computer device and storage medium | |
CN107527202B (en) | Transaction data diagnosis method and device and computing equipment | |
CN117234784A (en) | Processing method and device of abnormal event, storage medium and electronic device | |
CN117830010A (en) | Order state consistency detection method, device, equipment and storage medium |
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 |