[go: up one dir, main page]

CN107844421A - Interface test method, device, computer equipment and storage medium - Google Patents

Interface test method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN107844421A
CN107844421A CN201711044187.5A CN201711044187A CN107844421A CN 107844421 A CN107844421 A CN 107844421A CN 201711044187 A CN201711044187 A CN 201711044187A CN 107844421 A CN107844421 A CN 107844421A
Authority
CN
China
Prior art keywords
case
interface
measured
test
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711044187.5A
Other languages
Chinese (zh)
Other versions
CN107844421B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201711044187.5A priority Critical patent/CN107844421B/en
Priority to PCT/CN2017/112618 priority patent/WO2019085079A1/en
Publication of CN107844421A publication Critical patent/CN107844421A/en
Application granted granted Critical
Publication of CN107844421B publication Critical patent/CN107844421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of interface test method, device, computer equipment and storage medium, methods described includes:Obtain interface testing instruction;The precondition information that the test case mark inquired about in being instructed with interface testing associates;According to use-case parameter information to be measured corresponding to precondition acquisition of information test case mark;Use-case template to be measured corresponding with test case mark and interface communication parameter to be measured are obtained from test case library;According to use-case parameter information to be measured and use-case template generation to be measured interface testing use-case to be measured;According to interface testing use-case to be measured and interface communication parameter to be measured, the interface to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured is tested.Only the testing efficiency for carrying out automatic test to interface to be measured according to test case need to be improved by test case mark and precondition information association.

Description

Interface test method, device, computer equipment and storage medium
Technical field
The present invention relates to technical field of measurement and test, is situated between more particularly to interface test method, device, computer equipment and storage Matter.
Background technology
At present, with the becoming increasingly abundant of growing and different field class of business (such as the gold of computer technology Melt transaction field), the demand that automatic test is carried out to complication system is growing.Common method of testing is mainly by opening Send out what testing tool was realized, existing testing tool is broadly divided into commercial testing tool for the angle of Technical Architecture, increased income Test frame and the lightweight test script of tester's establishment;Be broadly divided into for the angle of function functional test instrument, Performance testing tool and security test instrument etc.;Be broadly divided into for operation platform angle based on Windows operating system, Based on Unix/Linux operating systems etc.;For example it is divided into Web testing tools, message testing tool for system under test (SUT) angle Deng.
However, in test process, it is necessary to obtain the parameter of associated interface, root when testing sometimes some interface The interface could be tested according to the parameter got, therefore when writing the test case of interface, it is necessary to by associated interface Test case content is written in the test case content of the interface.In this way it is easy to some test case contents are caused to be weighed Relapse in different test cases so that write test case and expend more times, so as to reduce interface testing efficiency.
The content of the invention
Based on this, it is necessary to for interface testing efficiency it is low the problem of, there is provided a kind of interface test method, device, meter Calculate machine equipment and storage medium.
A kind of interface test method, methods described include:
Obtain interface testing instruction;
The precondition information that the test case mark inquired about in being instructed with the interface testing associates;
According to use-case parameter information to be measured corresponding to test case mark described in the precondition acquisition of information;
Obtained and the corresponding use-case template to be measured of test case mark and interface communication to be measured from test case library Parameter;
According to the use-case parameter information to be measured and the use-case template generation to be measured interface testing use-case to be measured;
According to the interface testing use-case to be measured and the interface communication parameter to be measured, to the interface testing use-case to be measured In interface to be measured corresponding to interface IP address to be measured tested.
A kind of interface test device, it is characterised in that described device includes:
Instruction acquisition module is tested, for obtaining interface testing instruction;
Precondition enquiry module, the test case mark for inquiring about in being instructed with the interface testing associate preposition Conditional information;
Parameter information acquisition module, for being treated corresponding to the test case mark according to the precondition acquisition of information Survey use-case parameter information;
Use-case module acquisition module, for obtaining use to be measured corresponding with test case mark from test case library Example template and interface communication parameter to be measured;
Test cases technology module, for being treated according to the use-case parameter information to be measured and the use-case template generation to be measured Survey interface testing use-case;
Interface testing module to be measured, for according to the interface testing use-case to be measured and the interface communication parameter to be measured, Interface to be measured corresponding to interface IP address to be measured in the interface testing use-case to be measured is tested.
A kind of computer equipment, the computer equipment include memory, processor and are stored on the memory simultaneously The computer program that can be run on the processor, realize that the present invention is any during computer program described in the computing device The step of declaration form dispatching method for allocating tasks provided in embodiment.
A kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of declaration form dispatching method for allocating tasks provided in any embodiment of the present invention is provided when being executed by processor.
Above-mentioned interface test method, device, computer equipment and storage medium, in interface test process, performing survey Before test case corresponding to example mark on probation, according to precondition acquisition of information use-case parameter information to be measured, according to getting Use-case parameter information to be measured and use-case template generation to be measured interface testing use-case to be measured, and according to interface testing use-case to be measured and Interface communication parameter to be measured, to interface testing to be measured.Without by the test case of other interfaces associated with interface to be measured Appearance is write in interface testing use-case to be measured, only need to save weight by test case mark and precondition information association The time spent by test case content is write again, and automatic test is carried out to interface to be measured according to test case so as to improve Testing efficiency.
Brief description of the drawings
Fig. 1 is the applied environment figure of interface test method in one embodiment;
Fig. 2 is the schematic flow sheet of interface test method in one embodiment;
Fig. 3 is schematic flow sheet the step of interface testing instruction is generated in one embodiment;
Fig. 4 is schematic flow sheet the step of performing testing advanced use-case in one embodiment;
Fig. 5 is schematic flow sheet the step of obtaining use-case parameter information to be measured in one embodiment;
Fig. 6 is schematic flow sheet the step of testing interface to be measured in one embodiment;
Fig. 7 is the structured flowchart of interface test device in one embodiment;
Fig. 8 is the structured flowchart that instruction acquisition module is tested in one embodiment;
Fig. 9 is the structured flowchart of parameter information acquisition module in one embodiment;
Figure 10 is the structured flowchart of the server in interface test system in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of interface test method in one embodiment.Reference picture 1, the interface test method application In interface test system.Interface test system includes terminal 110 and server 120, and wherein terminal 110 passes through network and server 120 connections.Terminal 110 can be fixed terminal or mobile terminal, and fixed terminal can be specifically printer, scanner and monitoring At least one of device, mobile terminal can be specifically in tablet personal computer, smart mobile phone, personal digital assistant and digital camera It is at least one.
As shown in Fig. 2 in one embodiment, there is provided a kind of interface test method, the present embodiment are applied in this way Server 120 in Fig. 1 comes for example, this method specifically includes herein below:
S202, obtain interface testing instruction.
Specifically, the interface testing configuration page is shown in terminal 110, user can be defeated in interface testing configures the page Enter test case configuration information, user clicks on the configuration in the interface testing configuration page by the input equipment of terminal 110 and completed Button.Terminal 110 obtains interface testing configuration when the configuration completing button in detecting the interface testing configuration page is clicked The test case configuration information inputted in the page, interface testing instruction is generated according to test case configuration information.Wherein, test is used Example configuration information identifies including test case, and the test case mark extracted can be one or more.Terminal 110 will generate Interface testing instruction send to server 120.
S204, the precondition information that the test case mark inquired about in being instructed with interface testing associates.
Wherein, test case library is provided with server 120, test case template, interface are stored with test case library Messaging parameter and precondition information.Test case template is the template of generation test case;Interface communication parameter interface to be measured Corresponding messaging parameter, it can specifically include in interface communications protocol type, interface communication pattern and data transmission format extremely Few one kind;The information or parameter that precondition information needs before for the current test case of execution.User is defeated by terminal 110 The precondition information of configuration association can be identified in interface testing configures the page for test case by entering equipment.Server 120 The precondition that test case can be identified to precondition information associated with it identifies corresponding be stored in test case.
Specifically, after interface testing instruction is got, docking port test instruction is parsed server 120, passes through solution Test case mark in analysis extraction interface testing instruction, identifies according to the test case extracted and is inquired about in test case library With the presence or absence of the precondition information of association.
In one embodiment, server 120 can inquire about inquiry with the presence or absence of corresponding with the test case mark extracted Precondition mark, identified if inquiring corresponding with the test mark extracted precondition, then it represents that association be present Precondition information;If precondition mark corresponding with the test case mark extracted is not inquired, then it represents that do not deposit In the precondition information of association.
S206, according to use-case parameter information to be measured corresponding to precondition acquisition of information test case mark.
Specifically, use-case parameter letter to be measured corresponding to the test case mark extracted is included in precondition information Breath.Server 120 is carried out when inquiring the test case corresponding precondition information of mark with extracting to precondition Parsing, to be measured use-case parameter information of the extraction with test case mark to drink.
In one embodiment, server 120 is inquiring the corresponding precondition of test case mark with extracting Mark, according to the precondition mark inquiry precondition information inquired, extract the data query bar in preposition long narrow table information Part.Wherein, data query conditions include Data Identification and database address.Number of the server 120 in data query conditions Database connection is established according to storehouse address, the data according to corresponding to database connection inquires about Data Identification from database, with inquiry To data identify corresponding use-case parameter information to be measured as with test case.
S208, obtained and the corresponding use-case template to be measured of test case mark and interface communication to be measured from test case library Parameter.
Specifically, server 120 is looked into after test case mark is extracted in being instructed from interface testing in test case library Ask and the corresponding use-case template to be measured of test case mark extracted and interface communication parameter to be measured.
In one embodiment, server 120 is inquired about corresponding with the test case mark extracted in test case library Use-case template to be measured, from use-case template to be measured extract messaging parameter mark, according to the messaging parameter of extraction mark testing Query interface messaging parameter in use-case.
S210, according to use-case parameter information to be measured and use-case template generation to be measured interface testing use-case to be measured.
Specifically, interface testing use-case to be measured is the test case for being tested interface to be measured.Use-case ginseng to be measured Number information includes required parameter information, return parameters information and expected test result, and use-case template to be measured is believed for test scene Breath.Server 120 is merged according to use-case parameter information to be measured and use-case template to be measured, and test case mark is obtained by merging Test case corresponding to knowledge.
In one embodiment, when the test case extracted is identified with multiple, server 120 is according to each test case The precondition acquisition of information use-case parameter information to be measured of association is identified, and each test case mark is obtained from test case library Use-case template to be measured corresponding to knowledge, merged according to use-case parameter to be measured and use-case template to be measured corresponding to each test case mark Generate interface testing use-case to be measured corresponding to each test case mark difference.
S212, according to interface testing use-case to be measured and interface communication parameter to be measured, to be measured in interface testing use-case to be measured Interface to be measured corresponding to interface IP address is tested.
Specifically, server 120 extracts the test information in interface testing use-case to be measured and interface IP address to be measured, according to treating Survey interface communication parameter to be packaged the test information extracted, the test information after encapsulation is sent to what is extracted to be measured Interface to be measured corresponding to interface IP address, to be tested according to the test information after encapsulation interface to be measured.
In one embodiment, server 120 is with extracting test information and the interface to be measured in interface testing use-case to be measured Location, interface testing to be measured is generated according to interface communication parameter to be measured and the test information extracted and asked, by interface testing to be measured Request is sent to interface to be measured corresponding to the interface IP address to be measured extracted, and interface to be measured is tested.
In the present embodiment, in interface test process, before test case corresponding to implementation of test cases mark, according to Precondition acquisition of information use-case parameter information to be measured, given birth to according to the use-case parameter information to be measured got and use-case template to be measured Into interface testing use-case to be measured, and according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured.Nothing The test case content of other interfaces associated with interface to be measured need to be write in interface testing use-case to be measured, only need to pass through survey Example mark on probation and precondition information association, save repetition and write time spent by test case content, so as to Improve the testing efficiency for carrying out automatic test to interface to be measured according to test case.
As shown in figure 3, in one embodiment, the step of generation interface testing instructs, the step are specifically included before S202 Suddenly herein below is specifically included:
S302, the test time started in monitoring and test plan information.
Wherein, test plan information is input equipment of the user by terminal 110, in the interface testing that terminal 110 is shown Configure the test plan information of the input in the page.Terminal 110 sends the test plan information of input to server 120.Clothes The test plan information that terminal 110 is sent can be stored in test case library by business device 120.Test plan information includes test Time and test case logo collection are performed, the test execution time includes test time started and test end time;Test is used Example logo collection includes at least one test case mark.
Specifically, test plan information is store in the test case library of server 120, test plan information includes surveying Examination performs time, test loop number and test case logo collection.The test that server 120 is obtained in test plan information is held Whether row time, the extraction test time started from the test execution time, monitoring current time are equal to the test time started.
In one embodiment, test case library includes multiple test plan information.Server 120 periodically obtains current It is time, current to monitor by the current time got compared with the test time started in each test plan information Whether the time is identical with the test time started.
S304, when monitor current time with test the time started it is identical when, from test plan information extract test open Begin test case mark corresponding to the time.
Specifically, server 120 monitor by current time with test the time started it is identical when, from the test time started Read test use-case logo collection in corresponding test plan information, extract the test case mark in test case logo collection Know.
S306, interface testing to be measured is generated according to the test case mark extracted and instructed.
Specifically, server 120 seals after test case mark is extracted to the test case mark extracted Dress, interface testing instruction to be measured is generated by encapsulating.
In the present embodiment, by the monitoring to the test time started in each test plan information, when monitoring current Between be equal to test the time started, according to corresponding to the test time started test plan information generation interface testing instruction, without Triggering interface testing instruction manually, reduces manually-operated intervention.Corresponding interface can be generated according to test plan information Test instruction, improve the convenience of generation interface testing instruction.
As shown in figure 4, in one embodiment, S206 specifically includes the step of performing testing advanced use-case, step tool Body includes herein below:
S402, preposition use-case generation information corresponding with precondition information, preposition use-case are obtained from test case library Template and front interface messaging parameter.
Specifically, preposition use-case generation information, preposition use-case template, front interface messaging parameter and preposition bar conditional information It is corresponding to be stored in test case library.Server 120 is inquiring the corresponding precondition of test case mark with extracting After information, inquired about from test case library preposition use-case corresponding with precondition information generate information, preposition use-case template and Front interface messaging parameter.
In one embodiment, server 120 extracts preposition use-case generation information and preposition use from preposition conditional information Example template identification, inquires about preposition use-case template corresponding with the preposition use-case template identification extracted in test case library, from Interface parameters mark is extracted in preposition use-case template, inquiry and the corresponding front interface of interface parameters mark in test case library Messaging parameter.
S404, information and the preposition testing advanced use-case of use-case template generation are generated according to preposition use-case.
Specifically, preposition use-case generation information includes preposition required parameter information, preposition return parameters information and preposition Expected test result, preposition use-case template are preposition scene information.Server 120 generates information and preposition use according to preposition use-case Example template is merged, and testing advanced use-case is obtained by merging.
S406, testing advanced use-case is performed according to front interface messaging parameter, obtained to be measured corresponding to test case mark Use-case parameter information.
Specifically, server 120 extracts the front interface address in testing advanced use-case, according to front interface messaging parameter Testing advanced use-case is packaged, sent the testing advanced use-case after encapsulation to front interface according to front interface address, Front interface is performed testing advanced use-case, and use-case to be measured corresponding with test case mark is generated according to testing advanced use-case Parameter information.The use-case parameter information to be measured that the interface front interface of server 120 returns.
In the present embodiment, when inquiring the precondition information of association, generated according to precondition information testing advanced Use-case, front interface is tested according to the testing advanced use-case of generation, obtain front interface and returned according to testing advanced use-case The corresponding use-case parameter information to be measured of test case mark returned, ensure that the accuracy of use-case parameter to be measured.
As shown in figure 5, in one embodiment, S406 specifically includes the step of obtaining use-case parameter information to be measured, the step Suddenly herein below is specifically included:
S502, according to testing advanced use-case and front interface messaging parameter, to front interface address in testing advanced use-case Corresponding front interface is tested, and obtains the parameter information that front interface returns.
Specifically, server 120 extracts the front interface address in testing advanced use-case, extracts front interface messaging parameter In interface communications protocol type, interface communication pattern and interface data transmission form, according to the interface communications protocol extracted Type, interface communication pattern and interface data transmission form encapsulate to testing advanced use-case, obtain front interface test request.Clothes Business device 120 sends front interface test request to front interface address, and interface front interface is according to front interface test request The parameter information of return.
S504, detect in precondition information and whether there is data query conditions.
Specifically, data query conditions include database address, Data Identification and data query sentence.Precondition information In may also include data query conditions.Server 120 is determined whether there is by the data query mark in preposition long narrow table information Data query conditions.
S506, if detecting in precondition information data query conditions be present, according to data query conditions from database Middle inquiry data.
Specifically, server 120 is believed when data query conditions be present in detecting precondition information from precondition Data query conditions are extracted in breath.Database address of the server 120 in data query conditions is connected with Database, Data corresponding with Data Identification are inquired about from database by connecting according to data query sentence.
S508, with the parameter information got and the data inquired, as use-case to be measured corresponding to test case mark Parameter information.
Specifically, will after server 120 obtains the parameter information of front interface return and inquires data from database The parameter information got and the data inquired merge into use-case parameter information to be measured corresponding to test case mark.
, can be according in precondition information after the parameter information of front interface return is got in the present embodiment Data query conditions data are inquired about from database, used according to the parameter information that gets and the data inquired generation test Use-case parameter information to be measured corresponding to example mark, improve the acquisition efficiency of use-case parameter information to be measured.
As shown in fig. 6, in one embodiment, S212 specifically includes the step of testing interface to be measured, and the step is specifically wrapped Include herein below:
S602, extract interface communications protocol type, interface communication pattern and interface data in interface communication parameter to be measured Transformat.
Wherein, interface communication parameter to be measured includes interface communications protocol type, interface communication pattern and interface data biography Transport format.The communication protocol that interface communications protocol type is supported by interface to be tested;Interface communication pattern is interface to be tested The communication protocol supported;Interface data transmission form is the data transmission format that interface to be tested can be parsed and supported.
Specifically, server 120 parses to interface communication parameter to be measured, is carried by parsing from interface communication parameter Take interface communications protocol type, interface communication pattern and interface data transmission form.
S604, according to interface communications protocol type, interface communication pattern, interface data transmission form and interface testing to be measured Use-case generates interface testing request to be measured.
Specifically, server 120 leads to interface testing use-case to be measured according to the interface communications protocol type extracted, interface Letter pattern and interface data transmission form are packaged, and encapsulation obtains the interface testing to be measured request that interface to be measured is supported.
S606, asked according to interface testing to be measured to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured Interface is tested.
Specifically, interface testing use-case to be measured includes interface IP address to be measured, interface IP address to be measured be interface to be measured only One mark.Server 120 extracts interface IP address to be measured from interface testing use-case to be measured, is connect according to interface IP address to be measured by be measured Mouth test request is sent to interface to be measured, to test interface to be measured.
In the present embodiment, without considering to write interface testing use-case to be measured, direct root according to the interface type of interface to be measured It is packaged according to the interface communications protocol type in interface communication parameter to be measured, interface communication pattern and interface data transmission form Interface testing use-case to be measured is encapsulated, the interface testing to be measured request that interface to be tested is supported is generated, ensure that and connect according to be measured Success rate of the mouth test request to interface testing to be measured.
As shown in fig. 7, in one embodiment, there is provided a kind of interface test device 700, the device are specifically included in following Hold:Test instruction acquisition module 702, precondition enquiry module 704, parameter information acquisition module 706, use-case module and obtain mould Block 708, Test cases technology module 710 and interface testing module 712 to be measured.
Instruction acquisition module 702 is tested, for obtaining interface testing instruction.
Precondition enquiry module 704, the test case mark for inquiring about in being instructed with interface testing associate preposition Conditional information.
Parameter information acquisition module 706, for the use to be measured according to corresponding to precondition acquisition of information test case mark Example parameter information.
Use-case module acquisition module 708, for obtaining use to be measured corresponding with test case mark from test case library Example template and interface communication parameter to be measured.
Test cases technology module 710, for according to use-case parameter information to be measured and use-case template generation to be measured is to be measured connects Mouth test case.
Interface testing module 712 to be measured, for according to interface testing use-case to be measured and interface communication parameter to be measured, to be measured Interface to be measured in interface testing use-case corresponding to interface IP address to be measured is tested.
In the present embodiment, in interface test process, before test case corresponding to implementation of test cases mark, according to Precondition acquisition of information use-case parameter information to be measured, given birth to according to the use-case parameter information to be measured got and use-case template to be measured Into interface testing use-case to be measured, and according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured.Nothing The test case content of other interfaces associated with interface to be measured need to be write in interface testing use-case to be measured, only need to pass through survey Example mark on probation and precondition information association, save repetition and write time spent by test case content, so as to Improve the testing efficiency for carrying out automatic test to interface to be measured according to test case.
As shown in figure 8, in one embodiment, test case library includes multiple test plan information, test instruction obtains Herein below is specifically included before modulus block 702:Test plan monitoring modular 714, use-case marker extraction module 716 and test refer to Make generation module 718.
Test plan monitoring modular 714, for the test time started in monitoring and test plan information.
Use-case marker extraction module 716, for when monitor current time with test the time started it is identical when, from tester Draw test case mark corresponding to the extraction test time started in information.
Directive generation module 718 is tested, for generating interface testing instruction to be measured according to the test case mark extracted.
In the present embodiment, by the monitoring to the test time started in each test plan information, when monitoring current Between be equal to test the time started, according to corresponding to the test time started test plan information generation interface testing instruction, without Triggering interface testing instruction manually, reduces manually-operated intervention.Corresponding interface can be generated according to test plan information Test instruction, improve the convenience of generation interface testing instruction.
As shown in figure 9, in one embodiment, parameter information acquisition module 706 specifically includes herein below:Leading information Enquiry module 706a, preposition use-case generation module 706b and use-case gain of parameter module 706c.
Leading information enquiry module 706a, for obtaining preposition use corresponding with precondition information from test case library Example generation information, preposition use-case template and front interface messaging parameter.
Preposition use-case generation module 706b, for generating information and the preposition preposition survey of use-case template generation according to preposition use-case Example on probation.
Use-case gain of parameter module 706c, for performing testing advanced use-case according to front interface messaging parameter, surveyed Use-case parameter information to be measured corresponding to example mark on probation.
In the present embodiment, when inquiring the precondition information of association, generated according to precondition information testing advanced Use-case, front interface is tested according to the testing advanced use-case of generation, obtain front interface and returned according to testing advanced use-case The corresponding use-case parameter information to be measured of test case mark returned, ensure that the accuracy of use-case parameter to be measured.
In one embodiment, use-case gain of parameter module 706c also has and led according to testing advanced use-case and front interface Believe parameter, front interface corresponding to front interface address in testing advanced use-case is tested, obtain what front interface returned Parameter information;It whether there is data query conditions in detection precondition information;If detect in precondition information number be present According to querying condition, data are inquired about from database according to data query conditions;With the parameter information got and the number inquired According to as use-case parameter information to be measured corresponding to test case mark.
, can be according in precondition information after the parameter information of front interface return is got in the present embodiment Data query conditions data are inquired about from database, used according to the parameter information that gets and the data inquired generation test Use-case parameter information to be measured corresponding to example mark, improve the acquisition efficiency of use-case parameter information to be measured.
In one embodiment, interface testing module 712 to be measured is additionally operable to extract the interface in interface communication parameter to be measured Communication protocol type, interface communication pattern and interface data transmission form;According to interface communications protocol type, interface communication mould Formula, interface data transmission form and interface testing use-case to be measured generate interface testing request to be measured;Please according to interface testing to be measured Ask and the interface to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured is tested.
In the present embodiment, without considering to write interface testing use-case to be measured, direct root according to the interface type of interface to be measured It is packaged according to the interface communications protocol type in interface communication parameter to be measured, interface communication pattern and interface data transmission form Interface testing use-case to be measured is encapsulated, the interface testing to be measured request that interface to be tested is supported is generated, ensure that and connect according to be measured Success rate of the mouth test request to interface testing to be measured.
Figure 10 is the internal structure schematic diagram of the server 120 in Fig. 1 interface test systems in one embodiment.Such as Figure 10 Shown, the server 120 includes connecing by processor, non-volatile memory medium, memory and the network that system bus connects Mouthful.The processor of server 120 is used to provide calculating and control ability, supports the operation of whole server 120, memory is used for Data storage, code command etc., network interface are used to carry out network service with terminal 110.It is stored with memory at least one Computer program, the computer program can be executed by processor, to realize that what is provided in the embodiment of the present application is applied to server 120 interface test method.Memory may include magnetic disc, CD, read-only memory (Read-Only Memory, ROM) Deng non-volatile memory medium.For example, in one embodiment, memory includes non-volatile memory medium and built-in storage; Non-volatile memory medium is stored with operating system, database and computer program, and test case library is provided with database, should Computer program can be executed by processor to realize above-mentioned interface test method;Built-in storage is in non-volatile memory medium Operating system and computer executable instructions provide cache running environment.
The embodiment of the present invention proposes a kind of computer equipment, and the computer equipment includes a series of be stored on memory Computer program, when the computer program is executed by processor, it is possible to achieve various embodiments of the present invention propose declaration form match somebody with somebody Send method for allocating tasks.In certain embodiments, the specific operation realized based on the computer program each several part.
In one embodiment, computer equipment includes memory, processor and is stored on the memory and can be The computer program run on the processor, following steps are realized during computer program described in the computing device:Obtain Interface testing instructs;The precondition information that the test case mark inquired about in being instructed with interface testing associates;According to preposition bar Use-case parameter information to be measured corresponding to part acquisition of information test case mark;Obtain from test case library and identified with test case Corresponding use-case template to be measured and interface communication parameter to be measured;Treated according to use-case parameter information to be measured and use-case template generation to be measured Survey interface testing use-case;According to interface testing use-case to be measured and interface communication parameter to be measured, to being treated in interface testing use-case to be measured The interface to be measured corresponding to interface IP address is surveyed to be tested.
In one embodiment, test case library includes multiple test plan information, before obtaining interface testing instruction, Described in the computing device following steps are realized during computer program:The test time started in monitoring and test plan information; When monitoring that current time is identical with the test time started, the survey corresponding to the extraction test time started from test plan information Example mark on probation;Test case mark according to extracting generates interface testing instruction to be measured.
In one embodiment, the use-case parameter letter to be measured according to corresponding to precondition acquisition of information test case mark Breath, including:Obtained from test case library preposition use-case corresponding with precondition information generate information, preposition use-case template and Front interface messaging parameter;Information and the preposition testing advanced use-case of use-case template generation are generated according to preposition use-case;According to preposition Interface communication parameter performs testing advanced use-case, obtains use-case parameter information to be measured corresponding to test case mark.
In one embodiment, testing advanced use-case is performed according to front interface messaging parameter, obtains test case mark Corresponding use-case parameter information to be measured, including:According to testing advanced use-case and front interface messaging parameter, to testing advanced use-case Front interface corresponding to middle front interface address is tested, and obtains the parameter information that front interface returns;Detect precondition It whether there is data query conditions in information;If detecting in precondition information data query conditions be present, looked into according to data Inquiry condition inquires about data from database;With the parameter information got and the data inquired, as test case mark pair The use-case parameter information to be measured answered.
In one embodiment, according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured Interface to be measured in use-case corresponding to interface IP address to be measured is tested, including:Extract the interface in interface communication parameter to be measured Communication protocol type, interface communication pattern and interface data transmission form;According to interface communications protocol type, interface communication mould Formula, interface data transmission form and interface testing use-case to be measured generate interface testing request to be measured;Please according to interface testing to be measured Ask and the interface to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured is tested.
In the present embodiment, in interface test process, before test case corresponding to implementation of test cases mark, according to Precondition acquisition of information use-case parameter information to be measured, given birth to according to the use-case parameter information to be measured got and use-case template to be measured Into interface testing use-case to be measured, and according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured.Nothing The test case content of other interfaces associated with interface to be measured need to be write in interface testing use-case to be measured, only need to pass through survey Example mark on probation and precondition information association, save repetition and write time spent by test case content, so as to Improve the testing efficiency for carrying out automatic test to interface to be measured according to test case.
A kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program Following steps are realized when being executed by processor:Obtain interface testing instruction;Inquiry and the test case mark in interface testing instruction Know the precondition information of association;According to use-case parameter information to be measured corresponding to precondition acquisition of information test case mark; Use-case template to be measured corresponding with test case mark and interface communication parameter to be measured are obtained from test case library;According to be measured Use-case parameter information and use-case template generation to be measured interface testing use-case to be measured;According to interface testing use-case to be measured and interface to be measured Messaging parameter, the interface to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured is tested.
In one embodiment, test case library includes multiple test plan information, before obtaining interface testing instruction, Processor also performs following steps:The test time started in monitoring and test plan information;When monitor current time with test When time started is identical, the test case mark corresponding to the extraction test time started from test plan information;According to extracting Test case mark generate interface testing to be measured instruction.
In one embodiment, the use-case parameter letter to be measured according to corresponding to precondition acquisition of information test case mark Breath, including:Obtained from test case library preposition use-case corresponding with precondition information generate information, preposition use-case template and Front interface messaging parameter;Information and the preposition testing advanced use-case of use-case template generation are generated according to preposition use-case;According to preposition Interface communication parameter performs testing advanced use-case, obtains use-case parameter information to be measured corresponding to test case mark.
In one embodiment, testing advanced use-case is performed according to front interface messaging parameter, obtains test case mark Corresponding use-case parameter information to be measured, including:According to testing advanced use-case and front interface messaging parameter, to testing advanced use-case Front interface corresponding to middle front interface address is tested, and obtains the parameter information that front interface returns;Detect precondition It whether there is data query conditions in information;If detecting in precondition information data query conditions be present, looked into according to data Inquiry condition inquires about data from database;With the parameter information got and the data inquired, as test case mark pair The use-case parameter information to be measured answered.
In one embodiment, according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured Interface to be measured in use-case corresponding to interface IP address to be measured is tested, including:Extract the interface in interface communication parameter to be measured Communication protocol type, interface communication pattern and interface data transmission form;According to interface communications protocol type, interface communication mould Formula, interface data transmission form and interface testing use-case to be measured generate interface testing request to be measured;Please according to interface testing to be measured Ask and the interface to be measured corresponding to interface IP address to be measured in interface testing use-case to be measured is tested.
In the present embodiment, in interface test process, before test case corresponding to implementation of test cases mark, according to Precondition acquisition of information use-case parameter information to be measured, given birth to according to the use-case parameter information to be measured got and use-case template to be measured Into interface testing use-case to be measured, and according to interface testing use-case to be measured and interface communication parameter to be measured, to interface testing to be measured.Nothing The test case content of other interfaces associated with interface to be measured need to be write in interface testing use-case to be measured, only need to pass through survey Example mark on probation and precondition information association, save repetition and write time spent by test case content, so as to Improve the testing efficiency for carrying out automatic test to interface to be measured according to test case.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, the computer program can be stored in a computer-readable storage and be situated between In matter, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, foregoing storage medium can be The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM).
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of interface test method, it is characterised in that methods described includes:
Obtain interface testing instruction;
The precondition information that the test case mark inquired about in being instructed with the interface testing associates;
According to use-case parameter information to be measured corresponding to test case mark described in the precondition acquisition of information;
Use-case template to be measured corresponding with test case mark and interface communication parameter to be measured are obtained from test case library;
According to the use-case parameter information to be measured and the use-case template generation to be measured interface testing use-case to be measured;
According to the interface testing use-case to be measured and the interface communication parameter to be measured, to being treated in the interface testing use-case to be measured The interface to be measured corresponding to interface IP address is surveyed to be tested.
2. according to the method for claim 1, it is characterised in that test case library includes multiple test plan information;
Before the acquisition interface testing instruction, including:
Monitor the test time started in the test plan information;
When monitoring that current time is identical with the test time started, the test is extracted from the test plan information Test case corresponding to time started identifies;
Test case mark according to extracting generates interface testing instruction to be measured.
3. according to the method for claim 1, it is characterised in that the test according to the precondition acquisition of information Use-case parameter information to be measured corresponding to use-case mark, including:
Obtained from test case library preposition use-case corresponding with the precondition information generate information, preposition use-case template and Front interface messaging parameter;
According to the preposition use-case generation information and the preposition testing advanced use-case of use-case template generation;
The testing advanced use-case is performed according to the front interface messaging parameter, obtains treating corresponding to the test case mark Survey use-case parameter information.
4. according to the method for claim 3, it is characterised in that described according to performing the front interface messaging parameter Testing advanced use-case, use-case parameter information to be measured corresponding to the test case mark is obtained, including:
According to the testing advanced use-case and the front interface messaging parameter, to front interface in the testing advanced use-case Front interface is tested corresponding to location, obtains the parameter information that the front interface returns;
Detect and whether there is data query conditions in the precondition information;
If detect in the precondition information data query conditions be present, according to the data query conditions from database Inquire about data;
With the parameter information got and the data inquired, as use-case parameter information to be measured corresponding to test case mark.
5. according to the method for claim 1, it is characterised in that described according to the interface testing use-case to be measured and described to treat Interface communication parameter is surveyed, the interface to be measured corresponding to interface IP address to be measured in the interface testing use-case to be measured is tested, Including:
Extract interface communications protocol type, interface communication pattern and the interface data transmission lattice in the interface communication parameter to be measured Formula;
According to the interface communications protocol type, interface communication pattern, interface data transmission form and the interface testing to be measured Use-case generates interface testing request to be measured;
According to the interface testing request to be measured to be measured corresponding to interface IP address to be measured in the interface testing use-case to be measured Interface is tested.
6. a kind of interface test device, it is characterised in that described device includes:
Instruction acquisition module is tested, for obtaining interface testing instruction;
Precondition enquiry module, the precondition that the test case mark for inquiring about in being instructed with the interface testing associates Information;
Parameter information acquisition module, for use to be measured corresponding to the test case mark according to the precondition acquisition of information Example parameter information;
Use-case module acquisition module, for obtaining use-case mould to be measured corresponding with test case mark from test case library Plate and interface communication parameter to be measured;
Test cases technology module, for according to the use-case parameter information to be measured and the use-case template generation to be measured is to be measured connects Mouth test case;
Interface testing module to be measured, for according to the interface testing use-case to be measured and the interface communication parameter to be measured, to institute The interface to be measured in interface testing use-case to be measured corresponding to interface IP address to be measured is stated to be tested.
7. device according to claim 6, it is characterised in that the parameter information acquisition module, including:
Leading information enquiry module, for when inquiring the precondition information in the presence of association, being obtained from test case library Corresponding with the precondition information preposition use-case generation information, preposition use-case template and front interface messaging parameter;
Preposition use-case generation module, for generating information and the preposition preposition survey of use-case template generation according to the preposition use-case Example on probation;
Use-case gain of parameter module, for performing the testing advanced use-case according to the front interface messaging parameter, obtain institute State use-case parameter information to be measured corresponding to test case mark.
8. device according to claim 7, it is characterised in that the use-case gain of parameter module also has according to before described Test case and the front interface messaging parameter are put, is connect to preposition corresponding to front interface address in the testing advanced use-case Mouth is tested, and obtains the parameter information that the front interface returns;Detect and whether there is data in the precondition information Querying condition;If detecting in the precondition information data query conditions be present, according to the data query conditions from number According to inquiring about data in storehouse;With the parameter information got and the data inquired, as use to be measured corresponding to test case mark Example parameter information.
9. a kind of computer equipment, the computer equipment includes memory, processor and is stored on the memory and can The computer program run on the processor, claim 1 to 5 is realized during computer program described in the computing device Any one of method the step of.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of method any one of claim 1 to 5 is realized when being executed by processor.
CN201711044187.5A 2017-10-31 2017-10-31 Interface testing method and device, computer equipment and storage medium Active CN107844421B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711044187.5A CN107844421B (en) 2017-10-31 2017-10-31 Interface testing method and device, computer equipment and storage medium
PCT/CN2017/112618 WO2019085079A1 (en) 2017-10-31 2017-11-23 Interface test method and apparatus, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711044187.5A CN107844421B (en) 2017-10-31 2017-10-31 Interface testing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107844421A true CN107844421A (en) 2018-03-27
CN107844421B CN107844421B (en) 2020-08-14

Family

ID=61681160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711044187.5A Active CN107844421B (en) 2017-10-31 2017-10-31 Interface testing method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN107844421B (en)
WO (1) WO2019085079A1 (en)

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733573A (en) * 2018-05-30 2018-11-02 湖南鑫蜀山网络科技有限公司 The interface testing equipment that application interface test method is tested
CN108984387A (en) * 2018-05-30 2018-12-11 湖南鑫蜀山网络科技有限公司 Interface test device applied to computer
CN109086199A (en) * 2018-06-22 2018-12-25 网宿科技股份有限公司 A kind of automation generates the method for test script, terminal and can storage medium
CN109254920A (en) * 2018-09-06 2019-01-22 上海精数信息科技有限公司 Interface testing case generation method, device, electronic equipment, storage medium
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium
CN109446068A (en) * 2018-09-26 2019-03-08 平安健康保险股份有限公司 Interface test method, device, computer equipment and storage medium
CN109474488A (en) * 2018-10-31 2019-03-15 中国银行股份有限公司 Interface test method, device and computer equipment
CN109522218A (en) * 2018-10-19 2019-03-26 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN109710532A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Test case management method and device and electronic equipment
CN109726105A (en) * 2018-05-15 2019-05-07 平安普惠企业管理有限公司 Test data construction method, device, equipment and storage medium
CN109815144A (en) * 2019-01-16 2019-05-28 深圳壹账通智能科技有限公司 Service application test method, device, computer equipment and storage medium
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN109947646A (en) * 2019-03-13 2019-06-28 平安信托有限责任公司 Interface test method, device, computer equipment and storage medium
CN109992508A (en) * 2019-03-22 2019-07-09 恒生电子股份有限公司 Test exemple automation generation method, device and electronic equipment
CN110134583A (en) * 2019-04-11 2019-08-16 口碑(上海)信息技术有限公司 Software test and data processing method and device
CN110147319A (en) * 2019-04-19 2019-08-20 平安普惠企业管理有限公司 Data library test method, device and computer equipment
CN110569198A (en) * 2019-09-18 2019-12-13 北京搜狐新媒体信息技术有限公司 Method and device for automated testing of business functions
CN111090575A (en) * 2018-10-23 2020-05-01 亿度慧达教育科技(北京)有限公司 Test method
CN111459794A (en) * 2020-02-25 2020-07-28 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN111538659A (en) * 2020-04-21 2020-08-14 上海携程商务有限公司 Interface testing method and system for service scene, electronic device and storage medium
CN111611174A (en) * 2020-05-28 2020-09-01 北京字节跳动网络技术有限公司 Test data construction method and device, computer equipment and storage medium
CN112162915A (en) * 2020-08-27 2021-01-01 杭州大搜车汽车服务有限公司 Test data generation method, device, equipment and storage medium
CN112231209A (en) * 2020-10-10 2021-01-15 金蝶医疗软件科技有限公司 Parameter acquisition method and device, computer equipment and storage medium
CN112256571A (en) * 2020-10-20 2021-01-22 苏州市软件评测中心有限公司 Test case generation method and device and storage medium
CN112559356A (en) * 2020-12-18 2021-03-26 杭州兑吧网络科技有限公司 Automatic software testing method and system
CN112699020A (en) * 2020-12-11 2021-04-23 浙江中控技术股份有限公司 Industrial real-time database API (application program interface) interface testing method
CN112988555A (en) * 2019-12-13 2021-06-18 中移信息技术有限公司 Interface test method, device, equipment and storage medium
CN113220595A (en) * 2021-06-11 2021-08-06 中国农业银行股份有限公司 Test method and device
CN113297056A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Test data setting method, test data application method, device and related equipment
CN114077540A (en) * 2020-08-21 2022-02-22 北京金山云网络技术有限公司 An interface test system and interface test method
CN114185796A (en) * 2021-12-14 2022-03-15 平安银行股份有限公司 Unit test case automatic generation method, device, device and storage medium
CN114205273A (en) * 2020-08-26 2022-03-18 腾讯科技(深圳)有限公司 System testing method, device and equipment and computer storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290961A (en) * 2020-02-28 2020-06-16 中国平安人寿保险股份有限公司 Interface test management method, device and terminal equipment
CN111427790A (en) * 2020-03-26 2020-07-17 中国建设银行股份有限公司 Test method, test device, terminal equipment and storage medium

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5390325A (en) * 1992-12-23 1995-02-14 Taligent, Inc. Automated testing system
US5881219A (en) * 1996-12-26 1999-03-09 International Business Machines Corporation Random reliability engine for testing distributed environments
US6823507B1 (en) * 2000-06-06 2004-11-23 International Business Machines Corporation Detection of memory-related errors in computer programs
US7844951B2 (en) * 2005-12-30 2010-11-30 Microsoft Corporation Specification generation from implementations
CN102096631A (en) * 2009-12-11 2011-06-15 华为技术有限公司 Interface testing method and device
CN102831052A (en) * 2011-06-16 2012-12-19 中国银联股份有限公司 Automatic generating device and method for test case
CN103617114A (en) * 2013-10-23 2014-03-05 江苏大学 Third-party component vulnerability test method based on conditions and parameter variations
US8683446B2 (en) * 2007-07-09 2014-03-25 International Business Machines Corporation Generation of test cases for functional testing of applications
CN104331366A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Test case design efficiency promotion method and system
CN105005532A (en) * 2015-08-05 2015-10-28 广东欧珀移动通信有限公司 System for automatically testing stability of application program interface and method
CN105183633A (en) * 2015-07-21 2015-12-23 浪潮电子信息产业股份有限公司 Method and system for generating test case
CN105224461A (en) * 2015-10-23 2016-01-06 网易(杭州)网络有限公司 A kind of generation method and apparatus of integration testing use-case
CN105630685A (en) * 2016-01-29 2016-06-01 广州酷狗计算机科技有限公司 Method and device for testing program interface
CN105630667A (en) * 2014-11-28 2016-06-01 阿里巴巴集团控股有限公司 Test method and terminal equipment
US9501389B1 (en) * 2015-08-20 2016-11-22 International Business Machines Corporation Test machine management
US20160342501A1 (en) * 2015-05-18 2016-11-24 Hcl Technologies Limited Accelerating Automated Testing
CN106227667A (en) * 2016-07-28 2016-12-14 南京大学 A kind of method for generating test case of the Mobile solution of IFML based on extension
CN106250310A (en) * 2016-07-25 2016-12-21 微梦创科网络科技(中国)有限公司 A kind of method for generating test case and device
CN106294162A (en) * 2016-08-12 2017-01-04 江苏大学 A kind of third party's component method for testing security based on data mining
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
CN106708739A (en) * 2016-12-30 2017-05-24 桂林电子科技大学 Extended finite state machine (EFSM) model-based Web service case generation method and system
CN106776307A (en) * 2016-12-05 2017-05-31 广州唯品会信息科技有限公司 Method for testing software and system
CN106933745A (en) * 2017-03-30 2017-07-07 携程计算机技术(上海)有限公司 WEB automatic interface testing methods and system
CN106997322A (en) * 2017-02-15 2017-08-01 网易宝有限公司 Method and apparatus for automatic test
CN107193740A (en) * 2017-05-23 2017-09-22 郑州云海信息技术有限公司 The software test case test system and method for a kind of Reuse-Oriented

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5390325A (en) * 1992-12-23 1995-02-14 Taligent, Inc. Automated testing system
US5881219A (en) * 1996-12-26 1999-03-09 International Business Machines Corporation Random reliability engine for testing distributed environments
US6823507B1 (en) * 2000-06-06 2004-11-23 International Business Machines Corporation Detection of memory-related errors in computer programs
US7844951B2 (en) * 2005-12-30 2010-11-30 Microsoft Corporation Specification generation from implementations
US8683446B2 (en) * 2007-07-09 2014-03-25 International Business Machines Corporation Generation of test cases for functional testing of applications
CN102096631A (en) * 2009-12-11 2011-06-15 华为技术有限公司 Interface testing method and device
CN102831052A (en) * 2011-06-16 2012-12-19 中国银联股份有限公司 Automatic generating device and method for test case
CN103617114A (en) * 2013-10-23 2014-03-05 江苏大学 Third-party component vulnerability test method based on conditions and parameter variations
CN104331366A (en) * 2014-10-30 2015-02-04 北京思特奇信息技术股份有限公司 Test case design efficiency promotion method and system
CN105630667A (en) * 2014-11-28 2016-06-01 阿里巴巴集团控股有限公司 Test method and terminal equipment
US20160342501A1 (en) * 2015-05-18 2016-11-24 Hcl Technologies Limited Accelerating Automated Testing
CN105183633A (en) * 2015-07-21 2015-12-23 浪潮电子信息产业股份有限公司 Method and system for generating test case
CN105005532A (en) * 2015-08-05 2015-10-28 广东欧珀移动通信有限公司 System for automatically testing stability of application program interface and method
US9501389B1 (en) * 2015-08-20 2016-11-22 International Business Machines Corporation Test machine management
CN105224461A (en) * 2015-10-23 2016-01-06 网易(杭州)网络有限公司 A kind of generation method and apparatus of integration testing use-case
CN105630685A (en) * 2016-01-29 2016-06-01 广州酷狗计算机科技有限公司 Method and device for testing program interface
CN106250310A (en) * 2016-07-25 2016-12-21 微梦创科网络科技(中国)有限公司 A kind of method for generating test case and device
CN106227667A (en) * 2016-07-28 2016-12-14 南京大学 A kind of method for generating test case of the Mobile solution of IFML based on extension
CN106294162A (en) * 2016-08-12 2017-01-04 江苏大学 A kind of third party's component method for testing security based on data mining
CN106354634A (en) * 2016-08-25 2017-01-25 青岛海信传媒网络技术有限公司 Interface testing method and device
CN106776307A (en) * 2016-12-05 2017-05-31 广州唯品会信息科技有限公司 Method for testing software and system
CN106708739A (en) * 2016-12-30 2017-05-24 桂林电子科技大学 Extended finite state machine (EFSM) model-based Web service case generation method and system
CN106997322A (en) * 2017-02-15 2017-08-01 网易宝有限公司 Method and apparatus for automatic test
CN106933745A (en) * 2017-03-30 2017-07-07 携程计算机技术(上海)有限公司 WEB automatic interface testing methods and system
CN107193740A (en) * 2017-05-23 2017-09-22 郑州云海信息技术有限公司 The software test case test system and method for a kind of Reuse-Oriented

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付剑平、陆民燕、阮镰: "软件测试用例生成中的前置条件分析", 《计算机应用研究》 *

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726105A (en) * 2018-05-15 2019-05-07 平安普惠企业管理有限公司 Test data construction method, device, equipment and storage medium
CN109726105B (en) * 2018-05-15 2023-11-28 深圳市易行网数字科技有限公司 Test data construction method, device, equipment and storage medium
CN108984387A (en) * 2018-05-30 2018-12-11 湖南鑫蜀山网络科技有限公司 Interface test device applied to computer
CN108733573A (en) * 2018-05-30 2018-11-02 湖南鑫蜀山网络科技有限公司 The interface testing equipment that application interface test method is tested
CN109086199A (en) * 2018-06-22 2018-12-25 网宿科技股份有限公司 A kind of automation generates the method for test script, terminal and can storage medium
CN109086199B (en) * 2018-06-22 2022-06-07 网宿科技股份有限公司 A method, terminal and storable medium for automatically generating test scripts
CN109254920A (en) * 2018-09-06 2019-01-22 上海精数信息科技有限公司 Interface testing case generation method, device, electronic equipment, storage medium
CN109446068B (en) * 2018-09-26 2024-04-05 平安健康保险股份有限公司 Interface test method, device, computer equipment and storage medium
CN109446068A (en) * 2018-09-26 2019-03-08 平安健康保险股份有限公司 Interface test method, device, computer equipment and storage medium
CN109446071A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Interface test method, interface test device, electronic equipment and storage medium
CN109522218A (en) * 2018-10-19 2019-03-26 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN111090575A (en) * 2018-10-23 2020-05-01 亿度慧达教育科技(北京)有限公司 Test method
CN109474488A (en) * 2018-10-31 2019-03-15 中国银行股份有限公司 Interface test method, device and computer equipment
CN109474488B (en) * 2018-10-31 2020-10-27 中国银行股份有限公司 Interface testing method and device and computer equipment
CN109710532A (en) * 2018-12-28 2019-05-03 北京金山安全软件有限公司 Test case management method and device and electronic equipment
CN109871314A (en) * 2019-01-02 2019-06-11 石化盈科信息技术有限责任公司 The automatic generation method of test script
CN109815144A (en) * 2019-01-16 2019-05-28 深圳壹账通智能科技有限公司 Service application test method, device, computer equipment and storage medium
CN109947646A (en) * 2019-03-13 2019-06-28 平安信托有限责任公司 Interface test method, device, computer equipment and storage medium
CN109992508A (en) * 2019-03-22 2019-07-09 恒生电子股份有限公司 Test exemple automation generation method, device and electronic equipment
CN110134583A (en) * 2019-04-11 2019-08-16 口碑(上海)信息技术有限公司 Software test and data processing method and device
CN110134583B (en) * 2019-04-11 2023-06-16 口碑(上海)信息技术有限公司 Software testing and data processing method and device
CN110147319A (en) * 2019-04-19 2019-08-20 平安普惠企业管理有限公司 Data library test method, device and computer equipment
CN110569198A (en) * 2019-09-18 2019-12-13 北京搜狐新媒体信息技术有限公司 Method and device for automated testing of business functions
CN112988555B (en) * 2019-12-13 2024-05-24 中移信息技术有限公司 Interface testing method, device, equipment and storage medium
CN112988555A (en) * 2019-12-13 2021-06-18 中移信息技术有限公司 Interface test method, device, equipment and storage medium
CN113297056A (en) * 2020-02-24 2021-08-24 阿里巴巴集团控股有限公司 Test data setting method, test data application method, device and related equipment
CN111459794A (en) * 2020-02-25 2020-07-28 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN111459794B (en) * 2020-02-25 2024-03-15 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN111538659B (en) * 2020-04-21 2024-03-01 上海携程商务有限公司 Interface testing method, system, electronic equipment and storage medium of business scene
CN111538659A (en) * 2020-04-21 2020-08-14 上海携程商务有限公司 Interface testing method and system for service scene, electronic device and storage medium
CN111611174A (en) * 2020-05-28 2020-09-01 北京字节跳动网络技术有限公司 Test data construction method and device, computer equipment and storage medium
CN111611174B (en) * 2020-05-28 2023-08-11 北京火山引擎科技有限公司 Method and device for constructing test data, computer equipment and storage medium
CN114077540A (en) * 2020-08-21 2022-02-22 北京金山云网络技术有限公司 An interface test system and interface test method
CN114205273A (en) * 2020-08-26 2022-03-18 腾讯科技(深圳)有限公司 System testing method, device and equipment and computer storage medium
CN114205273B (en) * 2020-08-26 2023-09-15 腾讯科技(深圳)有限公司 System test method, device and equipment and computer storage medium
CN112162915A (en) * 2020-08-27 2021-01-01 杭州大搜车汽车服务有限公司 Test data generation method, device, equipment and storage medium
CN112231209A (en) * 2020-10-10 2021-01-15 金蝶医疗软件科技有限公司 Parameter acquisition method and device, computer equipment and storage medium
CN112231209B (en) * 2020-10-10 2024-09-06 金医慧通科技有限公司 Parameter acquisition method, device, computer equipment and storage medium
CN112256571A (en) * 2020-10-20 2021-01-22 苏州市软件评测中心有限公司 Test case generation method and device and storage medium
CN112699020A (en) * 2020-12-11 2021-04-23 浙江中控技术股份有限公司 Industrial real-time database API (application program interface) interface testing method
CN112559356A (en) * 2020-12-18 2021-03-26 杭州兑吧网络科技有限公司 Automatic software testing method and system
CN113220595B (en) * 2021-06-11 2023-10-03 中国农业银行股份有限公司 Test method and test equipment
CN113220595A (en) * 2021-06-11 2021-08-06 中国农业银行股份有限公司 Test method and device
CN114185796A (en) * 2021-12-14 2022-03-15 平安银行股份有限公司 Unit test case automatic generation method, device, device and storage medium

Also Published As

Publication number Publication date
WO2019085079A1 (en) 2019-05-09
CN107844421B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN107844421A (en) Interface test method, device, computer equipment and storage medium
CN107766190A (en) Interface test method, device, computer equipment and storage medium
CN109491905A (en) Head end test method, apparatus and electronic equipment
CN112511218B (en) A satellite ground station monitoring system based on microservices
CN103778516B (en) All-position safety positioning Transaction Information integrates method
CN108459850B (en) Method, device and system for generating test script
CN107784552A (en) Information push task executing method, device, computer equipment and storage medium
CN107844409A (en) Test example executing method and device
CN109460365B (en) A kind of system performance testing method, apparatus, equipment and storage medium
CN113032244A (en) Interface testing method, device, computer system and computer readable storage medium
CN110069413B (en) Test data communication, test method, device, equipment and storage medium
CN111858375A (en) Software testing methods, apparatus, electronic equipment and media
CN113127108B (en) Business request processing method and device, storage medium and electronic device
CN113836014A (en) An interface testing method, device, electronic device and storage medium
CN114817968A (en) Method, device and equipment for tracing path of featureless data and storage medium
CN104168250A (en) CGI frame-based service flow control method and apparatus
CN112367680A (en) External communication test method and device based on intelligent electric meter and computer equipment
CN114202419A (en) A message generation method, device, device, storage medium and program product
CN103679355B (en) The method and apparatus of control business flow
CN109816462A (en) Method and device for identifying invoice information
CN110377517A (en) Applied program testing method and device, electronic equipment and readable storage medium storing program for executing
CN107545503A (en) Multi-platform investment data viewing method and device
CN117793081A (en) Method, device and medium for realizing unified service gateway by combining low codes
CN202995836U (en) Electric sign-in position serving system
CN204010026U (en) The integrated system of all-position safety location Transaction Information

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