CN112486811A - Interface test method, device, equipment and medium - Google Patents

Interface test method, device, equipment and medium Download PDF

Info

Publication number
CN112486811A
CN112486811A CN202011347282.4A CN202011347282A CN112486811A CN 112486811 A CN112486811 A CN 112486811A CN 202011347282 A CN202011347282 A CN 202011347282A CN 112486811 A CN112486811 A CN 112486811A
Authority
CN
China
Prior art keywords
interface
test
script
parameter file
parameter
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
CN202011347282.4A
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.)
DBAPPSecurity Co Ltd
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity Technology 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 Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN202011347282.4A priority Critical patent/CN112486811A/en
Publication of CN112486811A publication Critical patent/CN112486811A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The application discloses an interface testing method, device, equipment and medium, wherein the method comprises the following steps: modifying an interface automation test frame so that the interface automation test frame reads a parameter file under a preset path when the interface test is carried out; executing an interface script to be executed based on the parameter file to obtain a return value of the interface script; and writing the return value to the parameter file. In addition, the parameter file comprises parameters of each interface script to be executed, so that interface batch test is performed, and test efficiency is improved.

Description

Interface test method, device, equipment and medium
Technical Field
The present application relates to the field of test technologies, and in particular, to a method, an apparatus, a device, and a medium for testing an interface.
Background
The automatic testing is a hot topic at present, and is a development trend of software testing in the future. And the automatic test can improve the competitiveness in the software test field. Currently, the main automated tests are the traditional testng-framed interface automated tests, or the postman and meter tools are used for interface execution tests. However, the automated test management of the interface using testng as a framework is complex, and once parameters and the like need to be adjusted, codes need to be modified, so that the test work is complex and the code reuse rate is low. And the tools such as postman and the like can not manage interface parameters in batch, so that the testing efficiency is low.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device, and a medium for testing an interface, which can reduce complexity of testing work, improve code reuse rate, perform a batch test of the interface, and improve testing efficiency. The specific scheme is as follows:
in a first aspect, the present application discloses an interface testing method, including:
modifying an interface automation test frame so that the interface automation test frame reads a parameter file under a preset path when the interface test is carried out;
executing an interface script to be executed based on the parameter file to obtain a return value of the interface script;
and writing the return value to the parameter file.
Optionally, the modifying interface automation test framework includes:
acquiring the preset path;
and writing the preset path into the interface automation test framework.
Optionally, before the executing the interface script to be executed based on the parameter file and obtaining the return value of the interface script, the method further includes:
acquiring the parameter file, wherein the parameter file comprises data corresponding to each interface script to be executed, the data corresponding to each interface script to be executed comprises an interface identifier, an interface URL, a request method, a parameter identifier under the same interface, a test parameter and expected test data, and the parameter identifier under the same interface represents different test parameters corresponding to the same interface;
and storing the parameter file below the preset path.
Optionally, after writing the return value to the parameter file, the method further includes:
comparing the return value with the corresponding expected test data;
and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
Optionally, the executing the interface script to be executed based on the parameter file to obtain a return value of the interface script includes:
reading corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed;
and executing the interface script based on the read test parameters to obtain a return value of the interface script.
Optionally, the reading out the corresponding test parameter from the parameter file according to the interface identifier of the interface script to be executed includes:
and determining corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed, and reading each determined test parameter one by one according to the parameter identification under the same interface corresponding to each determined test parameter.
Optionally, the parameter file is an excel file, a csv file, or an xml file.
In a second aspect, the present application discloses an interface testing apparatus, comprising:
the frame modification module is used for modifying the interface automation test frame so as to read the parameter file under the preset path when the interface automation test frame carries out interface test;
the script execution module is used for executing the interface script to be executed based on the parameter file to obtain a return value of the interface script;
and the data writing module is used for writing the return value into the parameter file.
In a third aspect, the present application discloses an electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the interface testing method disclosed above.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the interface testing method disclosed above.
Therefore, according to the method and the device, an interface automatic test framework needs to be modified firstly, so that the interface automatic test framework reads the parameter file under the preset path when the interface test is carried out, then the interface script to be executed can be executed based on the parameter file, the return value of the interface script is obtained, and then the return value is written into the parameter file. Therefore, it can be seen that, this application is modified interface automation test frame earlier, makes interface automation test frame can read the parameter file under the route of predetermineeing when carrying out the interface test, then based on the interface script that the execution was waited to carry out to the parameter file execution alright can obtain the return value of interface script, will again the return value is write to in the parameter file, when modifying the parameter like this, only need modify parameter in the parameter file need not directly modify the interface code when adjusting the parameter, has improved the code rate of reusability, and has reduced the test work complexity, in addition, include the parameter of each interface script of waiting to carry out in the parameter file to carry out interface batch test, improved efficiency of software testing.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an interface testing method disclosed herein;
FIG. 2 is a screenshot of a parameter file disclosed in the present application;
FIG. 3 is a flow chart of a specific interface testing method disclosed herein;
FIG. 4 is a flow chart of a particular interface testing method disclosed herein;
FIG. 5 is a schematic structural diagram of an interface testing apparatus disclosed in the present application;
fig. 6 is a schematic structural diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Currently, the main automated tests are the traditional testng-framed interface automated tests, or the postman and meter tools are used for interface execution tests. However, the automated test management of the interface using testng as a framework is complex, and once parameters and the like need to be adjusted, codes need to be modified, so that the test work is complex and the code reuse rate is low. And the tools such as postman and the like can not manage interface parameters in batch, so that the testing efficiency is low. In view of this, the present application provides an interface testing method, which can reduce the complexity of testing work, improve the code reuse rate, perform interface batch testing, and improve the testing efficiency.
Referring to fig. 1, an embodiment of the present application discloses an interface testing method, including:
step S11: and modifying the interface automation test frame so that the interface automation test frame can read the parameter file under the preset path when the interface test is carried out.
In a specific implementation process, the interface automation test framework needs to be modified first, so that the interface automation test framework reads a parameter file under a preset path when performing interface test. When an existing interface automatic test framework is used for testing an interface, configuration files corresponding to interface scripts to be executed need to be read, and each interface script to be executed has a configuration file of its own, so that when the interface automatic test framework is tested, the corresponding configuration files need to be read respectively. Thus, when a certain interface script to be executed runs in batch and reads parameters in the parameter file, each interface corresponds to the same interface identifier, and the parameters under the interface identifier are executed line by line.
Specifically, the modifying of the interface automation test framework may first obtain the preset path, and then write the preset path into the interface automation test framework. After the parameter file is set, the parameter file is stored under the preset path. The testng framework can be modified, so that the modified testng framework reads a parameter file under a preset path when an interface test is carried out.
Step S12: and executing the interface script to be executed based on the parameter file to obtain a return value of the interface script.
It can be understood that, after the interface automation test framework is modified, the interface script to be executed needs to be executed based on the parameter file, so as to obtain the return values corresponding to the parameter values of the interface script under the corresponding interface identifiers in the parameter file.
Accordingly, it is necessary to write an interface script to be executed first, where the written interface script needs to satisfy the following functions, including: the parameter information required to be used during testing directly reads data in a parameter file under a preset path, and parameters in a configuration file are not used any more; when all interface scripts to be executed under a specified directory are executed in batches, parameters in the parameter file are used in the execution process; and after the batch execution is finished, the return value is written in a parameter row corresponding to the parameter file in a unified way.
In a specific implementation process, before executing an interface script to be executed based on the parameter file and obtaining a return value of the interface script, the method further includes: acquiring the parameter file, wherein the parameter file includes data corresponding to each interface script to be executed, the data corresponding to each interface script to be executed includes an interface identifier, an interface URL (Uniform Resource Locator), a request method, a parameter identifier under the same interface, a test parameter, and expected test data, and the parameter identifier under the same interface represents different test parameters corresponding to the same interface; and storing the parameter file below the preset path. Wherein, the parameter file is an excel file, a csv file or an xml file.
Referring to fig. 2, a screenshot of a parameter file is shown. There are 4 parameters with interface ID (interface identification) 1, and the corresponding parameter IDs under the same interface are 1 to 4 respectively. There are 1 parameter with interface ID of 2. And writing return values corresponding to all the parameters in a return value column, comparing the return values with expected data, and then judging whether the return values are consistent with the expected data, if not, writing incorrect in the correct column, and if so, writing correct in the correct column.
Executing the interface script to be executed based on the parameter file to obtain a return value of the interface script, wherein the step of executing the interface script to be executed based on the parameter file comprises the following steps: reading corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed; and executing the interface script based on the read test parameters to obtain a return value of the interface script.
Reading out corresponding test parameters from the parameter file according to the interface identifier of the interface script to be executed, wherein the method comprises the following steps: and determining corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed, and reading each determined test parameter one by one according to the parameter identification under the same interface corresponding to each determined test parameter.
Step S13: and writing the return value to the parameter file.
It is understood that after the interface script to be executed is executed, the obtained return value needs to be written into the parameter file.
Therefore, according to the method and the device, an interface automatic test framework needs to be modified firstly, so that the interface automatic test framework reads the parameter file under the preset path when the interface test is carried out, then the interface script to be executed can be executed based on the parameter file, the return value of the interface script is obtained, and then the return value is written into the parameter file. Therefore, it can be seen that, this application is modified interface automation test frame earlier, makes interface automation test frame can read the parameter file under the route of predetermineeing when carrying out the interface test, then based on the interface script that the execution was waited to carry out to the parameter file execution alright can obtain the return value of interface script, will again the return value is write to in the parameter file, when modifying the parameter like this, only need modify parameter in the parameter file need not directly modify the interface code when adjusting the parameter, has improved the code rate of reusability, and has reduced the test work complexity, in addition, include the parameter of each interface script of waiting to carry out in the parameter file to carry out interface batch test, improved efficiency of software testing.
Referring to fig. 3, an embodiment of the present application discloses a specific interface testing method, which includes:
step S21: and modifying the interface automation test frame so that the interface automation test frame can read the parameter file under the preset path when the interface test is carried out.
Step S22: and executing the interface script to be executed based on the parameter file to obtain a return value of the interface script.
Step S23: and writing the return value to the parameter file.
The specific implementation process of step 21 to step S22 can refer to the content disclosed in the foregoing embodiments, and will not be described in detail herein.
Step S24: and comparing the return value with the corresponding expected test data.
Step S25: and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
After the return value is written into the parameter file, the return value is required to be compared with the corresponding expected test data; and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
That is, after the return value is written into the parameter file, the return value and the expected test data need to be compared, if the return value is inconsistent with the corresponding expected test data, it indicates that the corresponding test is incorrect, and the corresponding reason needs to be analyzed, so that the inconsistent return value and the corresponding expected test data need to be subjected to failure reason analysis, so as to perform improved processing on the corresponding interface script.
Referring to fig. 4, a flow chart of an interface testing method is shown. Firstly, the interface automation test framework is modified, and the interface automation is compiled, namely the interface script to be executed is compiled. And preparing test data in the excel, reading the data in the excel, executing corresponding interface scripts in batches, writing back a return value to the excel, exporting the data in the excel, and comparing and analyzing the return value and expected test data.
Referring to fig. 5, an embodiment of the present application discloses an interface testing apparatus, including:
the frame modification module 11 is configured to modify an interface automation test frame, so that the interface automation test frame reads a parameter file in a preset path when performing an interface test;
the script execution module 12 is configured to execute the interface script to be executed based on the parameter file to obtain a return value of the interface script;
and a data writing module 13, configured to write the return value to the parameter file.
Therefore, according to the method and the device, an interface automatic test framework needs to be modified firstly, so that the interface automatic test framework reads the parameter file under the preset path when the interface test is carried out, then the interface script to be executed can be executed based on the parameter file, the return value of the interface script is obtained, and then the return value is written into the parameter file. Therefore, it can be seen that, this application is modified interface automation test frame earlier, makes interface automation test frame can read the parameter file under the route of predetermineeing when carrying out the interface test, then based on the interface script that the execution was waited to carry out to the parameter file execution alright can obtain the return value of interface script, will again the return value is write to in the parameter file, when modifying the parameter like this, only need modify parameter in the parameter file need not directly modify the interface code when adjusting the parameter, has improved the code rate of reusability, and has reduced the test work complexity, in addition, include the parameter of each interface script of waiting to carry out in the parameter file to carry out interface batch test, improved efficiency of software testing.
In some specific embodiments, the framework modification module 11 is configured to obtain the preset path; and writing the preset path into the interface automation test framework.
In some specific embodiments, the interface testing apparatus further includes:
a parameter setting module for: acquiring the parameter file, wherein the parameter file comprises data corresponding to each interface script to be executed, the data corresponding to each interface script to be executed comprises an interface identifier, an interface URL, a request method, a parameter identifier under the same interface, a test parameter and expected test data, and the parameter identifier under the same interface represents different test parameters corresponding to the same interface; and storing the parameter file below the preset path.
In some specific embodiments, the interface testing apparatus further includes:
the data analysis module is used for comparing the return value with the corresponding expected test data; and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
In some specific embodiments, the script execution module 12 is configured to: reading corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed; and executing the interface script based on the read test parameters to obtain a return value of the interface script.
In some specific embodiments, the script execution module 12 is configured to: and determining corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed, and reading each determined test parameter one by one according to the parameter identification under the same interface corresponding to each determined test parameter.
In some specific embodiments, the parameter file is an excel file, a csv file, or an xml file.
Further, referring to fig. 6, an embodiment of the present application further discloses an electronic device, including: a processor 21 and a memory 22.
Wherein the memory 22 is used for storing a computer program; the processor 21 is configured to execute the computer program to implement the interface testing method disclosed in the foregoing embodiment.
For the specific process of the interface testing method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, an embodiment of the present application also discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the following steps:
modifying an interface automation test frame so that the interface automation test frame reads a parameter file under a preset path when the interface test is carried out; executing an interface script to be executed based on the parameter file to obtain a return value of the interface script; and writing the return value to the parameter file.
Therefore, according to the method and the device, an interface automatic test framework needs to be modified firstly, so that the interface automatic test framework reads the parameter file under the preset path when the interface test is carried out, then the interface script to be executed can be executed based on the parameter file, the return value of the interface script is obtained, and then the return value is written into the parameter file. Therefore, it can be seen that, this application is modified interface automation test frame earlier, makes interface automation test frame can read the parameter file under the route of predetermineeing when carrying out the interface test, then based on the interface script that the execution was waited to carry out to the parameter file execution alright can obtain the return value of interface script, will again the return value is write to in the parameter file, when modifying the parameter like this, only need modify parameter in the parameter file need not directly modify the interface code when adjusting the parameter, has improved the code rate of reusability, and has reduced the test work complexity, in addition, include the parameter of each interface script of waiting to carry out in the parameter file to carry out interface batch test, improved efficiency of software testing.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: acquiring the preset path; and writing the preset path into the interface automation test framework.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: acquiring the parameter file, wherein the parameter file comprises data corresponding to each interface script to be executed, the data corresponding to each interface script to be executed comprises an interface identifier, an interface URL, a request method, a parameter identifier under the same interface, a test parameter and expected test data, and the parameter identifier under the same interface represents different test parameters corresponding to the same interface; storing the parameter file under the preset path
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: comparing the return value with the corresponding expected test data; and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: reading corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed; and executing the interface script based on the read test parameters to obtain a return value of the interface script.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented: and determining corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed, and reading each determined test parameter one by one according to the parameter identification under the same interface corresponding to each determined test parameter.
In this embodiment, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the parameter file is an excel file, a csv file, or an xml file.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of other elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The interface testing method, device, equipment and medium provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation of the application, and the description of the above embodiments is only used to help understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An interface testing method, comprising:
modifying an interface automation test frame so that the interface automation test frame reads a parameter file under a preset path when the interface test is carried out;
executing an interface script to be executed based on the parameter file to obtain a return value of the interface script;
and writing the return value to the parameter file.
2. The interface testing method of claim 1, wherein said modifying the interface automation test framework comprises:
acquiring the preset path;
and writing the preset path into the interface automation test framework.
3. The interface testing method according to claim 1, wherein before executing the interface script to be executed based on the parameter file and obtaining the return value of the interface script, the method further comprises:
acquiring the parameter file, wherein the parameter file comprises data corresponding to each interface script to be executed, the data corresponding to each interface script to be executed comprises an interface identifier, an interface URL, a request method, a parameter identifier under the same interface, a test parameter and expected test data, and the parameter identifier under the same interface represents different test parameters corresponding to the same interface;
and storing the parameter file below the preset path.
4. The interface testing method of claim 3, wherein after writing the return value to the parameter file, further comprising:
comparing the return value with the corresponding expected test data;
and if the return value is inconsistent with the corresponding expected test data, performing failure reason analysis on the inconsistent return value and the corresponding expected test data.
5. The interface testing method according to claim 3, wherein the executing the interface script to be executed based on the parameter file to obtain the return value of the interface script comprises:
reading corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed;
and executing the interface script based on the read test parameters to obtain a return value of the interface script.
6. The interface testing method according to claim 5, wherein reading the corresponding testing parameters from the parameter file according to the interface identifier of the interface script to be executed comprises:
and determining corresponding test parameters from the parameter file according to the interface identification of the interface script to be executed, and reading each determined test parameter one by one according to the parameter identification under the same interface corresponding to each determined test parameter.
7. The interface testing method according to any one of claims 1 to 6, wherein the parameter file is an excel file, a csv file, or an xml file.
8. An interface testing apparatus, comprising:
the frame modification module is used for modifying the interface automation test frame so as to read the parameter file under the preset path when the interface automation test frame carries out interface test;
the script execution module is used for executing the interface script to be executed based on the parameter file to obtain a return value of the interface script;
and the data writing module is used for writing the return value into the parameter file.
9. An electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the interface testing method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the interface testing method of any one of claims 1 to 7.
CN202011347282.4A 2020-11-26 2020-11-26 Interface test method, device, equipment and medium Pending CN112486811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011347282.4A CN112486811A (en) 2020-11-26 2020-11-26 Interface test method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011347282.4A CN112486811A (en) 2020-11-26 2020-11-26 Interface test method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112486811A true CN112486811A (en) 2021-03-12

Family

ID=74935460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011347282.4A Pending CN112486811A (en) 2020-11-26 2020-11-26 Interface test method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112486811A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778896A (en) * 2021-09-26 2021-12-10 杭州安恒信息技术股份有限公司 Interface test method, device, equipment and medium
CN116756046A (en) * 2023-08-16 2023-09-15 湖南长银五八消费金融股份有限公司 Automatic interface testing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648945A (en) * 2016-09-30 2017-05-10 北京金山安全软件有限公司 Interface data testing method and device and electronic equipment
CN107729228A (en) * 2017-08-24 2018-02-23 北京网众共创科技有限公司 Interface test method, device, storage medium and processor
CN107908485A (en) * 2017-10-26 2018-04-13 中国平安人寿保险股份有限公司 Interface parameters transmission method, device, equipment and computer-readable recording medium
CN109597761A (en) * 2018-12-03 2019-04-09 四川长虹电器股份有限公司 A kind of automatic interface testing method based on Jmeter
CN110321281A (en) * 2019-05-24 2019-10-11 中国工程物理研究院计算机应用研究所 Web test platform and test method based on mixing automated test frame
CN110990269A (en) * 2019-11-26 2020-04-10 苏宁云计算有限公司 Interface testing method, device and system
CN111651365A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Automatic interface testing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648945A (en) * 2016-09-30 2017-05-10 北京金山安全软件有限公司 Interface data testing method and device and electronic equipment
CN107729228A (en) * 2017-08-24 2018-02-23 北京网众共创科技有限公司 Interface test method, device, storage medium and processor
CN107908485A (en) * 2017-10-26 2018-04-13 中国平安人寿保险股份有限公司 Interface parameters transmission method, device, equipment and computer-readable recording medium
CN109597761A (en) * 2018-12-03 2019-04-09 四川长虹电器股份有限公司 A kind of automatic interface testing method based on Jmeter
CN110321281A (en) * 2019-05-24 2019-10-11 中国工程物理研究院计算机应用研究所 Web test platform and test method based on mixing automated test frame
CN110990269A (en) * 2019-11-26 2020-04-10 苏宁云计算有限公司 Interface testing method, device and system
CN111651365A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Automatic interface testing method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HTTP_TESTER: "excel数据驱动接口测试框架", 《HTTPS://BLOG.CSDN.NET/HTTP_TESTER/ARTICLE/DETAILS/53905777》 *
YLG001: "python利用Excel读取和存储测试数据完成接口自动化教程", 《HTTP://WWW.DEINIU.COM/ARTICLE/185803.HTM》 *
林霞: "基于TestNG的批量单元测试实现", 《信息系统工程》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778896A (en) * 2021-09-26 2021-12-10 杭州安恒信息技术股份有限公司 Interface test method, device, equipment and medium
CN116756046A (en) * 2023-08-16 2023-09-15 湖南长银五八消费金融股份有限公司 Automatic interface testing method, device, equipment and storage medium
CN116756046B (en) * 2023-08-16 2023-11-03 湖南长银五八消费金融股份有限公司 Automatic interface testing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112486811A (en) Interface test method, device, equipment and medium
CN111008154B (en) Android application automatic test method and system based on reinforcement learning
CN112540924A (en) Interface automation test method, device, equipment and storage medium
CN111124871A (en) Interface test method and device
CN112241360A (en) Test case generation method, device, equipment and storage medium
CN115328853A (en) AUTOSAR-based file configuration method and device
CN111625434A (en) Database OLTP benchmark performance test method, system and related components
CN113282513B (en) Interface test case generation method and device, computer equipment and storage medium
CN107038117B (en) Web automatic testing method based on definition-reference between event processing functions
CN112269697B (en) Equipment storage performance testing method, system and related device
US20050203717A1 (en) Automated testing system, method and program product using testing map
CN113407449A (en) Interface testing method and device
CN112084108A (en) Test script generation method and device and related components
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN112631704A (en) Interface element identification method and device, storage medium and electronic equipment
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN111427582A (en) Management method, device and equipment of RT L code and computer readable storage medium
CN115470152A (en) Test code generation method, test code generation device, and storage medium
CN111813665A (en) Big data platform interface data testing method and system based on python
CN110309057B (en) Automatic script-based flow project testing method and related equipment
CN111177014B (en) Software automatic test method, system and storage medium
CN114238143A (en) ES data number making method, system and storage medium for interface test
CN110413518B (en) Control object library generation method and device and computer readable storage medium
CN112148588A (en) Automatic analysis method and test tool for object resources of automatic test

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312