CN108427614B - Interface testing method and device based on adaptor tool - Google Patents

Interface testing method and device based on adaptor tool Download PDF

Info

Publication number
CN108427614B
CN108427614B CN201810447231.5A CN201810447231A CN108427614B CN 108427614 B CN108427614 B CN 108427614B CN 201810447231 A CN201810447231 A CN 201810447231A CN 108427614 B CN108427614 B CN 108427614B
Authority
CN
China
Prior art keywords
data
interface
test
level data
level
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
Application number
CN201810447231.5A
Other languages
Chinese (zh)
Other versions
CN108427614A (en
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201810447231.5A priority Critical patent/CN108427614B/en
Publication of CN108427614A publication Critical patent/CN108427614A/en
Application granted granted Critical
Publication of CN108427614B publication Critical patent/CN108427614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults

Abstract

The invention provides an interface test method and device based on an adaptor tool, wherein the interface test method comprises the following steps: generating first-level data according to the interface output message and the interface input message; splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data; generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message; crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data; integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data; and inputting the test data into the adaptor tool for interface test. The invention can simulate each product to carry out interface calling, multiplex various scenes and realize automatic repeated execution.

Description

Interface testing method and device based on adaptor tool
Technical Field
The present invention relates to the field of interface testing technologies, and in particular, to an interface testing method and apparatus based on an adaptor tool.
Background
The traditional interface test method mainly focuses on the logic coverage of codes in the unit assembly stage, and lacks the comprehensive coverage of end-to-end test; in the stage of system test or function test, the communication and the usability of the transaction interface are mainly concerned for the interface test, the message is not fully tested, once the interface is transformed, the transaction interface test case needs to be repeatedly executed, the automation cannot be realized, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an interface testing method and device based on an adaptor tool, which are used for simulating each product to call an interface, multiplexing various scenes and realizing automatic repeated execution.
In order to achieve the above object, an embodiment of the present invention provides an interface testing method based on an adaptor tool, including:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into the adaptor tool for interface test.
In an embodiment, the generating the first level data according to the interface output packet and the interface input packet includes:
counting the echoing data of each column of the interface output message and the echoing data of each column of the interface input message according to the interface output message and the interface input message;
carrying out classification statistics on the echoed data, and removing redundant data to obtain common data of interface output messages and common data of the interface input messages;
and determining input data requirements according to the common data of the interface output messages and the common data of the interface input messages, and generating the first-level data.
In one embodiment, the method further comprises: and performing full data coverage operation on the first-level data and the second-level data to generate the data range.
In one embodiment, the method further comprises:
combing the developed codes and searching error reporting information;
and classifying the error reporting information to obtain the abnormal test data.
In order to achieve the above object, an embodiment of the present invention provides an interface testing apparatus based on an adaptor tool, including:
the first-level data generation unit is used for generating first-level data according to the interface output message and the interface input message;
the second-level data generation unit is used for splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second-level data;
the third-level data generation unit is used for generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
the first test data generation unit is used for crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
the integration unit is used for integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and the test unit is used for inputting the test data into the adaptor tool to carry out interface test.
In one embodiment, the first stage data generation unit includes:
the echo data counting module is used for counting echo data of each column of the interface output message and echo data of each column of the interface input message according to the interface output message and the interface input message;
the common data generation module is used for carrying out classification statistics on the echoed data and removing redundant data to obtain common data of interface output messages and common data of the interface input messages;
and the hierarchical data generation module is used for determining the requirement of input data according to the common data of the interface output messages and the common data of the interface input messages and generating the first hierarchical data.
In one embodiment, the method further comprises: and the data range generating unit is used for performing full data coverage operation on the first-level data and the second-level data to generate the data range.
In one embodiment, the method further comprises:
the error reporting and searching unit is used for combing the developed codes and searching error reporting information;
and the second test data generation unit is used for classifying the error reporting information to obtain the abnormal test data.
In order to achieve the above object, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into the adaptor tool for interface test.
In order to achieve the above object, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, the computer program implementing the following steps when executed by a processor:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into the adaptor tool for interface test.
The interface test analysis method of the invention covers the calling channel and the calling mode, carries out all-column and all-option coverage on the interface packaging, sending and outputting, and avoids the condition that the test scenes (day mode, night mode, REPOST, etc.) can not be covered due to numerous test data by the interface test tool; the interface test method supports automatic initiation, saves manual repeated execution cost, improves interface test efficiency, and strengthens weak links of various interface tests from a unit stage to a function stage and the problem of logic omission of the traditional interface test.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a first flowchart of an interface testing method based on an adaptor tool according to an embodiment of the present invention;
FIG. 2 is a flow chart of a second interface testing method based on an adaptor tool according to an embodiment of the present invention;
FIG. 3 is a flow chart of a third interface testing method based on an adaptor tool according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart of an interface testing method based on an adaptor tool according to an embodiment of the present invention;
FIG. 5 is a first block diagram of an interface testing apparatus of an adaptor tool according to an embodiment of the present invention;
FIG. 6 is a block diagram of a second exemplary embodiment of an interface testing apparatus of an adaptor tool;
FIG. 7 is a block diagram of a third exemplary embodiment of an interface testing apparatus of an adaptor tool;
fig. 8 is a first block diagram of an interface testing apparatus of an adaptor tool according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing interface test method generally carries out interface test by calling products, along with the gradual increase of external connection systems, the complexity of the interface test is gradually increased, and the interface test is carried out by independently calling the products, so that the interface test quality can not be ensured.
Based on this, the embodiment of the invention provides an interface testing method and device based on an adaptor tool.
Fig. 1 is a flowchart of an interface testing method based on an adaptor tool according to an embodiment of the present invention, and as shown in fig. 1, the interface testing method includes:
s101: generating first-level data according to the interface output message and the interface input message;
s102: splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
s103: generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
s104: crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
s105: integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
s106: and inputting the test data into the adaptor tool for interface test.
The execution subject of the interface testing method shown in fig. 1 may be a server, for example, a bank backend server.
As can be seen from the process shown in fig. 1, the method of the invention firstly establishes three levels of data layer by layer according to the interface output message and the interface input message, generates normal test data based on the three levels of data, then integrates the normal test data with the screened abnormal test data to obtain test data, and finally inputs the test data into the submitter tool for interface testing. By using the method, not only the packaging, the packet sending, the receiving and the translation of the unit assembly test are covered, but also each product can be simulated to carry out interface calling, the multiplexing of various scenes is realized, and the automatic repeated execution can be realized.
In one embodiment, as shown in fig. 2, generating the first level data may be implemented by the following steps:
s201: and counting the echoed data of each column of the interface output message and the echoed data of each column of the interface input message according to the interface output message and the interface input message.
The following examples illustrate interface output messages and interface input messages:
inputting a message of an interface:
Figure BDA0001657528650000051
outputting a message by an interface:
Figure BDA0001657528650000052
in the input message of the interface, the sequence numbers 1 and 2 correspond to the input message content and format corresponding to a certain transaction, and the sequence numbers 1, 2, 3 and 4 in the output message of the interface correspond to the output message content and format corresponding to the transaction. According to the input and output messages, each column and the corresponding echoed data content can be seen. Each transaction contains relevant information such as account number, customer, account opening bank, etc.
S202: and carrying out classification statistics on the echoed data columns, and removing redundant data to obtain the common data of the interface output messages and the common data of the interface input messages.
The transaction generally includes basic information such as a customer, an account, a card and the like, and the classification statistics of the echoed data generally includes classification of the basic information such as the customer, the account, the card and the like, for example, the customer is divided into a public customer and a private customer, the account is divided according to types, and the card is divided into a savings card, a credit card and the like, but the invention is not limited to this.
S203: and determining the requirement of input data according to the common data of the interface output messages and the common data of the interface input messages, and generating first-level data.
The input data requirements are determined, that is, the first level data is obtained, and the first level data can comprise common types such as customers, accounts (deposits, loans), cards and the like.
When the method is implemented, the first-level data and the second-level data are required to be subjected to full data coverage operation to generate a data range.
In S104, by integrating the normal test data and the abnormal test data into the test data, all fields and options of the data can be tested and covered, thereby avoiding the occurrence of the interface function problem.
In one embodiment, as shown in fig. 3, the abnormal test data may be obtained by the following method:
s301: combing the developed codes and searching error reporting information;
s302: and classifying the error reporting information to obtain abnormal test data.
In one embodiment, as shown in fig. 4, S106 may be implemented by:
s401: simulating different channels by using an Admitester tool;
the transactions are classified according to channels and calling modes, so that the scenes of covering all channels, calling modes, daily models, night models, REPOST and the like are realized, repeated execution of data is inevitably involved, and the problem of execution efficiency is faced. The channels may include a bank-dedicated channel (e.g., internet bank), a back line (e.g., fund) and a bl (bank link), and different channels correspond to different calling modes.
S402: and respectively inputting test data into the adaptor tool to carry out interface test according to the channel.
Test data are written into the adaptor tool simulating different channels through the adaptor tool, so that repeated calling of different channels and different scenes can be realized, and repeated execution workload is avoided.
The interface test analysis method of the invention covers the calling channel and the calling mode, carries out all-column and all-option coverage on the interface packaging, sending and outputting, and avoids the condition that the test scenes (day mode, night mode, REPOST, etc.) can not be covered due to numerous test data by the interface test tool; the interface test method supports automatic initiation, saves manual repeated execution cost, improves interface test efficiency, and strengthens weak links of various interface tests from a unit stage to a function stage and the problem of logic omission of the traditional interface test.
Based on the same inventive concept, the embodiment of the present application further provides an interface testing apparatus based on an adaptor tool, which can be used to implement the method described in the above embodiment, as described in the following embodiments. Because the principle of the interface testing device based on the submitter tool for solving the problem is similar to the interface testing method based on the submitter tool, the implementation of the interface testing device based on the submitter tool can refer to the implementation of the interface testing method based on the submitter tool, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
Fig. 5 is a block diagram of an interface testing apparatus of an adaptor tool according to an embodiment of the present invention, and as shown in fig. 5, the interface testing apparatus includes:
a first-level data generating unit 501, configured to generate first-level data according to the interface output packet and the interface input packet;
a second-level data generating unit 502, configured to split the type of the interface input packet and the type of the interface output packet according to the column of the interface output packet, and generate second-level data;
a third-level data generating unit 503, configured to generate third-level data according to the non-multiple-option field and the non-transaction key information field of the output packet;
a first test data generating unit 504, configured to intersect the third-level data with a data range obtained by performing full data coverage on the first-level data and the second-level data, so as to generate normal test data;
an integration unit 505, configured to integrate the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and the test unit 506 is used for inputting the test data into the adaptor tool to carry out interface test.
In one embodiment, as shown in fig. 6, the first-stage data generating unit 501 includes:
the echoed data counting module 601 is configured to count echoed data of each column of the interface output message and echoed data of each column of the interface input message according to the interface output message and the interface input message;
a common data generating module 602, configured to perform classification statistics on the echo data, and remove redundant data to obtain common data of interface output messages and common data of the interface input messages;
the hierarchical data generating module 603 is configured to determine an input data requirement according to the common data of the interface output packet and the common data of the interface input packet, and generate the first hierarchical data.
In one embodiment, as shown in fig. 7, the interface testing apparatus further includes: a data range generating unit 701, configured to perform a full data coverage operation on the first-level data and the second-level data, and generate the data range.
In one embodiment, as shown in fig. 8, the interface testing apparatus further includes:
an error reporting and searching unit 801, configured to comb the developed codes and search for error reporting information;
a second test data generating unit 802, configured to classify the error information to obtain the abnormal test data.
The invention covers the calling channel and the calling mode, carries out all-column and all-option coverage on the interface packaging, sending and outputting, and avoids the condition that the test scenes (day mode, night mode, REPOST and the like) cannot be covered due to a lot of test data through the interface test tool; the interface test method supports automatic initiation, saves manual repeated execution cost, improves interface test efficiency, and strengthens weak links of various interface tests from a unit stage to a function stage and the problem of logic omission of the traditional interface test.
The embodiment of the invention provides computer equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the following steps:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into the adaptor tool for interface test.
The invention covers the calling channel and the calling mode, carries out all-column and all-option coverage on the interface packaging, sending and outputting, and avoids the condition that the test scenes (day mode, night mode, REPOST and the like) cannot be covered due to a lot of test data through the interface test tool; the interface test method supports automatic initiation, saves manual repeated execution cost, improves interface test efficiency, and strengthens weak links of various interface tests from a unit stage to a function stage and the problem of logic omission of the traditional interface test.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into the adaptor tool for interface test.
The invention covers the calling channel and the calling mode, carries out all-column and all-option coverage on the interface packaging, sending and outputting, and avoids the condition that the test scenes (day mode, night mode, REPOST and the like) cannot be covered due to a lot of test data through the interface test tool; the interface test method supports automatic initiation, saves manual repeated execution cost, improves interface test efficiency, and strengthens weak links of various interface tests from a unit stage to a function stage and the problem of logic omission of the traditional interface test.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An interface test method based on an adaptor tool is characterized by comprising the following steps:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
combing the developed codes, searching error reporting information, and classifying the error reporting information to obtain abnormal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into an adaptor tool for interface test.
2. The interface test method according to claim 1, wherein the generating the first level data according to the interface output packet and the interface input packet comprises:
counting the echoing data of each column of the interface output message and the echoing data of each column of the interface input message according to the interface output message and the interface input message;
carrying out classification statistics on the echoed data, and removing redundant data to obtain common data of interface output messages and common data of the interface input messages;
and determining input data requirements according to the common data of the interface output messages and the common data of the interface input messages, and generating the first-level data.
3. The interface testing method of claim 1, further comprising: and performing full data coverage operation on the first-level data and the second-level data to generate the data range.
4. The interface test method of claim 1, wherein said inputting said test data into said adaptor tool for interface testing comprises:
simulating different channels by using the Admitester tool;
and respectively inputting the test data into the adaptor tool to carry out interface test according to a channel.
5. An interface testing device based on an adaptor tool, comprising:
the first-level data generation unit is used for generating first-level data according to the interface output message and the interface input message;
the second-level data generation unit is used for splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second-level data;
the third-level data generation unit is used for generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
the first test data generation unit is used for crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
the error reporting and searching unit is used for combing the developed codes and searching error reporting information;
the second test data generation unit is used for classifying the error reporting information to obtain abnormal test data;
the integration unit is used for integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and the test unit is used for inputting the test data into the adaptor tool to carry out interface test.
6. The interface test apparatus of claim 5, wherein the first-stage data generation unit comprises:
the echo data counting module is used for counting echo data of each column of the interface output message and echo data of each column of the interface input message according to the interface output message and the interface input message;
the common data generation module is used for carrying out classification statistics on the echoed data and removing redundant data to obtain common data of interface output messages and common data of the interface input messages;
and the hierarchical data generation module is used for determining the requirement of input data according to the common data of the interface output messages and the common data of the interface input messages and generating the first hierarchical data.
7. The interface test apparatus of claim 5, further comprising: and the data range generating unit is used for performing full data coverage operation on the first-level data and the second-level data to generate the data range.
8. The interface test apparatus of claim 5, wherein the test unit comprises:
the simulation module is used for simulating different channels by using the Admitter tool;
and respectively inputting the test data into the adaptor tool to carry out interface test according to a channel.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
combing the developed codes, searching error reporting information, and classifying the error reporting information to obtain abnormal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into an adaptor tool for interface test.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of:
generating first-level data according to the interface output message and the interface input message;
splitting the type of the interface input message and the type of the interface output message according to the column of the interface output message to generate second level data;
generating third-level data according to the non-multi-option column and the non-transaction key information column of the output message;
crossing the third-level data with a data range obtained by full data coverage of the first-level data and the second-level data to generate normal test data;
combing the developed codes, searching error reporting information, and classifying the error reporting information to obtain abnormal test data;
integrating the normal test data and the abnormal test data obtained by combing the abnormal data into test data;
and inputting the test data into an adaptor tool for interface test.
CN201810447231.5A 2018-05-11 2018-05-11 Interface testing method and device based on adaptor tool Active CN108427614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810447231.5A CN108427614B (en) 2018-05-11 2018-05-11 Interface testing method and device based on adaptor tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810447231.5A CN108427614B (en) 2018-05-11 2018-05-11 Interface testing method and device based on adaptor tool

Publications (2)

Publication Number Publication Date
CN108427614A CN108427614A (en) 2018-08-21
CN108427614B true CN108427614B (en) 2021-05-18

Family

ID=63162785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810447231.5A Active CN108427614B (en) 2018-05-11 2018-05-11 Interface testing method and device based on adaptor tool

Country Status (1)

Country Link
CN (1) CN108427614B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679979B (en) * 2020-06-03 2023-09-19 中国银行股份有限公司 Destructive testing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996451A (en) * 2009-08-14 2011-03-30 中国工商银行股份有限公司 Test method of bank self-service device system and server
CN103049382A (en) * 2012-12-27 2013-04-17 中国建设银行股份有限公司 Method and device for generating test cases used for software module testing
CN103235757A (en) * 2013-04-28 2013-08-07 中国工商银行股份有限公司 Device and method based on automatic data construction for testing test object in input field
US9201774B1 (en) * 2011-05-08 2015-12-01 Panaya Ltd. Generating test scenario templates from testing data of different organizations utilizing similar ERP modules
CN105955890A (en) * 2016-05-13 2016-09-21 中国建设银行股份有限公司 Method and device for generating function test case
CN106897205A (en) * 2015-12-18 2017-06-27 阿里巴巴集团控股有限公司 A kind of test data generating method and device
CN106919508A (en) * 2017-03-09 2017-07-04 北京融信易安信息技术有限公司 A kind of generation method of application program of computer network test cases
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN107943694A (en) * 2017-11-21 2018-04-20 中国农业银行股份有限公司 A kind of test data generating method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996451A (en) * 2009-08-14 2011-03-30 中国工商银行股份有限公司 Test method of bank self-service device system and server
US9201774B1 (en) * 2011-05-08 2015-12-01 Panaya Ltd. Generating test scenario templates from testing data of different organizations utilizing similar ERP modules
CN103049382A (en) * 2012-12-27 2013-04-17 中国建设银行股份有限公司 Method and device for generating test cases used for software module testing
CN103235757A (en) * 2013-04-28 2013-08-07 中国工商银行股份有限公司 Device and method based on automatic data construction for testing test object in input field
CN106897205A (en) * 2015-12-18 2017-06-27 阿里巴巴集团控股有限公司 A kind of test data generating method and device
CN105955890A (en) * 2016-05-13 2016-09-21 中国建设银行股份有限公司 Method and device for generating function test case
CN106919508A (en) * 2017-03-09 2017-07-04 北京融信易安信息技术有限公司 A kind of generation method of application program of computer network test cases
CN107341109A (en) * 2017-07-07 2017-11-10 中国银行股份有限公司 The generation method and system of a kind of test data
CN107943694A (en) * 2017-11-21 2018-04-20 中国农业银行股份有限公司 A kind of test data generating method and device

Also Published As

Publication number Publication date
CN108427614A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN107436844B (en) Method and device for generating interface use case aggregate
CN102609406B (en) Learning device, judgment means, learning method and determination methods
CN109582550B (en) Method, device and server for acquiring full-service scene fault set
CN112052172A (en) Rapid testing method and device for third-party channel and electronic equipment
CN111290958A (en) Method and device for debugging intelligent contract
CN109828900A (en) Test script automatic generation method, device, electronic equipment and storage medium
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN111679979A (en) Destructive testing method and device
CN114004700A (en) Service data processing method and device, electronic equipment and storage medium
CN111464384A (en) Consistency test method and device for asynchronous messages
CN108427614B (en) Interface testing method and device based on adaptor tool
CN112559335A (en) Test method, device, equipment and storage medium
CN111708712A (en) User behavior test case generation method, flow playback method and electronic equipment
CN116955148A (en) Service system testing method, device, equipment, storage medium and product
CN111274138B (en) Method and device for testing account merging function
CN110795338B (en) Front-end and back-end interaction-based automatic testing method and device and electronic equipment
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN105683938A (en) Recording an application test
CN112799956B (en) Asset identification capability test method, device and system device
CN114399390A (en) Method, device, equipment and storage medium for testing financial products
CN117707960A (en) Method, device, equipment and storage medium for testing accounting function
CN115309644A (en) Method and device for testing query page
CN115037577A (en) Intelligent gateway service management platform
CN115562983A (en) Transaction analysis method and device, electronic equipment and computer storage medium
CN117893273A (en) Financial product recommendation method and related device for financial cabin

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