CN109947646A - 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
CN109947646A
CN109947646A CN201910188410.6A CN201910188410A CN109947646A CN 109947646 A CN109947646 A CN 109947646A CN 201910188410 A CN201910188410 A CN 201910188410A CN 109947646 A CN109947646 A CN 109947646A
Authority
CN
China
Prior art keywords
interface
measured
parameter
test
newly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910188410.6A
Other languages
Chinese (zh)
Inventor
邱晓帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Trust Co Ltd
Original Assignee
Ping An Trust 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 Trust Co Ltd filed Critical Ping An Trust Co Ltd
Priority to CN201910188410.6A priority Critical patent/CN109947646A/en
Publication of CN109947646A publication Critical patent/CN109947646A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

This application involves a kind of interface test method, device, computer equipment and storage mediums.This method comprises: obtaining interface definition document corresponding with interface to be measured when monitoring newly-increased interface to be measured;Include the newly-increased corresponding parameter information of interface to be measured in interface definition document;Test case is generated according to parameter information;Test case includes input data and expected results;Interface to be measured is called by input data, response data is obtained with implementation of test cases;When response data meets expected results, it is determined that interface testing to be measured passes through.Automation interface test can be carried out in time in newly-increased interface using this method.

Description

Interface test method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of interface test method, device, computer equipment and Storage medium.
Background technique
With the development of computer technology, software project development facing challenges are also increasing.For continually changing User demand needs developer constantly to improve to software project.If developer is new during software project development Develop interface, need to carry out interface testing before interface to be measured formally increases newly to software project, with detect external system with Whether the interaction between institute's examining system can normally be realized.In traditional approach, tester is needed to pass through manual testing new to verify The validity of development interface.Whether the function of usually verifying interface offer newly developed indirectly using Black-box Testing is correct, so And manual interface test takes a long time, and tests no continuity, can not test quickly, in time newly-increased interface.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can be automated in time in newly-increased interface Interface test method, device, computer equipment and the storage medium of interface testing.
A kind of interface test method, which comprises when monitoring newly-increased interface to be measured, obtain with it is described to be measured The corresponding interface definition document of interface;Include the corresponding parameter letter of the newly-increased interface to be measured in the interface definition document Breath;Test case is generated according to the parameter information;The test case includes input data and expected results;By described defeated Enter interface to be measured described in data call, obtains response data to execute the test case;Described in meeting when the response data When expected results, it is determined that the interface testing to be measured passes through.
In one of the embodiments, before acquisition interface definition document corresponding with the interface to be measured, and also It include: then to obtain the interface from the code storage when monitoring has the interface code file newly uploaded in code storage Code file;The interface code file is executed, interface recalls information is obtained;History interface message is obtained, and by the interface Recalls information is compared with the history interface message;When exist compare difference results when, then determine monitor it is newly-increased to Interface is surveyed, and determines newly-increased interface to be measured according to the comparison difference results.
It is described in one of the embodiments, to execute the interface code file, obtain interface recalls information, comprising: will The interface code file imports in the code path file of predetermined software project;The predetermined software project is run, to pass through The predetermined software project is based on the code path file and executes the interface code file;Monitor the predetermined software project Running interface recalls information.
It is described in one of the embodiments, that test case is generated according to the parameter information, comprising: to be reflected based on JAVA Mechanism obtains the corresponding class parameter of the interface to be measured, method parameter and input parameter;According to the class parameter and the method Parameter generates test class and test method respectively;Parameter to be tested is chosen from corresponding value library based on the input parameter, Generate input data;According to the input data, expected results are obtained by the test class and the analysis of test methods;Envelope The test class, the test method, the input data and the expected results are filled, test case is generated.
The input parameter is multiple in one of the embodiments, described to be taken based on the input parameter from accordingly Parameter to be tested is chosen in value library, generates input data, comprising: searches value library corresponding with each input parameter;It is described to take It is worth in library comprising normal value parameter and abnormal value parameter;Randomly selected from each value library normal value parameter or Abnormal value parameter, as parameter to be tested corresponding with each input parameter;According to multiple input parameters it is corresponding to Test parameter generates input data.
In one of the embodiments, after the generation test case according to the parameter information, further includes: according to The expected results generate data check rule;When obtaining response data, then by the data check rule to the sound Data are answered to be verified;When passed the verification, determine that the response data meets the expected results.
A kind of interface test device, described device include: acquisition module, for when monitoring newly-increased interface to be measured, Obtain interface definition document corresponding with the interface to be measured;It include the newly-increased interface to be measured in the interface definition document Corresponding parameter information;Test case is generated according to the parameter information;The test case includes input data and expected knot Fruit;The interface to be measured is called by the input data, obtains response data to execute the test case;When the response Described in data fit when expected results, it is determined that the interface testing to be measured passes through.
Described device further includes monitoring modular in one of the embodiments, is had newly for working as to monitor in code storage When the interface code file of upload, then the interface code file is obtained from the code storage;Execute the interface code text Part obtains interface recalls information;Obtain history interface message, and by the interface recalls information and the history interface message into Row compares;When existing, when comparing difference results, then judgement monitors newly-increased interface to be measured, and according to the comparison difference results Determine newly-increased interface to be measured.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes above-mentioned each interface test method as described in the examples when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above-mentioned each interface test method as described in the examples is realized when row.
Above-mentioned interface test method, device, computer equipment and storage medium, director server automatic monitoring have determined newly When the interface to be measured increased, the corresponding interface definition document that parameter information is corresponded to comprising interface to be measured of the interface to be measured can be obtained. Director server can generate test case according to parameter information, and test case includes input data and expected results.Director server can Interface to be measured is called by input data, input data implementation of test cases is based on by interface to be measured, is responded accordingly Data.When director server detects that response data meets expected results, it is determined that interface testing to be measured passes through.By supervising automatically Newly-increased interface to be measured is surveyed, test case is generated based on the automation of interface definition document, can be carried out in time in newly-increased interface Automation interface test.
Detailed description of the invention
Fig. 1 is the application scenario diagram of interface test method in one embodiment;
Fig. 2 is the flow diagram of interface test method in one embodiment;
Fig. 3 is the flow diagram of interface test method in another embodiment;
Fig. 4 is the structural block diagram of interface test device in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Interface test method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, total service Device 102 is communicated with interface server 104 by network.Wherein, director server 102 and interface server 104 can be with solely The server clusters of the either multiple servers compositions of vertical server is realized.102 automatic monitoring of director server has determined When newly-increased interface to be measured, it is literary that the corresponding interface definition for correspond to parameter information comprising interface to be measured of the interface to be measured can be obtained Shelves.Director server 102 can generate test case according to parameter information, and test case includes input data and expected results.Total clothes Business device 102 interface to be measured can be called by input data, by interface to be measured by input data be sent to interface server 104 into Row processing, obtains corresponding response data.When director server 102 detects that response data meets expected results, it is determined that Interface testing is surveyed to pass through.
In one embodiment, as shown in Fig. 2, providing a kind of interface test method, it is applied in Fig. 1 in this way It is illustrated for director server 102, comprising the following steps:
Step 202, when monitoring newly-increased interface to be measured, interface definition document corresponding with interface to be measured is obtained;Institute It states in interface definition document comprising the newly-increased corresponding parameter information of interface to be measured.
During interface to be measured refers to software project development, the software that newly developed, needs increase newly into software project is connect Mouthful.By calling newly-increased interface to be measured, new function is may be implemented in software project.Interface to be measured can be http interface and (be based on The interface of hypertext transfer protocol), it is also possible to EJB interface (interface based on a kind of javaEE specification) etc., it is without being limited thereto.It can With the monitoring for the interface to be measured that real-time perfoming increases newly, can also be carried out every preset duration newly-increased by the way that timed task is arranged The monitoring of interface to be measured.Interface definition document refers to the document of the interface message comprising multiple interfaces.Interface message includes but not It is limited to method name, interface description, the packet name of input parameter mapping table and the ginseng such as class name, the packet name of return parameters mapping table and class name Number information and system banner, interface remarks, call frequency, the corresponding URL (Uniform of test environment at interface modification people Resource Locator, uniform resource locator), the external interfaces relevant information such as exposure mark, discarded mark.In exploit person After member's interface newly developed, can active mating mouth definition document be updated.It can also be by updated interface code certainly Dynamicization more new interface definition document.
In one embodiment, interface automatic checkout system can be built by binding test frame and continuous integrating tool, By the regular timing operation of automatic checkout system, the interface to be measured that discovery increases newly in time.Test frame includes but is not limited to Testng test frame (new frame of a test java application), continuous integrating tool includes but is not limited to jenkins Continuous integrating tool (a kind of continuous integrating tool based on Java exploitation).
In one embodiment, interface code corresponding with interface to be measured, interface generation can also be pulled from code storage It include Java annotation information in code;Director server can carry out reflection dissection process to interface code, obtain JSON (JavaScript Object Notation is a kind of data interchange format of lightweight) annotation information;Parsing volume is carried out to JSON annotation information The interface message for generating interface to be measured is collected, interface message automation is added in interface definition document.Director server can dock Mouth code, which carries out reflection dissection process, can be Compile interface code, obtain multiple classes to be processed texts comprising class annotation information, Target class file is filtered out from multiple class files to be processed, extracts multiple ginsengs in the class annotation information that target class file includes Number object, parses each parameter object and obtains corresponding attribute information, and the multiple attribute informations obtained to parsing carry out at conversion Reason, obtains JSON annotation information.Java annotation information is added in advance when writing interface code by developer, so as to Automation generates interface definition document.
Step 204, test case is generated according to parameter information;Test case includes input data and expected results.
Test case refers to for testing whether interface to be measured can normally realize one group of input data of required function and pre- Phase result.Test case can be used for carrying out interface logic test to interface to be measured, for example tests interface to be measured and normally inputting In the case where whether can obtain correct result.Test case can carry out error test to interface to be measured, for example test to be measured Can interface normally report an error in input extremely or abnormal scene input.Path testing can also be carried out to interface to be measured, such as Can interface to be measured be tested be normally carried out state conversion in state conversion process.
Input data refers to the data being made of multiple input parameters used when calling interface to be measured.Expected results refer to According to the response condition that can be inferred to defined in interface definition document, based on input data.For example, work as test case When to test the interface to be measured for inquiring data, it is corresponding that input data can be the input such as Start Date and Close Date parameter Specific value.When Start Date and Close Date corresponding specific value exceed preset value range, then expected results It can be query failure message;When Start Date and Close Date corresponding specific value meet preset value range, then may be used Receive the query results and total number of return.
In one embodiment, multiple test cases can be generated based on parameter information, to realize the test to interface to be measured It is comprehensive.For example interface to be measured is the interface of a creation client, the function that this interface is realized is creation client.It is covered to improve Lid rate can define the scene for generating creation individual client and institutional client, and the scene of individual client includes the base of client again The test of this information when the type of credential for example inputted is identity card, is passed to the certificate number etc. of passport.It is generated and is surveyed by automation Example on probation reduces the workload of manual testing, can also generate a large amount of test data without artificial a large amount of repeated labors Scene improves test coverage.
Step 206, interface to be measured is called by input data, response data is obtained with implementation of test cases.
It in one embodiment, can be by holding after by binding test frame and continuous integrating automated test tool Sequel tests interface to be measured in different test environment at automated test tool, can also be sequentially arranged a series of surveys Example on probation, executes in batches test case.After automatically generating test case by test frame, director server can be by persistently collecting Input data is sent to the corresponding interface server of interface to be measured at automated test tool, so that interface server is based on defeated Enter data and carries out logical operation process.Director server can receive the sound obtained by logical operation process that interface server returns Answer data.
Step 208, when response data meets expected results, it is determined that interface testing to be measured passes through.
In one embodiment, after generating test case according to parameter information, further includes: generated according to expected results Data check rule;When obtaining response data, then response data is verified by data check rule;When verification passes through When, determine that response data meets expected results.Data check rule refers to for verifying whether response data meets default result Rule, can pass through regulation engine realize the data check based on data check rule.Default result may include data type, than Such as response data can be specific numerical value, text, picture, file type data, then data check rule can be used for school Whether the data type for testing response data meets data type defined in default result.Default result may also include numerical value model It encloses, then data check rule can be used for verifying whether the numerical value in response data is in the numberical range.
In one embodiment, test case can be multiple, can obtain multiple tests knots by executing multiple test cases Fruit.The case where response data is met expected results is as work the case where being successfully tested, response data is not met expected results For test crash, the success rate of the test result statistical test of multiple test cases can be passed through.It can be in the success rate when test When greater than preset threshold, determine that interface testing to be measured passes through.
In above-mentioned interface test method, when director server automatic monitoring has determined newly-increased interface to be measured, this can be obtained The corresponding interface definition document that parameter information is corresponded to comprising interface to be measured of interface to be measured.Director server can be raw according to parameter information At test case, test case includes input data and expected results.Director server can call interface to be measured by input data, It is based on input data implementation of test cases by interface to be measured, obtains corresponding response data.When director server detects response When data fit expected results, it is determined that interface testing to be measured passes through.By monitoring newly-increased interface to be measured automatically, it is based on interface Definition document automation generates test case, can carry out in time automation interface test in newly-increased interface.
In one embodiment, before obtaining corresponding with interface to be measured interface definition document, further includes: when monitoring When having the interface code file newly uploaded in code storage, then interface code file is obtained from code storage;Execute interface code File obtains interface recalls information;History interface message is obtained, and interface recalls information and history interface message are compared It is right;When existing, when comparing difference results, then judgement monitors newly-increased interface to be measured, and determining newly-increased according to difference results are compared Interface to be measured.
The interface code file in code storage can be monitored in real time or every preset duration.It is uploaded by file Time may determine that whether the interface code file is the file newly uploaded.Code storage refers to for storing software project correlation The warehouse of code.Interface code file can be jar file (Java Archive, Java archive file), interface code file In comprising software project the interface of calling in need definition.It, can will after update after developer's interface newly developed Interface code file be updated in code storage.In executing interface code file, director server can carry out multiple interfaces It calls, the interface recalls information in implementation procedure can be obtained, include interface identifier in interface recalls information.By the way that interface is called Interface identifier in information is compared with the interface identifier in history interface message, can determine newly according to difference results are compared The interface to be measured increased.Such as when in history interface message include A, B and C interface, and in interface recalls information include A, B, C And D interface, then it is by comparison history interface message and the available comparison difference results D interface of interface recalls information, D interface For newly-increased interface to be measured.
In one embodiment, interface code file is executed, obtains interface recalls information, comprising: by interface code file It imports in the code path file of predetermined software project;Predetermined software project is run, to be based on code by predetermined software project Path file executes interface code file;Monitor the interface recalls information in predetermined software project operation.
It include but is not limited to class file (Java class text in jar file when interface code file is jar file Part), the definition information of the corresponding class of each class file or interface.By the way that interface code file is imported predetermined software project In code path file (classpath file), enable runs software project when according to code path file search to new The interface code file of upload, and can identify the class file in simultaneously calling interface code file, so as to obtain operation JAR The interface for needing to call in file processes.
In one embodiment, test case is generated according to parameter information, comprising: obtain based on JAVA reflection mechanism to be measured The corresponding class parameter of interface, method parameter and input parameter;Test class and test are generated respectively according to class parameter and method parameter Method;Parameter to be tested is chosen from corresponding value library based on input parameter, generates input data;According to input data, lead to It crosses test class and analysis of test methods obtains expected results;Packaging and testing class, test method, input data and expected results, Generate test case.
JAVA reflection mechanism refers to a kind of mechanism of JAVA language bottom dynamic acquisition class object information, for any one A class object can know all properties and method of this class.It can be by calling corresponding interface to realize to interface code Reflection processing.Java annotation information can be added in interface code file in advance, Java annotation information can be carried out at reflection Reason parses the Java annotation information after reflection processing, obtains the corresponding class parameter of corresponding interface to be measured, method ginseng The information such as number and input parameter.Test class, test method and input are generated respectively based on class parameter, method parameter and input parameter After data, generation test case can be packaged to it by test frame.Test class can be generated by unit test tool Or test method, unit test tool include but is not limited to JUnit (the unit testing frame of a Java language).
In one embodiment, input parameter is multiple, is chosen from corresponding value library based on input parameter to be tested Parameter generates input data, comprising: searches value library corresponding with each input parameter;Join in value library comprising normal value Several and abnormal value parameter;Normal value parameter or abnormal value parameter are randomly selected from each value library, as with it is each Input the corresponding parameter to be tested of parameter;According to the corresponding parameter to be tested of multiple input parameters, input data is generated.
Normal value parameter refers to the parameter for meeting the corresponding Parameter Conditions of input parameter.Abnormal value parameter, which refers to, not to be inconsistent The parameter of the corresponding Parameter Conditions of input parameter is closed, such as, it can be the number of null value, over range numerical value, abnormal data type According to etc..Every time after randomly selecting parameter to be tested in each value library, the corresponding parameter to be tested of multiple input parameters can Parameter combination to be tested is constituted, corresponding input data can be generated based on parameter combination to be tested.It is randomly selected by multiple, Multiple parameter combinations to be tested can be obtained, so as to simulate the input data generated in a variety of situations, for example parameter value is complete Portion's normal input data, parameter value whole abnormal input datas, parameter value part normal input data, parameter value part Abnormal input data etc..
For example, it inputs there are five parameters, is abcde respectively.It can be optional for each input parameter default 10 Parameter to be tested then produces 100000 kinds of parameter combinations to be tested by randomly selecting the mode of being combined, so as to mould It is quasi- to generate corresponding 100000 kinds of input datas, it is big so as to be carried out by the optional parameter to be tested for presetting lesser amt Comprehensive and unduplicated interface testing is measured, the workload of building input data can be reduced, efficiently produce test case, and pass through Preset normal value parameter and abnormal value parameter, can analyze interface to be measured under normal circumstances with the survey under abnormal conditions Situation is tried, so as to improve the efficiency tested interface to be measured.
In one embodiment, test can be combined to interface to be measured.When there are multiple newly-increased interfaces to be measured, know Incidence relation between not each interface to be measured, incidence relation include data exchange relationship, interface dependence;It is closed according to association It is to determine combination of interfaces test scene, each hybrid test scene is for testing corresponding combination of interfaces to be measured;It is connect according to each The corresponding test data of the corresponding combination of interfaces to be measured of mouthful combined test scene, generates corresponding with each combination of interfaces test scene Test case;Each test case is executed, the test result of each combination of interfaces test scene is obtained;Statistical test as a result, Filter out problematic interface to be measured.Such as having tri- interfaces to be measured of A, B, C, the combination that AB, AC, BC can be respectively set is surveyed Examination hall scape, by the test case of the Test data generation combined test scene of A and B, and so on.With each combined test field The corresponding test case of scape tests each combined test scene.If AB and AC test result does not pass through, and BC test knot Fruit passes through, then illustrates that there are problems by interface A to be measured.
In one embodiment, when response data does not meet expected results, then interface testing to be measured does not pass through.Based on to The relevant information for surveying interface generates test not by report, and test is not sent to default mailbox by report, so that related Developer can in time repair problematic interface to be measured, avoid increasing interface bring risk to be measured newly.
In one embodiment, as shown in figure 3, providing another interface test method, it is applied in Fig. 1 in this way Director server 102 for be illustrated, comprising the following steps:
Step 302, it when monitoring has the interface code file newly uploaded in code storage, is then connect from code storage acquisition Mouth code file.
Step 304, interface code file is imported in the code path file of predetermined software project.
Step 306, predetermined software project is run, executes interface generation to be based on code path file by predetermined software project Code file.
Step 308, the interface recalls information in predetermined software project operation is monitored.
Step 310, history interface message is obtained, and interface recalls information is compared with history interface message;
Step 312, when existing, when comparing difference results, then judgement monitors newly-increased interface to be measured, and according to the ratio Difference results are determined with newly-increased interface to be measured.
Step 314, when monitoring newly-increased interface to be measured, interface definition document corresponding with interface to be measured is obtained;It connects Include the newly-increased corresponding parameter information of interface to be measured in mouth definition document.
Step 316, test case is generated according to parameter information;Test case includes input data and expected results.
Step 318, interface to be measured is called by input data, response data is obtained with implementation of test cases.
Step 320, when response data meets expected results, it is determined that interface testing to be measured passes through.
It, can after the automatically-monitored interface code file for having arrived new upload of director server in above-mentioned interface test method Runnable interface code file determines newly-increased interface to be measured.It is corresponding comprising interface to be measured that director server can obtain the interface to be measured The interface definition document of corresponding parameter information.Director server can generate test case according to parameter information, and test case includes defeated Enter data and expected results.Director server can call interface to be measured by input data, be based on input data by interface to be measured Implementation of test cases obtains corresponding response data.When director server detects that response data meets expected results, it is determined that Interface testing to be measured passes through.By monitoring newly-increased interface to be measured automatically, test is generated based on the automation of interface definition document and is used Example can carry out in time automation interface test when there is newly-increased interface to be measured.
It should be understood that although each step in the flow chart of Fig. 2 and 3 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2 and 3 at least A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but in turn or can replace at least part of the sub-step or stage of other steps or other steps Ground executes.
In one embodiment, as shown in figure 4, providing a kind of interface test device 400, comprising: module 402 is obtained, For obtaining interface definition document corresponding with interface to be measured when monitoring newly-increased interface to be measured;In interface definition document Include the newly-increased corresponding parameter information of interface to be measured;Generation module 404, for generating test case according to parameter information;It surveys Example on probation includes input data and expected results;Test module 406, for calling interface to be measured by input data, to execute Test case obtains response data;When response data meets expected results, it is determined that interface testing to be measured passes through.
In one embodiment, the device also monitoring modular has the interface newly uploaded for working as to monitor in code storage When code file, then interface code file is obtained from code storage;Interface code file is executed, interface recalls information is obtained;It obtains History interface message is taken, and interface recalls information is compared with history interface message;When there are comparison difference results, then Judgement monitors newly-increased interface to be measured, and determines newly-increased interface to be measured according to the comparison difference results.
In one embodiment, monitoring modular is also used to import interface code file the code path of predetermined software project In file;Predetermined software project is run, executes interface code file to be based on code path file by predetermined software project;Prison Survey the interface recalls information in predetermined software project operation.
In one embodiment, generation module 404 is also used to obtain the corresponding class of interface to be measured based on JAVA reflection mechanism Parameter, method parameter and input parameter;Test class and test method are generated respectively according to class parameter and method parameter;Based on input Parameter chooses parameter to be tested from corresponding value library, generates input data;According to input data, pass through test class and test Method is analyzed to obtain expected results;Packaging and testing class, test method, input data and expected results generate test case.
In one embodiment, input parameter is multiple, and generation module 404 is also used to search corresponding with each input parameter Value library;Include normal value parameter and abnormal value parameter in value library;It randomly selects from each value library and normally takes Value parameter or abnormal value parameter, as parameter to be tested corresponding with each input parameter;Distinguished according to multiple input parameters Corresponding parameter to be tested generates input data.
In one embodiment, test module 406 are also used to generate data check rule according to expected results;When obtaining When response data, then response data is verified by data check rule;When passed the verification, determine that response data meets Expected results.
Specific about interface test device limits the restriction that may refer to above for interface test method, herein not It repeats again.Modules in above-mentioned interface test device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for data such as memory interface definition documents.The network interface of the computer equipment is used for and external end End passes through network connection communication.To realize a kind of interface test method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, another computer equipment, including memory and processor, memory storage are provided There is computer program, which realizes the step of the interface test method in above-mentioned each embodiment when executing computer program Suddenly.
In one embodiment, another computer readable storage medium is provided, computer program is stored thereon with, is counted Calculation machine program realizes the step of interface test method in above-mentioned each embodiment when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of interface test method, which comprises
When monitoring newly-increased interface to be measured, interface definition document corresponding with the interface to be measured is obtained;The interface is fixed It include the newly-increased corresponding parameter information of interface to be measured in adopted document;
Test case is generated according to the parameter information;The test case includes input data and expected results;
The interface to be measured is called by the input data, obtains response data to execute the test case;
When the response data meets the expected results, it is determined that the interface testing to be measured passes through.
2. the method according to claim 1, wherein determining in acquisition interface corresponding with the interface to be measured Before adopted document, further includes:
When monitoring has the interface code file newly uploaded in code storage, then the interface generation is obtained from the code storage Code file;
The interface code file is executed, interface recalls information is obtained;
History interface message is obtained, and the interface recalls information is compared with the history interface message;
When existing, when comparing difference results, then judgement monitors newly-increased interface to be measured, and true according to the comparison difference results Surely newly-increased interface to be measured.
3. according to the method described in claim 2, it is characterized in that, the execution interface code file, obtains interface tune With information, comprising:
The interface code file is imported in the code path file of predetermined software project;
The predetermined software project is run, to be based on connecing described in code path file execution by the predetermined software project Mouth code file;
Monitor the interface recalls information in the predetermined software project operation.
4. the method according to claim 1, wherein described generate test case, packet according to the parameter information It includes:
The corresponding class parameter of the interface to be measured, method parameter and input parameter are obtained based on JAVA reflection mechanism;
Test class and test method are generated respectively according to the class parameter and the method parameter;
Parameter to be tested is chosen from corresponding value library based on the input parameter, generates input data;
According to the input data, expected results are obtained by the test class and the analysis of test methods;
The test class, the test method, the input data and the expected results are encapsulated, test case is generated.
5. according to the method described in claim 4, it is characterized in that, the input parameter be it is multiple, it is described be based on the input Parameter chooses parameter to be tested from corresponding value library, generates input data, comprising:
Search value library corresponding with each input parameter;Include normal value parameter and abnormal value ginseng in the value library Number;
Normal value parameter or abnormal value parameter are randomly selected from each value library, as with each input parameter pair The parameter to be tested answered;
According to the corresponding parameter to be tested of multiple input parameters, input data is generated.
6. the method according to claim 1, wherein it is described according to the parameter information generate test case it Afterwards, further includes:
Data check rule is generated according to the expected results;
When obtaining response data, then the response data is verified by the data check rule;
When passed the verification, determine that the response data meets the expected results.
7. a kind of interface test device, which is characterized in that described device includes:
Module is obtained, for when monitoring newly-increased interface to be measured, it is literary to obtain interface definition corresponding with the interface to be measured Shelves;It include the newly-increased corresponding parameter information of interface to be measured in the interface definition document;
Generation module, for generating test case according to the parameter information;The test case includes input data and expection As a result;
Test module is responded for calling the interface to be measured by the input data with executing the test case Data;When the response data meets the expected results, it is determined that the interface testing to be measured passes through.
8. device according to claim 7, which is characterized in that described device further includes monitoring modular, is monitored for working as When having the interface code file newly uploaded in code storage, then the interface code file is obtained from the code storage;
The interface code file is executed, interface recalls information is obtained;
History interface message is obtained, and the interface recalls information is compared with the history interface message;
When existing, when comparing difference results, then judgement monitors newly-increased interface to be measured, and true according to the comparison difference results Surely newly-increased interface to be measured.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
CN201910188410.6A 2019-03-13 2019-03-13 Interface test method, device, computer equipment and storage medium Pending CN109947646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910188410.6A CN109947646A (en) 2019-03-13 2019-03-13 Interface test method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910188410.6A CN109947646A (en) 2019-03-13 2019-03-13 Interface test method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109947646A true CN109947646A (en) 2019-06-28

Family

ID=67009753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910188410.6A Pending CN109947646A (en) 2019-03-13 2019-03-13 Interface test method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109947646A (en)

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471842A (en) * 2019-07-12 2019-11-19 平安普惠企业管理有限公司 A kind of test method, device and computer readable storage medium
CN110489326A (en) * 2019-07-09 2019-11-22 北京字节跳动网络技术有限公司 HTTPAPI adjustment method device, medium and equipment based on IDS
CN110502428A (en) * 2019-07-08 2019-11-26 平安科技(深圳)有限公司 Code test method, device, computer equipment and storage medium
CN110609791A (en) * 2019-09-03 2019-12-24 深圳证券交易所 Interface test method, interface test device and storage medium for bidding system
CN110633217A (en) * 2019-09-19 2019-12-31 中国银行股份有限公司 Interface checking method and device
CN110727703A (en) * 2019-09-23 2020-01-24 苏宁云计算有限公司 Method and device for automatically identifying comments in JSON (Java Server object notation) code
CN110749788A (en) * 2019-10-10 2020-02-04 深圳创维-Rgb电子有限公司 Monitoring method and device for electromagnetic sensitivity test and computer readable storage medium
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN110825619A (en) * 2019-10-12 2020-02-21 深圳壹账通智能科技有限公司 Automatic generation method and device of interface test case and storage medium
CN110865943A (en) * 2019-11-26 2020-03-06 太平金融科技服务(上海)有限公司 Interface testing method and device, computer equipment and storage medium
CN110888816A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Program testing method, program testing device, and storage medium
CN110908908A (en) * 2019-11-21 2020-03-24 深圳无域科技技术有限公司 Method and device for testing micro-service Dubbo interface
CN111045921A (en) * 2019-10-12 2020-04-21 平安普惠企业管理有限公司 Automatic interface testing method and device, computer equipment and storage medium
CN111124864A (en) * 2019-12-24 2020-05-08 深圳我家云网络科技有限公司 Automatic interface testing method and related equipment
CN111159025A (en) * 2019-12-23 2020-05-15 武汉联影医疗科技有限公司 Application program interface testing method and device, computer equipment and storage medium
CN111198821A (en) * 2020-01-06 2020-05-26 瑞庭网络技术(上海)有限公司 Interface abnormity judgment method and device and readable storage medium
CN111221743A (en) * 2020-03-18 2020-06-02 时时同云科技(成都)有限责任公司 Automatic testing method and system
CN111309635A (en) * 2020-03-26 2020-06-19 北京奇艺世纪科技有限公司 Test case generation method, device, server and storage medium
CN111352782A (en) * 2020-02-28 2020-06-30 北京字节跳动网络技术有限公司 Interface testing method and device, computer equipment and storage medium
CN111382075A (en) * 2020-03-10 2020-07-07 北京同邦卓益科技有限公司 Data processing method and device for automatic test
CN111427783A (en) * 2020-03-24 2020-07-17 上海科世达-华阳汽车电器有限公司 RTE interface testing method, device, equipment and storage medium
CN111459794A (en) * 2020-02-25 2020-07-28 西安广和通无线软件有限公司 Communication network testing method, device, computer equipment and storage medium
CN111475358A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Automatic testing method and device for controller interface
CN111538651A (en) * 2020-03-30 2020-08-14 中国平安人寿保险股份有限公司 Interface testing method, device, server and storage medium
CN111563038A (en) * 2020-04-30 2020-08-21 深圳壹账通智能科技有限公司 SDK test method, device, computer equipment and computer readable storage medium
CN111666222A (en) * 2020-07-09 2020-09-15 腾讯科技(深圳)有限公司 Test method and related device
CN111767210A (en) * 2020-06-12 2020-10-13 浙江大搜车软件技术有限公司 Policy testing method and device, computer equipment and storage medium
CN111858368A (en) * 2020-07-27 2020-10-30 成都新潮传媒集团有限公司 Data processing method, device and storage medium
CN111858329A (en) * 2020-07-15 2020-10-30 苏州浪潮智能科技有限公司 Target public information model interface testing method and device
CN111949537A (en) * 2020-08-14 2020-11-17 北京锐安科技有限公司 Interface test method, device, equipment and medium
CN112098816A (en) * 2020-09-09 2020-12-18 中国航空工业集团公司雷华电子技术研究所 Digital processing module testing method, device, computer equipment and storage medium
CN112131127A (en) * 2020-09-28 2020-12-25 北京同邦卓益科技有限公司 Interface testing method, device and system and electronic equipment
CN112287009A (en) * 2020-11-03 2021-01-29 平安普惠企业管理有限公司 Interface calling and interface data warehousing method, device, equipment and storage medium
CN112328419A (en) * 2020-11-27 2021-02-05 北京字节跳动网络技术有限公司 Test case generation method and device for remote procedure call interface, storage medium and electronic equipment
CN112395184A (en) * 2019-08-19 2021-02-23 中移(苏州)软件技术有限公司 Information acquisition method, equipment and computer storage medium
CN112416742A (en) * 2019-12-27 2021-02-26 上海哔哩哔哩科技有限公司 Automatic generation method of JMeter test script, interface test method and system
CN112559364A (en) * 2020-12-23 2021-03-26 上海品顺信息科技有限公司 Test case generation method and device, computer equipment and storage medium
CN112579146A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Interface change detection method and device
CN112612706A (en) * 2020-12-25 2021-04-06 深圳市彬讯科技有限公司 Automated testing method, computer device and storage medium
CN112650672A (en) * 2020-12-22 2021-04-13 南方电网数字电网研究院有限公司 Model testing system, method and device based on Junit
CN112835808A (en) * 2021-03-12 2021-05-25 中国平安财产保险股份有限公司 Interface testing method and device, computer equipment and storage medium
CN112948195A (en) * 2021-03-31 2021-06-11 建信金融科技有限责任公司 Interface testing method and device, electronic equipment and storage medium
CN113407444A (en) * 2021-06-03 2021-09-17 中科曙光国际信息产业有限公司 Interface test case generation method, device, equipment and storage medium
CN113434395A (en) * 2021-06-22 2021-09-24 中国平安人寿保险股份有限公司 Automatic generation method, device, equipment and medium of test case
CN113535538A (en) * 2020-04-21 2021-10-22 网联清算有限公司 Application full-link automatic testing method and device, electronic equipment and storage medium
CN113704079A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Interface testing method and device based on Protobuf
CN113760714A (en) * 2020-10-30 2021-12-07 北京沃东天骏信息技术有限公司 Software testing method and device
CN113760710A (en) * 2020-09-29 2021-12-07 北京沃东天骏信息技术有限公司 Task testing method and device, computer equipment and readable storage medium
US20220188205A1 (en) * 2020-12-15 2022-06-16 International Business Machines Corporation System testing infrastructure with hidden variable, hidden attribute, and hidden value detection
CN115061932A (en) * 2022-06-29 2022-09-16 中国联合网络通信集团有限公司 Regression testing method, device and equipment
CN115543850A (en) * 2022-11-04 2022-12-30 中化现代农业有限公司 Application program interface testing method and device, computer equipment and storage medium
CN118132448A (en) * 2024-05-06 2024-06-04 成都赛力斯科技有限公司 Test case processing method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845079A (en) * 2005-04-07 2006-10-11 华为技术有限公司 Test vector generation method
US20140289699A1 (en) * 2009-08-18 2014-09-25 Adobe Systems Incorporated Methods and Systems for Data Service Development
CN107273281A (en) * 2016-04-06 2017-10-20 阿里巴巴集团控股有限公司 Service interface test method, system based on code change
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment
CN107766190A (en) * 2017-10-31 2018-03-06 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN107844421A (en) * 2017-10-31 2018-03-27 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845079A (en) * 2005-04-07 2006-10-11 华为技术有限公司 Test vector generation method
US20140289699A1 (en) * 2009-08-18 2014-09-25 Adobe Systems Incorporated Methods and Systems for Data Service Development
CN107273281A (en) * 2016-04-06 2017-10-20 阿里巴巴集团控股有限公司 Service interface test method, system based on code change
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment
CN107766190A (en) * 2017-10-31 2018-03-06 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium
CN107844421A (en) * 2017-10-31 2018-03-27 平安科技(深圳)有限公司 Interface test method, device, computer equipment and storage medium

Cited By (68)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502428A (en) * 2019-07-08 2019-11-26 平安科技(深圳)有限公司 Code test method, device, computer equipment and storage medium
CN110489326A (en) * 2019-07-09 2019-11-22 北京字节跳动网络技术有限公司 HTTPAPI adjustment method device, medium and equipment based on IDS
CN110489326B (en) * 2019-07-09 2023-08-25 北京字节跳动网络技术有限公司 IDS-based HTTPAPI debugging method device, medium and equipment
CN110471842A (en) * 2019-07-12 2019-11-19 平安普惠企业管理有限公司 A kind of test method, device and computer readable storage medium
CN112395184A (en) * 2019-08-19 2021-02-23 中移(苏州)软件技术有限公司 Information acquisition method, equipment and computer storage medium
CN110609791A (en) * 2019-09-03 2019-12-24 深圳证券交易所 Interface test method, interface test device and storage medium for bidding system
CN110633217A (en) * 2019-09-19 2019-12-31 中国银行股份有限公司 Interface checking method and device
CN110727703B (en) * 2019-09-23 2022-10-11 苏宁云计算有限公司 Method and device for automatically identifying comments in JSON codes
CN110727703A (en) * 2019-09-23 2020-01-24 苏宁云计算有限公司 Method and device for automatically identifying comments in JSON (Java Server object notation) code
CN112579146A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Interface change detection method and device
CN110749788A (en) * 2019-10-10 2020-02-04 深圳创维-Rgb电子有限公司 Monitoring method and device for electromagnetic sensitivity test and computer readable storage medium
CN110825619A (en) * 2019-10-12 2020-02-21 深圳壹账通智能科技有限公司 Automatic generation method and device of interface test case and storage medium
CN111045921A (en) * 2019-10-12 2020-04-21 平安普惠企业管理有限公司 Automatic interface testing method and device, computer equipment and storage medium
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN110781090B (en) * 2019-10-31 2023-09-12 望海康信(北京)科技股份公司 Control method and device for data processing test, computer equipment and storage medium
CN110908908A (en) * 2019-11-21 2020-03-24 深圳无域科技技术有限公司 Method and device for testing micro-service Dubbo interface
CN110908908B (en) * 2019-11-21 2024-03-29 深圳无域科技技术有限公司 Method and device for testing micro-service Dubbo interface
CN110865943A (en) * 2019-11-26 2020-03-06 太平金融科技服务(上海)有限公司 Interface testing method and device, computer equipment and storage medium
CN110888816A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Program testing method, program testing device, and storage medium
CN110888816B (en) * 2019-12-11 2023-08-22 广州品唯软件有限公司 Program testing method, program testing device and storage medium
CN111159025A (en) * 2019-12-23 2020-05-15 武汉联影医疗科技有限公司 Application program interface testing method and device, computer equipment and storage medium
CN111124864A (en) * 2019-12-24 2020-05-08 深圳我家云网络科技有限公司 Automatic interface testing method and related equipment
CN112416742A (en) * 2019-12-27 2021-02-26 上海哔哩哔哩科技有限公司 Automatic generation method of JMeter test script, interface test method and system
CN111198821A (en) * 2020-01-06 2020-05-26 瑞庭网络技术(上海)有限公司 Interface abnormity judgment method and device and readable storage medium
CN111198821B (en) * 2020-01-06 2021-07-16 瑞庭网络技术(上海)有限公司 Interface abnormity judgment method and device and readable storage medium
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
CN111352782A (en) * 2020-02-28 2020-06-30 北京字节跳动网络技术有限公司 Interface testing method and device, computer equipment and storage medium
CN111382075B (en) * 2020-03-10 2023-09-26 北京同邦卓益科技有限公司 Automatic test data processing method and device
CN111382075A (en) * 2020-03-10 2020-07-07 北京同邦卓益科技有限公司 Data processing method and device for automatic test
CN111221743A (en) * 2020-03-18 2020-06-02 时时同云科技(成都)有限责任公司 Automatic testing method and system
CN111427783A (en) * 2020-03-24 2020-07-17 上海科世达-华阳汽车电器有限公司 RTE interface testing method, device, equipment and storage medium
CN111309635A (en) * 2020-03-26 2020-06-19 北京奇艺世纪科技有限公司 Test case generation method, device, server and storage medium
CN111309635B (en) * 2020-03-26 2023-12-15 北京奇艺世纪科技有限公司 Test case generation method, device, server and storage medium
CN111538651A (en) * 2020-03-30 2020-08-14 中国平安人寿保险股份有限公司 Interface testing method, device, server and storage medium
CN111475358A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Automatic testing method and device for controller interface
CN113535538B (en) * 2020-04-21 2023-06-16 网联清算有限公司 Method, device, electronic equipment and storage medium for automatically testing application full link
CN113535538A (en) * 2020-04-21 2021-10-22 网联清算有限公司 Application full-link automatic testing method and device, electronic equipment and storage medium
CN111563038A (en) * 2020-04-30 2020-08-21 深圳壹账通智能科技有限公司 SDK test method, device, computer equipment and computer readable storage medium
CN113704079A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Interface testing method and device based on Protobuf
CN111767210A (en) * 2020-06-12 2020-10-13 浙江大搜车软件技术有限公司 Policy testing method and device, computer equipment and storage medium
CN111666222A (en) * 2020-07-09 2020-09-15 腾讯科技(深圳)有限公司 Test method and related device
CN111666222B (en) * 2020-07-09 2024-08-06 腾讯科技(深圳)有限公司 Test method and related device
CN111858329A (en) * 2020-07-15 2020-10-30 苏州浪潮智能科技有限公司 Target public information model interface testing method and device
CN111858368A (en) * 2020-07-27 2020-10-30 成都新潮传媒集团有限公司 Data processing method, device and storage medium
CN111949537A (en) * 2020-08-14 2020-11-17 北京锐安科技有限公司 Interface test method, device, equipment and medium
CN112098816A (en) * 2020-09-09 2020-12-18 中国航空工业集团公司雷华电子技术研究所 Digital processing module testing method, device, computer equipment and storage medium
CN112131127A (en) * 2020-09-28 2020-12-25 北京同邦卓益科技有限公司 Interface testing method, device and system and electronic equipment
CN112131127B (en) * 2020-09-28 2024-04-16 北京同邦卓益科技有限公司 Interface testing method, device and system and electronic equipment
CN113760710A (en) * 2020-09-29 2021-12-07 北京沃东天骏信息技术有限公司 Task testing method and device, computer equipment and readable storage medium
CN113760714A (en) * 2020-10-30 2021-12-07 北京沃东天骏信息技术有限公司 Software testing method and device
CN112287009A (en) * 2020-11-03 2021-01-29 平安普惠企业管理有限公司 Interface calling and interface data warehousing method, device, equipment and storage medium
CN112328419A (en) * 2020-11-27 2021-02-05 北京字节跳动网络技术有限公司 Test case generation method and device for remote procedure call interface, storage medium and electronic equipment
US11836060B2 (en) * 2020-12-15 2023-12-05 International Business Machines Corporation System testing infrastructure with hidden variable, hidden attribute, and hidden value detection
US20220188205A1 (en) * 2020-12-15 2022-06-16 International Business Machines Corporation System testing infrastructure with hidden variable, hidden attribute, and hidden value detection
CN112650672A (en) * 2020-12-22 2021-04-13 南方电网数字电网研究院有限公司 Model testing system, method and device based on Junit
CN112559364B (en) * 2020-12-23 2024-09-06 上海品顺信息科技有限公司 Test case generation method and device, computer equipment and storage medium
CN112559364A (en) * 2020-12-23 2021-03-26 上海品顺信息科技有限公司 Test case generation method and device, computer equipment and storage medium
CN112612706A (en) * 2020-12-25 2021-04-06 深圳市彬讯科技有限公司 Automated testing method, computer device and storage medium
CN112835808A (en) * 2021-03-12 2021-05-25 中国平安财产保险股份有限公司 Interface testing method and device, computer equipment and storage medium
CN112948195A (en) * 2021-03-31 2021-06-11 建信金融科技有限责任公司 Interface testing method and device, electronic equipment and storage medium
CN113407444A (en) * 2021-06-03 2021-09-17 中科曙光国际信息产业有限公司 Interface test case generation method, device, equipment and storage medium
CN113434395A (en) * 2021-06-22 2021-09-24 中国平安人寿保险股份有限公司 Automatic generation method, device, equipment and medium of test case
CN113434395B (en) * 2021-06-22 2024-04-30 中国平安人寿保险股份有限公司 Automatic generation method, device, equipment and medium for test cases
CN115061932A (en) * 2022-06-29 2022-09-16 中国联合网络通信集团有限公司 Regression testing method, device and equipment
CN115543850A (en) * 2022-11-04 2022-12-30 中化现代农业有限公司 Application program interface testing method and device, computer equipment and storage medium
CN118132448A (en) * 2024-05-06 2024-06-04 成都赛力斯科技有限公司 Test case processing method, device, computer equipment and storage medium
CN118132448B (en) * 2024-05-06 2024-09-20 成都赛力斯科技有限公司 Test case processing method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109947646A (en) Interface test method, device, computer equipment and storage medium
CN107908541B (en) Interface testing method and device, computer equipment and storage medium
CN102122265B (en) System and method for verifying computer software test results
CN108628748B (en) Automatic test management method and automatic test management system
CN106227654B (en) A kind of test platform
CN110134795A (en) Generate method, apparatus, computer equipment and the storage medium of validation problem group
CN110297760A (en) Building method, device, equipment and the computer readable storage medium of test data
CN109325010A (en) Log inspection method, device, computer equipment and storage medium
CN113238930B (en) Method and device for testing software system, terminal equipment and storage medium
CN111459796B (en) Automated testing method, apparatus, computer device and storage medium
US20230359934A1 (en) Intelligent Service Test Engine
CN113886262A (en) Software automation test method and device, computer equipment and storage medium
CN112650688A (en) Automated regression testing method, associated device and computer program product
CN112463588A (en) Automatic test system and method, storage medium and computing equipment
CN110221933A (en) Aacode defect assists restorative procedure and system
CN109657475A (en) Code vulnerabilities check method, apparatus, equipment and storage medium
WO2017164856A1 (en) Comparable user interface object identifications
CN113010413A (en) Automatic interface testing method and device
CN114138670B (en) Method based on integration of interface automation test and function, performance and safety test
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
Reider et al. Feature-based testing by using model synthesis, test generation and parameterizable test prioritization
CN114490413A (en) Test data preparation method and device, storage medium and electronic equipment
CN115599621A (en) Micro-service abnormity diagnosis method, device, equipment and storage medium
Kang et al. Towards a formal framework for product line test development
Lipka et al. A method for semi-automated generation of test scenarios based on use cases

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190628

WD01 Invention patent application deemed withdrawn after publication