WO2018014580A1 - 数据接口测试方法、装置、服务器和存储介质 - Google Patents
数据接口测试方法、装置、服务器和存储介质 Download PDFInfo
- Publication number
- WO2018014580A1 WO2018014580A1 PCT/CN2017/078351 CN2017078351W WO2018014580A1 WO 2018014580 A1 WO2018014580 A1 WO 2018014580A1 CN 2017078351 W CN2017078351 W CN 2017078351W WO 2018014580 A1 WO2018014580 A1 WO 2018014580A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- test
- interface
- test case
- execution machine
- case
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Definitions
- the present invention relates to the field of testing technologies, and in particular, to a data interface testing method, apparatus, server, and storage medium.
- a data interface testing method, apparatus, server, and storage medium are provided.
- a data interface test method including:
- a data interface testing device comprising:
- the instruction acquisition module is configured to obtain a test case selection instruction input by the terminal in the interface test webpage;
- test case selection module configured to select an interface test case in the test case set according to the test case selection instruction
- test case sending module configured to send the selected interface test case to the test execution machine
- test result storage module configured to receive the test result generated by the test execution machine after running the selected interface test case and store the test result
- test result sending module configured to return the test result to the terminal.
- a server comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor, such that the processor performs the following steps:
- One or more non-volatile storage media storing computer-executable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps:
- FIG. 1 is an application environment diagram of a data interface test system in an embodiment
- FIG. 2 is a functional block diagram of a server in a data interface test system in an embodiment
- FIG. 3 is a schematic flow chart of a data interface test method in an embodiment
- FIG. 4 is a schematic flow chart of steps of collecting an interface test case in an embodiment
- FIG. 5 is a schematic flow chart of a data interface testing method in another embodiment
- FIG. 6 is a schematic flow chart of steps of searching for a test execution machine in an embodiment
- FIG. 7 is a flow chart showing the steps of generating a test result in one embodiment
- FIG. 8 is a functional block diagram of a data interface test apparatus in an embodiment
- FIG. 9 is a functional block diagram of a data interface testing device in another embodiment.
- FIG. 10 is a functional block diagram of a data interface testing device in still another embodiment
- test case sending module 11 is a functional block diagram of a test case sending module in an embodiment
- Figure 12 is a functional block diagram of a test result storage module in one embodiment.
- FIG. 1 is an application environment diagram of a data interface test system in an embodiment.
- the data interface test system includes a terminal 110, a server 120, and a test executive 130.
- the terminal 110 and the test execution machine 130 are connected to the server 120 through a network.
- the terminal 110, the server 120, and the test executive 130 may each be one or more.
- the server 120 includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus.
- the processor is used to provide computing and control capabilities to support the operation of the entire server 120.
- the non-volatile storage medium of the server 120 stores an operating system and computer executable instructions.
- the computer executable instructions are executable by a processor to implement a data interface testing method as provided by the following embodiments.
- the internal memory in server 120 provides a cached operating environment for operating systems and computer executable instructions in a non-volatile storage medium.
- the network interface is used for network communication with the terminal 110 or the test executive machine 130. It can be understood that the server 120 can be implemented by a separate server or a server cluster composed of multiple servers.
- FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
- the specific server may include a ratio. More or fewer components are shown in Figure 2, or some components are combined, or have different component arrangements.
- a data interface test method is provided. This embodiment is applied to the server 120 in the data interface test system of FIG. 1 as an example.
- the server 120 runs a data interface.
- the test program implements the data interface test method through the data interface test program. The method specifically includes the following steps:
- Step 302 Acquire a test case selection instruction input by the terminal in the interface test webpage.
- the terminal 110 sends an acquisition request of the interface test webpage to the server 120.
- the server 120 receives the acquisition request of the interface test webpage
- the server 120 returns the data of the interface test webpage to the terminal 110.
- the terminal 110 tests the webpage according to the data display interface of the interface test webpage returned by the server 120, and controls the data interface test system by using the interface test webpage displayed in the terminal.
- the tester inputs a test case selection instruction in the interface test webpage displayed by the terminal, and the terminal 110 sends the selection instruction of the test case to the server 120.
- the test case selection instruction may include a test case identifier, and the test case identifier is used to uniquely identify the test case, and may specifically be at least one of a test case name, a code, a keyword, and a data interface identifier.
- Test case also known as a test case, is a set of test inputs, execution conditions, and expected results for a test target to test the data interface of the test target or verify that the data interface meets a particular requirement.
- Step 304 Select an interface test case in the test case set according to the test case selection instruction.
- the server 120 extracts the test case identifier in the test case selection instruction, and selects a test that matches the test case identifier in the test case set according to the test case identifier.
- the test case identifier in the test case selection instruction may be one or more.
- Step 306 the selected interface test case is sent to the test execution machine.
- the server 120 searches the test execution machine 130 and sends the interface test case to the found test execution machine 130.
- the server 120 extracts the tags of the test execution machine from the selected interface test cases, and searches for the corresponding test execution machine 130 based on the extracted tags.
- Step 308 Receive test results generated by the test execution machine running the selected interface test case and store the test results.
- the test execution machine 130 extracts the interface information from the test case, generates a test data request according to the interface information, and the test execution machine 130 sends the test data request to the server 120.
- the server 120 extracts the interface information in the test request data, searches for the test data corresponding to the extracted interface information, and returns the found test data to the test execution machine 130.
- the test execution machine 130 tests the test data returned by the server 120 according to the interface test case to generate test results.
- the test execution machine 130 sends the test result back to the server 120, and the server 120 stores the test result corresponding to the interface test case. Specifically, the test result is stored corresponding to the identifier of the interface test case.
- step 310 the test result is returned to the terminal.
- the server 130 stores the test result returned by the test execution machine
- the server sends the test result to the terminal 110, and the terminal 110 displays the test result in the interface test page.
- the terminal may input a test case selection instruction, obtain a test case selection instruction input by the terminal, select an interface test case in the test case set according to the test case selection instruction, and do not need to rewrite the interface test.
- Example. The selected interface test case is sent to the configured test execution machine, and the test execution machine is not required to be reconfigured, and the test result of the interface test case selected by the test execution machine is obtained and stored, and the test result is returned to the terminal.
- it is not necessary to rewrite the interface test case and the terminal can directly input the test case selection instruction in the interface test webpage, so that the interface test case that has been edited can be selected in the test case set, and the interface test case is not needed.
- Reconfigure the test execution machine directly send the selected interface test case to the configured test execution machine, so that the test execution machine uses the selected interface test case to test the data interface, saving the rewriting interface test case and configuring the test execution machine. Time, improve the efficiency of the test of the data interface.
- step 302 further includes the step of collecting an interface test case, the step specifically including the following:
- Step 402 Collect interface test cases written by each terminal in the interface test webpage.
- the tester can write an interface test case in the interface test webpage displayed by the terminal 110.
- the save command is triggered, and the terminal sends the interface test case written in the interface test webpage to the server 120.
- the different terminals 110 are different from each other, and the server 120 collects different interface test cases sent by different terminals 110.
- the tester can upload a locally saved interface test case through the interface test web page displayed by the terminal 110.
- step 404 the collected interface test cases are stored in the test case set.
- the server 120 stores the collected interface test cases sent by the terminals 110 in the test case set, extracts the identifier of the interface test case, sends the identifier of the interface test case to each terminal 110, and tests the interface according to the terminal 110.
- the identity of the use case is displayed on the interface test web page.
- the interface test cases written by the terminals in the interface test webpage are collected, and the collected interface test cases are stored in the test case set, and the interface test cases in the test case set can be uniformly managed and can be The interface test cases stored in the test case set are used multiple times to improve the utilization of the interface test cases.
- a data interface test method is provided, and the method specifically includes the following steps:
- Step 502 Acquire a test case selection instruction input by the terminal in the interface test webpage.
- Step 504 Select an interface test case in the test case set according to the test case selection instruction.
- step 506 it is detected whether there is a test result corresponding to the selected interface test case; if it is detected, step 508 is performed; if not, step 510 is performed.
- the server 120 After selecting the interface test case, the server 120 obtains the identifier of the interface test case, and detects whether there is a test result corresponding to the identifier of the interface test case in the database.
- Step 508 Delete the test result corresponding to the selected interface test case.
- the server 120 when the server 120 detects that there is a test result corresponding to the interface test case, the server 120 deletes the test result and proceeds to step 510.
- step 510 the selected interface test case is sent to the test execution machine.
- Step 512 Receive test results generated by the test execution machine running the selected interface test case and store the test results.
- step 514 the test result is returned to the terminal.
- the selected interface test case is detected to have a corresponding test result.
- the detected test result is deleted, and the detected test result is deleted.
- step 306 further includes the step of searching for a test execution machine, the step specifically including the following:
- Step 602 Obtain a resource occupancy rate of each test execution machine according to the selected interface test case.
- the server 120 obtains the resource occupancy rate of each test execution machine in the selected interface test case, and the resource occupancy rate may be at least one of the memory usage rate of the test execution machine 130, the occupancy rate of the central processing unit, and the thread occupancy rate.
- the resource occupancy rate may be at least one of the memory usage rate of the test execution machine 130, the occupancy rate of the central processing unit, and the thread occupancy rate.
- the server 120 extracts the label of the test execution machine in the selected interface test case.
- the label of the test execution machine corresponds to multiple test execution machines, and the server 120 acquires the resource occupancy rate of each test execution machine 130.
- Step 604 Find a test execution machine with the smallest resource occupancy rate.
- the server 120 compares the resource occupancy rate of each test execution machine 130, and selects the test execution machine 130 with the smallest resource occupancy rate.
- Step 606 Transfer the selected interface test case to the found test execution machine.
- the server 130 transmits the selected interface test case to the test execution machine 130 with the smallest resource occupancy, and the test execution machine 130 performs the test according to the received interface test case.
- the test execution machine with the smallest resource occupancy rate is searched, and the selected interface test case is transmitted to the found test execution machine, so that the test execution machine with the smallest resource occupancy rate tests the data interface according to the interface test case.
- the execution interface test case waits due to the busy test execution machine is avoided, the time spent waiting for the execution of the interface test case is saved, and the test speed of the data interface is accelerated.
- step 308 specifically includes the step of generating a test result, the step specifically including the following:
- Step 702 Receive a test data acquisition request generated by the test execution machine according to the interface identifier, where the interface identifier is extracted by the test execution machine from the selected interface test case.
- the test execution machine 130 receives the interface test case sent by the server 120, and the test execution machine 130 parses the received interface test case, and extracts the interface identifier of the interface to be tested from the interface test case, and the interface identifier is an interface.
- the unique identifier, the interface identifier may specifically be the path of the access interface.
- the test execution device 130 extracts the interface identifier
- the test data acquisition request is generated according to the interface identifier, and the test data acquisition request is used to obtain the test data from the interface corresponding to the interface identifier.
- the test execution machine 130 transmits a test data acquisition request to the server 120.
- Step 704 returning test data to the test execution machine according to the test data acquisition request.
- the server 120 parses the test data acquisition request, extracts the interface identifier from the test data acquisition request, searches for an interface corresponding to the interface identifier, and obtains corresponding test data from the found interface.
- the server 120 returns the acquired test data to the test execution machine 130.
- Step 706 Receive test results generated by the test execution machine based on the test data and the expected data in the interface test case.
- the test execution machine 130 After receiving the test data returned by the server 120, the test execution machine 130 extracts the expected data from the interface test case, compares the test data with the expected data, and generates a test result according to the comparison result, and the test execution machine 130 generates the generated test result.
- the test result is returned to the server 120.
- the test execution machine 130 may obtain expected data and test data from the server 120, compare the test data with the expected data to generate a test result; or, the test execution machine 130 performs an operation on the test data to obtain an operation result, and the operation is performed. The results are compared to the expected data to generate test results.
- the test result may specifically be a test report, and the test report includes at least one of a test time, an interface identifier of the test interface, and a test error existing in the test data.
- the test data is returned to the test execution according to the test data acquisition request, and the test execution machine generates the test according to the test data and the expected data in the interface test case.
- a data interface testing apparatus 800 is provided.
- the apparatus specifically includes: a selection instruction acquisition module 802, a test case selection module 804, a test case sending module 806, a test result storage module 808, and The test result is sent to the module 810.
- the instruction acquisition module 802 is configured to obtain a test case selection instruction input by the terminal in the interface test webpage.
- the test case selection module 804 is configured to select an interface test case in the test case set according to the test case selection instruction.
- the test case sending module 806 is configured to send the selected interface test case to the test execution machine.
- the test result storage module 808 is configured to receive and store the test result generated after the interface test case selected by the test execution machine is run.
- the test result sending module 810 is configured to return the test result to the terminal.
- the terminal may input a test case selection instruction, obtain a test case selection instruction input by the terminal, select an interface test case in the test case set according to the test case selection instruction, and do not need to rewrite the interface test.
- Example. The selected interface test case is sent to the configured test execution machine, and the test execution machine is not required to be reconfigured, and the test result of the interface test case selected by the test execution machine is obtained and stored, and the test result is returned to the terminal.
- it is not necessary to rewrite the interface test case and the terminal can directly input the test case selection instruction in the interface test webpage, so that the interface test case that has been edited can be selected in the test case set, and the interface test case is not needed.
- Reconfigure the test execution machine directly send the selected interface test case to the configured test execution machine, so that the test execution machine uses the selected interface test case to test the data interface, saving the rewriting interface test case and configuring the test execution machine. Time, improve the efficiency of the test of the data interface.
- the data interface testing apparatus 800 specifically includes: a test case collection module 812 and a test case storage module 814.
- the test case collection module 812 is configured to collect interface test cases written by each terminal in the interface test webpage.
- the test case storage module 814 is configured to store the collected interface test cases into the test case set.
- the interface test cases written by the terminals in the interface test webpage are collected, and the collected interface test cases are stored in the test case set, and the interface test cases in the test case set can be uniformly managed and can be The interface test cases stored in the test case set are used multiple times to improve the utilization of the interface test cases.
- the data interface testing apparatus 800 specifically includes a test result detecting module 816 and a test result deleting module 818.
- the test result detecting module 816 is configured to detect whether there is a test result corresponding to the selected interface test case.
- the test result deletion module 818 is configured to delete the test result corresponding to the selected interface test case when detecting the test result corresponding to the selected interface test case.
- the test case sending module 806 is further configured to send the selected interface test case to the test execution machine when detecting that the test result corresponding to the selected interface test case does not exist.
- the selected interface test case is detected to have a corresponding test result.
- the detected test result is deleted, and the detected test result is deleted.
- test case sending module 806 specifically includes:
- the occupancy acquisition module 806a is configured to obtain the resource occupancy rate of each test execution machine according to the selected interface test case.
- the execution machine search module 806b is configured to find a test execution machine with the smallest resource occupancy rate.
- the test case transmission module 806c is configured to transmit the selected interface test case to the found test execution machine.
- the test execution machine with the smallest resource occupancy rate is searched, and the selected interface test case is transmitted to the found test execution machine, so that the test execution machine with the smallest resource occupancy rate tests the data interface according to the interface test case.
- the execution interface test case waits due to the busy test execution machine is avoided, the time spent waiting for the execution of the interface test case is saved, and the test speed of the data interface is accelerated.
- test result storage module 808 specifically includes:
- the acquisition request receiving module 808a is configured to receive a test data acquisition request generated by the test execution machine according to the interface identifier, where the interface identifier is extracted by the test execution machine from the selected interface test case.
- the test data return module 808b is configured to return test data to the test execution machine according to the test data acquisition request.
- the test result receiving module 808c is configured to receive test results generated by the test execution machine according to the test data and the expected data in the interface test case.
- the test data is returned to the test execution according to the test data acquisition request, and the test execution machine generates the test according to the test data and the expected data in the interface test case.
- the various modules in the above data interface test apparatus may be implemented in whole or in part by software, hardware, and combinations thereof.
- the network interface may be an Ethernet or a wireless network card.
- the above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules.
- the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
一种数据接口测试方法,包括:获取终端在接口测试网页中输入的测试用例选取指令;根据测试用例选取指令在测试用例集合中选取接口测试用例;将选取的接口测试用例发送至测试执行机;接收测试执行机运行选取的接口测试用例后生成的测试结果并存储;及将测试结果返回至终端。
Description
本申请要求于2016年7月20日提交中国专利局、申请号为201610581627.X、发明名称为“数据接口测试方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
【技术领域】
本发明涉及测试技术领域,特别是涉及一种数据接口测试方法、装置、服务器和存储介质。
【背景技术】
目前在数据接口测试技术领域中,编写接口测试用例的方案非常多,对于同一个接口进行测试时,不同的测试人员编写的接口测试用例可能都不相同。当一个数据接口需要进行多次测试时,没有对编写的接口测试用例进行良好的管理,导致每次测试需要重新编写接口测试用例,未能够充分利用之前编写的接口测试用例。
然而,在对同一数据接口多次测试时,每次测试时可能需要重新编写该数据接口的接口测试用例,导致之前编写的接口测试用例未被充分利用,造成了资源的浪费,同时在重新编写该数据接口的接口测试用例时,需要耗费大量的时间,严重降低了数据接口的测试效率。
【发明内容】
根据本申请公开的各种实施例,提供一种数据接口测试方法、装置、服务器和存储介质。
一种数据接口测试方法,包括:
获取终端在接口测试网页中输入的测试用例选取指令;
根据所述测试用例选取指令在测试用例集合中选取接口测试用例;
将选取的接口测试用例发送至测试执行机;
接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及
将所述测试结果返回至所述终端。
一种数据接口测试装置,所述装置包括:
选取指令获取模块,用于获取终端在接口测试网页中输入的测试用例选取指令;
测试用例选取模块,用于根据所述测试用例选取指令在测试用例集合中选取接口测试用例;
测试用例发送模块,用于将选取的接口测试用例发送至测试执行机;
测试结果存储模块,用于接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及
测试结果发送模块,用于将所述测试结果返回至所述终端。
一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
获取终端在接口测试网页中输入的测试用例选取指令;
根据所述测试用例选取指令在测试用例集合中选取接口测试用例;
将选取的接口测试用例发送至测试执行机;
接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及
将所述测试结果返回至所述终端。
一个或多个存储有计算机可执行指令的非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
获取终端在接口测试网页中输入的测试用例选取指令;
根据所述测试用例选取指令在测试用例集合中选取接口测试用例;
将选取的接口测试用例发送至测试执行机;
接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及
将所述测试结果返回至所述终端。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
【附图说明】
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中数据接口测试系统的应用环境图;
图2为一个实施例中数据接口测试系统中服务器的功能模块图;
图3为一个实施例中数据接口测试方法的流程示意图;
图4为一个实施例中收集接口测试用例的步骤的流程示意图;
图5为另一个实施例中数据接口测试方法的流程示意图;
图6为一个实施例中查找测试执行机的步骤的流程示意图;
图7为一个实施例中生成测试结果的步骤的流程示意图;
图8为一个实施例中数据接口测试装置的功能模块图;
图9为另一个实施例中数据接口测试装置的功能模块图;
图10为再一个实施例中数据接口测试装置的功能模块图;
图11为一个实施例中测试用例发送模块的功能模块图;
图12为一个实施例中测试结果存储模块的功能模块图。
【具体实施方式】
体现本申请特征与优点的典型实施方式将在以下的说明中详细叙述。应理解的是本申请能够在不同的实施方式上具有各种的变化,其皆不脱离本申请的范围,且其中的说明及图示在本质上是当作说明之用,而非用以限制本申请。
图1是一个实施例中数据接口测试系统的应用环境图。数据接口测试系统包括终端110、服务器120和测试执行机130。其中终端110和测试执行机130通过网络与服务器120相连接。其中终端110、服务器120和测试执行机130都可以是一个或多个。
图2为一个实施例中图1数据接口测试系统中的服务器120的功能模块图。如图2所示,该服务器120包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口。该处理器用于提供计算和控制能力,支撑整个服务器120的运行。该服务器120的非易失性存储介质存储有操作系统和计算机可执行指令。该计算机可执行指令可被处理器执行以实现以下各实施例所提供的一种数据接口测试方法。服务器120中的内存储器为非易失性存储介质中的操作系统和计算机可执行指令提供高速缓存的运行环境。网络接口用于与终端110或测试执行机130进行网络通信。可以理解,服务器120可以用独立的服务器或者多个服务器组成的服务器集群来实现。
本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图2中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
如图3所示,在一个实施例中,提供一种数据接口测试方法,本实施例以该方法应用于图1数据接口测试系统中的服务器120来举例说明,该服务器120上运行有数据接口测试程序,通过数据接口测试程序来实施数据接口测试方法。该方法具体包括以下步骤:
步骤302,获取终端在接口测试网页中输入的测试用例选取指令。
具体地,终端110向服务器120发送接口测试网页的获取请求,服务器120接收到接口测试网页的获取请求后,服务器120将接口测试网页的数据返回至终端110。终端110根据服务器120返回的接口测试网页的数据显示接口测试网页,通过终端中显示的接口测试网页可以对数据接口测试系统进行控制。测试人员在终端显示的接口测试网页中输入测试用例选取指令,终端110将测试用例的选取指令发送至服务器120。测试用例选取指令中可以包括测试用例标识,测试用例标识用于唯一标识测试用例,具体可以是测试用例的名称、编码、关键字和数据接口标识中的至少一种。测试用例(Test
Case)也可以称为测试案例,是为测试目标而编制的一组测试输入、执行条件以及预期结果的文档,以便测试该测试目标的数据接口或核实数据接口是否满足某个特定需求。
步骤304,根据测试用例选取指令在测试用例集合中选取接口测试用例。
具体地,服务器120在获取到终端在接口测试网页中输入的测试用例选取指令后,提取测试用例选取指令中的测试用例标识,根据测试用例标识在测试用例集合中选取与测试用例标识匹配的测试用例。其中测试用例选取指令中的测试用例标识具体可以是一个或多个。
步骤306,将选取的接口测试用例发送至测试执行机。
具体地,服务器120从测试用例集合中选取接口测试用例后,查找测试执行机130,将接口测试用例发送给查找到的测试执行机130。
在一个实施例中,服务器120从选取的接口测试用例中提取测试执行机的标签,根据提取到的标签查找对应的测试执行机130。
步骤308,接收测试执行机运行选取的接口测试用例后生成的测试结果并存储。
具体地,服务器120将测试用例发送至测试执行机130后,测试执行机130从测试用例中提取接口信息,根据接口信息生成测试数据请求,测试执行机130将测试数据请求发送至服务器120。服务器120接收到测试数据请求后,提取测试请求数据中的接口信息,查找与提取到的接口信息对应的测试数据,将查找到的测试数据返回至测试执行机130。测试执行机130根据接口测试案例对服务器120返回的测试数据进行测试生成测试结果,测试执行机130将测试结果发返回至服务器120,服务器120将测试结果与接口测试用例对应存储。具体可以是测试结果与接口测试用例的标识对应存储。
步骤310,将测试结果返回至终端。
具体地,服务器130在将测试执行机返回的测试结果存储之后,服务器将测试结果发送到终端110上,终端110将测试结果显示在接口测试页面中。
本实施例中,在接口测试网页中,终端可以输入测试用例选取指令,在获取到终端输入的测试用例选取指令,根据测试用例选取指令在测试用例集合中选取接口测试用例,无需重新编写接口测试用例。将选取的接口测试用例发送至配置好的测试执行机,也无需重新配置测试执行机,获取测试执行机运行选取的接口测试用例后的测试结果并存储,将测试结果返回至终端。在对数据接口进行测试的过程中,无需重新编写接口测试用例,利用终端直接在接口测试网页中输入测试用例选取指令,即可在测试用例集合中选取已经编辑好的接口测试用例,也不需要重新配置测试执行机,直接将选取的接口测试用例发送至配置好的测试执行机,使测试执行机利用选取的接口测试用例对数据接口进行测试,节省了重新编写接口测试用例和配置测试执行机的时间,提高了数据接口的测试效率。
如图4所示,在一个实施例中,步骤302之前还包括收集接口测试用例的步骤,该步骤具体包括以下内容:
步骤402,收集各终端在接口测试网页中编写的接口测试用例。
具体地,测试人员可以在终端110显示的接口测试网页中编写接口测试用例,在接口测试用例编写完成后,触发保存指令,终端将接口测试网页中编写完成的接口测试用例发送至服务器120。其中,不同的测试人员对应的终端110不同,服务器120会收集不同的终端110发送的不同接口测试案例。
在一个实施例中,测试人员通过终端110显示的接口测试网页可以上传本地保存的接口测试案例。
步骤404,将收集到的接口测试用例存储到测试用例集合中。
具体地,服务器120将收集到的各终端110发送的接口测试用例存储到测试用例集合中,并提取接口测试用例的标识,将接口测试用例的标识发送给各终端110,根据终端110将接口测试用例的标识显示在接口测试网页中。
本实施例中,收集各终端在接口测试网页中编写的接口测试用例,将收集到的接口测试用例存储到测试用例集合中,可以对测试用例集合中的接口测试案例进行统一的管理,并且能够对测试用例集合中存储的接口测试案例进行多次利用,提高了接口测试案例的利用率。
如图5所示,在一个实施例中,提供一个数据接口测试方法,该方法具体包括以下步骤:
步骤502,获取终端在接口测试网页中输入的测试用例选取指令。
步骤504,根据测试用例选取指令在测试用例集合中选取接口测试用例。
步骤506,检测是否存在选取的接口测试用例所对应的测试结果;若检测到,则执行步骤508;若未检测到,则执行步骤510。
具体地,服务器120在选取接口测试用例后,获取接口测试用例的标识,在数据库中检测是否存在与接口测试用例的标识对应的测试结果。
步骤508,删除选取的接口测试用例对应的测试结果。
具体地,服务器120在检测到存在与接口测试用例对应的测试结果,则将测试结果删除,并继续执行步骤510。
步骤510,将选取的接口测试用例发送至测试执行机。
步骤512,接收测试执行机运行选取的接口测试用例后生成的测试结果并存储。
步骤514,将测试结果返回至终端。
本实施例中,在选取接口测试用例之后,会检测选取的接口测试用例是否存在对应的测试结果,在检测到选取的接口测试用例存在对应的测试结果时,将检测到的测试结果删除,避免再次利用接口测试用例进行测试时,避免已经存在的测试结果对应再次测试生成的测试结果造成影响,提高了测试的准确性。
如图6所示,在一个实施例中,步骤306还包括查找测试执行机的步骤,该步骤具体包括如下内容:
步骤602,根据选取的接口测试用例获取各测试执行机的资源占用率。
具体地,服务器120在选取的接口测试用例获取各测试执行机的资源占用率,资源占用率具体可以是测试执行机130的内存占用率、中央处理器的占用率和线程占用率中的至少一种。
在一个实施例中,服务器120在选取的接口测试用例中提取测试执行机的标签,测试执行机的标签对应多台测试执行机,服务器120获取每台测试执行机130的资源占用率。
步骤604,查找资源占用率最小的测试执行机。
具体地,服务器120在获取到每台测试执行机的资源占用率时,比较每台测试执行机130的资源占用率,选取资源占用率最小的测试执行机130。
步骤606,将选取的接口测试用例传输至查找到的测试执行机。
具体地,服务器130将选取的接口测试用例传输至资源占用率最小的测试执行机130,该测试执行机130根据接收到的接口测试用例进行测试。
本实施例中,查找资源占用率最小的测试执行机,将选取的接口测试用例传输至查找到的测试执行机,使资源占用率最小的测试执行机根据接口测试用例对数据接口进行测试。这样,避免由于测试执行机繁忙而造成执行接口测试用例等待的情况,节省了执行接口测试用例等待所耗费的时间,加快了数据接口的测试速度。
如图7所示,在一个实施例中,步骤308具体还包括生成测试结果的步骤,该步骤具体包括以下内容:
步骤702,接收测试执行机根据接口标识生成的测试数据获取请求,接口标识为测试执行机从选取的接口测试用例中提取的。
具体地,在测试执行机130接收到服务器120发送的接口测试用例,测试执行机130对接收到的接口测试用例进行解析,从接口测试用例中提取所要测试接口的接口标识,接口标识为接口的唯一标识,接口标识具体可以是访问接口的路径。测试执行机130在提取到接口标识后,根据接口标识生成测试数据获取请求,测试数据获取请求用于从接口标识对应的接口获取测试数据。测试执行机130将测试数据获取请求发送至服务器120。
步骤704,根据测试数据获取请求向测试执行机返回测试数据。
具体地,服务器120在接收到测试数据获取请求后,对测试数据获取请求进行解析,从测试数据获取请求中提取接口标识,查找接口标识对应的接口,从查找到的接口获取相应地测试数据,服务器120将获取的测试数据返回测试执行机130。
步骤706,接收测试执行机根据测试数据和接口测试用例中的预期数据生成的测试结果。
具体地,测试执行机130在接收到服务器120返回的测试数据后,从接口测试用例中提取预期数据,将测试数据与预期数据进行比较,根据比较结果生成测试结果,测试执行机130将生成的测试结果返回至服务器120。
在一个实施例中,测试执行机130可以从服务器120获取预期数据和测试数据,将测试数据和预期数据进行比较生成测试结果;或者,测试执行机130对测试数据进行运算得到运算结果,将运算结果与预期数据进行比较生成测试结果。测试结果具体可以是测试报告,测试报告中包括测试时间、测试接口的接口标识和测试数据存在的测试错误中的至少一种。
本实施例中,在接收到测试执行机根据接口标识生成的测试数据获取请求后,根据测试数据获取请求向测试执行返回测试数据,测试执行机根据测试数据和接口测试用例中的预期数据生成测试结果,通过预期数据和测试数据的比对,可以准确确定测试过程中接口存在的错误,并提高了测试结果的准确性。
如图8所示,在一个实施例中,提供一种数据接口测试装置800,该装置具体包括:选取指令获取模块802、测试用例选取模块804、测试用例发送模块806、测试结果存储模块808和测试结果发送模块810。
选取指令获取模块802,用于获取终端在接口测试网页中输入的测试用例选取指令。
测试用例选取模块804,用于根据测试用例选取指令在测试用例集合中选取接口测试用例。
测试用例发送模块806,用于将选取的接口测试用例发送至测试执行机。
测试结果存储模块808,用于接收测试执行机运行选取的接口测试用例后生成的测试结果并存储。
测试结果发送模块810,用于将测试结果返回至终端。
本实施例中,在接口测试网页中,终端可以输入测试用例选取指令,在获取到终端输入的测试用例选取指令,根据测试用例选取指令在测试用例集合中选取接口测试用例,无需重新编写接口测试用例。将选取的接口测试用例发送至配置好的测试执行机,也无需重新配置测试执行机,获取测试执行机运行选取的接口测试用例后的测试结果并存储,将测试结果返回至终端。在对数据接口进行测试的过程中,无需重新编写接口测试用例,利用终端直接在接口测试网页中输入测试用例选取指令,即可在测试用例集合中选取已经编辑好的接口测试用例,也不需要重新配置测试执行机,直接将选取的接口测试用例发送至配置好的测试执行机,使测试执行机利用选取的接口测试用例对数据接口进行测试,节省了重新编写接口测试用例和配置测试执行机的时间,提高了数据接口的测试效率。
如图9所示,在一个实施例中,该数据接口测试装置800具体还包括:测试用例收集模块812和测试用例存储模块814。
测试用例收集模块812,用于收集各终端在接口测试网页中编写的接口测试用例。
测试用例存储模块814,用于将收集到的接口测试用例存储到测试用例集合中。
本实施例中,收集各终端在接口测试网页中编写的接口测试用例,将收集到的接口测试用例存储到测试用例集合中,可以对测试用例集合中的接口测试案例进行统一的管理,并且能够对测试用例集合中存储的接口测试案例进行多次利用,提高了接口测试案例的利用率。
如图10所示,在一个实施例中,该数据接口测试装置800具体还包括:测试结果检测模块816和测试结果删除模块818。
测试结果检测模块816,用于检测是否存在选取的接口测试用例所对应的测试结果。
测试结果删除模块818,用于在检测到存在选取的接口测试用例所对应的测试结果时,删除选取的接口测试用例对应的测试结果。
测试用例发送模块806还用于在检测到不存在选取的接口测试用例所对应的测试结果时,将选取的接口测试用例发送至测试执行机。
本实施例中,在选取接口测试用例之后,会检测选取的接口测试用例是否存在对应的测试结果,在检测到选取的接口测试用例存在对应的测试结果时,将检测到的测试结果删除,避免再次利用接口测试用例进行测试时,避免已经存在的测试结果对应再次测试生成的测试结果造成影响,提高了测试的准确性。
如图11所示,在一个实施例中,测试用例发送模块806具体包括:
占用率获取模块806a,用于根据选取的接口测试用例获取各测试执行机的资源占用率。
执行机查找模块806b,用于查找资源占用率最小的测试执行机。
测试用例传输模块806c,用于将选取的接口测试用例传输至查找到的测试执行机。
本实施例中,查找资源占用率最小的测试执行机,将选取的接口测试用例传输至查找到的测试执行机,使资源占用率最小的测试执行机根据接口测试用例对数据接口进行测试。这样,避免由于测试执行机繁忙而造成执行接口测试用例等待的情况,节省了执行接口测试用例等待所耗费的时间,加快了数据接口的测试速度。
如图12所示,在一个实施例中,测试结果存储模块808具体包括:
获取请求接收模块808a,用于接收测试执行机根据接口标识生成的测试数据获取请求,接口标识为测试执行机从选取的接口测试用例中提取的。
测试数据返回模块808b,用于根据测试数据获取请求向测试执行机返回测试数据。
测试结果接收模块808c,用于接收测试执行机根据测试数据和接口测试用例中的预期数据生成的测试结果。
本实施例中,在接收到测试执行机根据接口标识生成的测试数据获取请求后,根据测试数据获取请求向测试执行返回测试数据,测试执行机根据测试数据和接口测试用例中的预期数据生成测试结果,通过预期数据和测试数据的比对,可以准确确定测试过程中接口存在的错误,并提高了测试结果的准确性。
上述数据接口测试装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only
Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
Claims (20)
- 一种数据接口测试方法,包括:获取终端在接口测试网页中输入的测试用例选取指令;根据所述测试用例选取指令在测试用例集合中选取接口测试用例;将选取的接口测试用例发送至测试执行机;接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及将所述测试结果返回至所述终端。
- 根据权利要求1所述的方法,其特征在于,所述获取终端在接口测试网页中输入的测试用例选取指令之前,所述方法还包括:收集各终端在所述接口测试网页中编写的接口测试用例;及将收集到的接口测试用例存储到测试用例集合中。
- 根据权利要求1所述的方法,其特征在于,所述根据所述测试用例选取指令在测试用例集合中选取接口测试用例之后,所述方法还包括:检测是否存在选取的接口测试用例所对应的测试结果;若检测到,则删除所述选取的接口测试用例对应的测试结果;及若未检测到,则执行所述将选取的接口测试用例发送至测试执行机的步骤。
- 根据权利要求1所述的方法,其特征在于,所述将选取的接口测试用例发送至测试执行机,包括:根据选取的接口测试用例获取各测试执行机的资源占用率;查找所述资源占用率最小的测试执行机;及将所述选取的接口测试用例传输至查找到的测试执行机。
- 根据权利要求1所述的方法,其特征在于,所述接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储,包括:接收所述测试执行机根据接口标识生成的测试数据获取请求,所述接口标识为所述测试执行机从所述选取的接口测试用例中提取的;根据所述测试数据获取请求向所述测试执行机返回测试数据;及接收所述测试执行机根据所述测试数据和所述接口测试用例中的预期数据生成的测试结果。
- 一种数据接口测试装置,包括:选取指令获取模块,用于获取终端在接口测试网页中输入的测试用例选取指令;测试用例选取模块,用于根据所述测试用例选取指令在测试用例集合中选取接口测试用例;测试用例发送模块,用于将选取的接口测试用例发送至测试执行机;测试结果存储模块,用于接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及测试结果发送模块,用于将所述测试结果返回至所述终端。
- 根据权利要求6所述的装置,其特征在于,还包括:测试用例收集模块,用于收集各终端在所述接口测试网页中编写的接口测试用例;及测试用例存储模块,用于将收集到的接口测试用例存储到测试用例集合中。
- 根据权利要求6所述的装置,其特征在于,还包括:测试结果检测模块,用于检测是否存在选取的接口测试用例所对应的测试结果;测试结果删除模块,用于在检测到存在选取的接口测试用例所对应的测试结果时,删除所述选取的接口测试用例对应的测试结果;及所述测试用例发送模块还用于在检测到不存在选取的接口测试用例所对应的测试结果时,将选取的接口测试用例发送至测试执行机。
- 根据权利要求6所述的装置,其特征在于,所述测试用例发送模块包括:占用率获取模块,用于根据选取的接口测试用例获取各测试执行机的资源占用率;执行机查找模块,用于查找所述资源占用率最小的测试执行机;及测试用例传输模块,用于将所述选取的接口测试用例传输至查找到的测试执行机。
- 根据权利要求6所述的装置,其特征在于,所述测试结果存储模块包括:获取请求接收模块,用于接收所述测试执行机根据接口标识生成的测试数据获取请求,所述接口标识为所述测试执行机从所述选取的接口测试用例中提取的;测试数据返回模块,用于根据所述测试数据获取请求向所述测试执行机返回测试数据;及测试结果接收模块,用于接收所述测试执行机根据所述测试数据和所述接口测试用例中的预期数据生成的测试结果。
- 一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:获取终端在接口测试网页中输入的测试用例选取指令;根据所述测试用例选取指令在测试用例集合中选取接口测试用例;将选取的接口测试用例发送至测试执行机;接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及将所述测试结果返回至所述终端。
- 根据权利要求11所述的服务器,其特征在于,所述获取终端在接口测试网页中输入的测试用例选取指令之前,所述计算机可执行指令被所述处理器执行时,还使得所述处理器执行以下步骤:收集各终端在所述接口测试网页中编写的接口测试用例;及将收集到的接口测试用例存储到测试用例集合中。
- 根据权利要求11所述的服务器,其特征在于,所述根据所述测试用例选取指令在测试用例集合中选取接口测试用例之后,所述计算机可执行指令被所述处理器执行时,还使得所述处理器执行以下步骤:检测是否存在选取的接口测试用例所对应的测试结果;若检测到,则删除所述选取的接口测试用例对应的测试结果;及若未检测到,则执行所述将选取的接口测试用例发送至测试执行机的步骤。
- 根据权利要求11所述的服务器,其特征在于,所述将选取的接口测试用例发送至测试执行机,包括:根据选取的接口测试用例获取各测试执行机的资源占用率;查找所述资源占用率最小的测试执行机;及将所述选取的接口测试用例传输至查找到的测试执行机。
- 根据权利要求11所述的服务器,其特征在于,所述接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储,包括:接收所述测试执行机根据接口标识生成的测试数据获取请求,所述接口标识为所述测试执行机从所述选取的接口测试用例中提取的;根据所述测试数据获取请求向所述测试执行机返回测试数据;及接收所述测试执行机根据所述测试数据和所述接口测试用例中的预期数据生成的测试结果。
- 一个或多个存储有计算机可执行指令的非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:获取终端在接口测试网页中输入的测试用例选取指令;根据所述测试用例选取指令在测试用例集合中选取接口测试用例;将选取的接口测试用例发送至测试执行机;接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储;及将所述测试结果返回至所述终端。
- 根据权利要求16所述的非易失性存储介质,其特征在于,所述获取终端在接口测试网页中输入的测试用例选取指令之前,所述计算机可执行指令被一个或多个处理器执行时,还使得所述一个或多个处理器执行以下步骤:收集各终端在所述接口测试网页中编写的接口测试用例;及将收集到的接口测试用例存储到测试用例集合中。
- 根据权利要求16所述的非易失性存储介质,其特征在于,所述根据所述测试用例选取指令在测试用例集合中选取接口测试用例之后,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:检测是否存在选取的接口测试用例所对应的测试结果;若检测到,则删除所述选取的接口测试用例对应的测试结果;及若未检测到,则执行所述将选取的接口测试用例发送至测试执行机的步骤。
- 根据权利要求16所述的非易失性存储介质,其特征在于,所述将选取的接口测试用例发送至测试执行机,包括:根据选取的接口测试用例获取各测试执行机的资源占用率;查找所述资源占用率最小的测试执行机;及将所述选取的接口测试用例传输至查找到的测试执行机。
- 根据权利要求16所述的非易失性存储介质,其特征在于,所述接收所述测试执行机运行所述选取的接口测试用例后生成的测试结果并存储,包括:接收所述测试执行机根据接口标识生成的测试数据获取请求,所述接口标识为所述测试执行机从所述选取的接口测试用例中提取的;根据所述测试数据获取请求向所述测试执行机返回测试数据;及接收所述测试执行机根据所述测试数据和所述接口测试用例中的预期数据生成的测试结果。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610581627.XA CN106991040B (zh) | 2016-07-20 | 2016-07-20 | 数据接口测试方法和装置 |
| CN201610581627.X | 2016-07-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018014580A1 true WO2018014580A1 (zh) | 2018-01-25 |
Family
ID=59413563
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/078351 Ceased WO2018014580A1 (zh) | 2016-07-20 | 2017-03-28 | 数据接口测试方法、装置、服务器和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106991040B (zh) |
| WO (1) | WO2018014580A1 (zh) |
Cited By (28)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109165127A (zh) * | 2018-08-29 | 2019-01-08 | 北京奇艺世纪科技有限公司 | 问题接口的定位方法、装置及电子设备 |
| CN109165165A (zh) * | 2018-09-04 | 2019-01-08 | 中国平安人寿保险股份有限公司 | 接口测试方法、装置、计算机设备和存储介质 |
| CN109446071A (zh) * | 2018-09-26 | 2019-03-08 | 深圳壹账通智能科技有限公司 | 接口测试方法、接口测试装置、电子设备及存储介质 |
| CN109597753A (zh) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | 接口测试的方法、装置、计算机设备以及存储介质 |
| CN109710532A (zh) * | 2018-12-28 | 2019-05-03 | 北京金山安全软件有限公司 | 一种测试用例的管理方法、装置及电子设备 |
| CN110083540A (zh) * | 2019-04-29 | 2019-08-02 | 北京口袋时尚科技有限公司 | 接口测试方法及装置 |
| CN110134584A (zh) * | 2019-04-12 | 2019-08-16 | 深圳壹账通智能科技有限公司 | 一种接口测试用例的生成方法、装置、存储介质和服务器 |
| CN110134612A (zh) * | 2019-05-17 | 2019-08-16 | 深圳前海微众银行股份有限公司 | Ui测试数据生成方法、装置、设备及可读存储介质 |
| CN110413507A (zh) * | 2019-06-21 | 2019-11-05 | 平安科技(深圳)有限公司 | 系统测试方法、装置、计算机设备和存储介质 |
| CN110515834A (zh) * | 2019-07-26 | 2019-11-29 | Oppo广东移动通信有限公司 | 接口测试方法、装置、移动终端及存储介质 |
| CN110597704A (zh) * | 2018-06-13 | 2019-12-20 | 百度在线网络技术(北京)有限公司 | 应用程序的压力测试方法、装置、服务器和介质 |
| CN110609791A (zh) * | 2019-09-03 | 2019-12-24 | 深圳证券交易所 | 招投标系统的接口测试方法、接口测试装置及存储介质 |
| CN110633211A (zh) * | 2019-08-30 | 2019-12-31 | 深圳壹账通智能科技有限公司 | 对于多接口的测试方法、装置、服务器及介质 |
| CN110633208A (zh) * | 2019-08-22 | 2019-12-31 | 浙江大搜车软件技术有限公司 | 增量代码覆盖率测试方法及系统 |
| CN110647462A (zh) * | 2019-08-29 | 2020-01-03 | 凡普数字技术有限公司 | 接口测试方法、装置以及存储介质 |
| CN110716876A (zh) * | 2019-09-30 | 2020-01-21 | 国核自仪系统工程有限公司 | 自动化验证可编程逻辑代码的测试平台及测试方法 |
| CN110737549A (zh) * | 2018-07-20 | 2020-01-31 | 北京奇虎科技有限公司 | 应用测试方法、装置、服务器和系统 |
| CN111181800A (zh) * | 2019-11-27 | 2020-05-19 | 腾讯科技(深圳)有限公司 | 测试数据处理方法、装置、电子设备及存储介质 |
| CN111352825A (zh) * | 2018-12-21 | 2020-06-30 | 北京金山云网络技术有限公司 | 数据接口的测试方法、装置及服务器 |
| CN111427784A (zh) * | 2020-03-24 | 2020-07-17 | 中国建设银行股份有限公司 | 一种数据获取方法、装置、设备及存储介质 |
| CN111459794A (zh) * | 2020-02-25 | 2020-07-28 | 西安广和通无线软件有限公司 | 通信网络测试方法、装置、计算机设备和存储介质 |
| CN112596972A (zh) * | 2020-12-23 | 2021-04-02 | 文思海辉智科科技有限公司 | 车载设备的测试方法、装置、系统、计算机设备 |
| CN112667512A (zh) * | 2020-12-30 | 2021-04-16 | 杭州趣链科技有限公司 | 数据驱动测试方法、装置、设备和计算机可读存储介质 |
| CN112882922A (zh) * | 2019-11-29 | 2021-06-01 | 深圳云天励飞技术有限公司 | 一种测试方法和相关装置 |
| CN113094251A (zh) * | 2019-12-23 | 2021-07-09 | 深圳奇迹智慧网络有限公司 | 嵌入式系统测试方法、装置、计算机设备和存储介质 |
| CN113220595A (zh) * | 2021-06-11 | 2021-08-06 | 中国农业银行股份有限公司 | 测试方法及设备 |
| CN114676049A (zh) * | 2022-03-21 | 2022-06-28 | 瀚云科技有限公司 | 一种用例测试方法、装置、电子设备及存储介质 |
| CN111427770B (zh) * | 2020-02-29 | 2024-04-09 | 中国平安人寿保险股份有限公司 | 一种资源测试方法及相关设备 |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107766190B (zh) * | 2017-10-31 | 2020-06-12 | 平安科技(深圳)有限公司 | 接口测试方法、装置、计算机设备和存储介质 |
| CN107861870B (zh) * | 2017-11-02 | 2020-07-24 | 平安科技(深圳)有限公司 | 接口测试及测试数据生成方法、装置、终端和存储介质 |
| CN108268348A (zh) * | 2017-12-08 | 2018-07-10 | 广州视源电子科技股份有限公司 | 接口测试方法、装置、移动终端及存储介质 |
| CN108563569B (zh) * | 2018-04-11 | 2021-04-16 | 中国电子科技集团公司第十四研究所 | 一种预警探测系统自动化接口测试方法 |
| CN108959081A (zh) * | 2018-06-27 | 2018-12-07 | 郑州云海信息技术有限公司 | 一种基于文字驱动自动化测试方法 |
| CN108984400B (zh) * | 2018-07-03 | 2021-05-14 | 中国电子科技集团公司第十四研究所 | 基于预警探测系统的自动化接口测试方法 |
| CN109120473B (zh) * | 2018-07-27 | 2020-11-03 | 广州市百果园信息技术有限公司 | 接口请求框架实现方法、接口测试方法及其对应的装置 |
| CN109408304A (zh) * | 2018-09-27 | 2019-03-01 | 深圳壹账通智能科技有限公司 | 区块链引入测试方法、装置、设备及可读存储介质 |
| CN109766262B (zh) * | 2018-12-15 | 2022-05-06 | 深圳壹账通智能科技有限公司 | 接口数据处理方法、自动化测试方法、装置、设备和介质 |
| CN110362492B (zh) * | 2019-07-18 | 2024-06-11 | 腾讯科技(深圳)有限公司 | 人工智能算法测试方法、装置、服务器、终端及存储介质 |
| CN114401040B (zh) * | 2021-12-30 | 2024-11-12 | 中国电信股份有限公司 | 传输通道测试系统及测试方法 |
| CN116126719B (zh) * | 2023-02-08 | 2026-03-31 | 北京百度网讯科技有限公司 | 接口测试方法、装置、电子设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101212357A (zh) * | 2006-12-31 | 2008-07-02 | 亿阳信通股份有限公司 | 一种接口的测试方法和装置 |
| CN102096631A (zh) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | 接口测试方法及装置 |
| CN103970614A (zh) * | 2013-01-24 | 2014-08-06 | 腾讯科技(深圳)有限公司 | 一种业务测试方法及装置 |
| CN104298604A (zh) * | 2014-11-06 | 2015-01-21 | 哈尔滨工业大学 | 云服务健壮性测试系统及测试方法 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8423962B2 (en) * | 2009-10-08 | 2013-04-16 | International Business Machines Corporation | Automated test execution plan generation |
| CN103761189B (zh) * | 2014-02-17 | 2017-02-01 | 广东欧珀移动通信有限公司 | 一种测试用例管理方法及系统 |
| CN105260299A (zh) * | 2015-09-17 | 2016-01-20 | 安一恒通(北京)科技有限公司 | 软件测试方法、装置及系统 |
-
2016
- 2016-07-20 CN CN201610581627.XA patent/CN106991040B/zh active Active
-
2017
- 2017-03-28 WO PCT/CN2017/078351 patent/WO2018014580A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101212357A (zh) * | 2006-12-31 | 2008-07-02 | 亿阳信通股份有限公司 | 一种接口的测试方法和装置 |
| CN102096631A (zh) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | 接口测试方法及装置 |
| CN103970614A (zh) * | 2013-01-24 | 2014-08-06 | 腾讯科技(深圳)有限公司 | 一种业务测试方法及装置 |
| CN104298604A (zh) * | 2014-11-06 | 2015-01-21 | 哈尔滨工业大学 | 云服务健壮性测试系统及测试方法 |
Cited By (39)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110597704B (zh) * | 2018-06-13 | 2023-09-26 | 百度在线网络技术(北京)有限公司 | 应用程序的压力测试方法、装置、服务器和介质 |
| CN110597704A (zh) * | 2018-06-13 | 2019-12-20 | 百度在线网络技术(北京)有限公司 | 应用程序的压力测试方法、装置、服务器和介质 |
| CN110737549A (zh) * | 2018-07-20 | 2020-01-31 | 北京奇虎科技有限公司 | 应用测试方法、装置、服务器和系统 |
| CN109165127A (zh) * | 2018-08-29 | 2019-01-08 | 北京奇艺世纪科技有限公司 | 问题接口的定位方法、装置及电子设备 |
| CN109165165A (zh) * | 2018-09-04 | 2019-01-08 | 中国平安人寿保险股份有限公司 | 接口测试方法、装置、计算机设备和存储介质 |
| CN109446071A (zh) * | 2018-09-26 | 2019-03-08 | 深圳壹账通智能科技有限公司 | 接口测试方法、接口测试装置、电子设备及存储介质 |
| CN109597753A (zh) * | 2018-10-22 | 2019-04-09 | 平安科技(深圳)有限公司 | 接口测试的方法、装置、计算机设备以及存储介质 |
| CN111352825B (zh) * | 2018-12-21 | 2023-06-02 | 北京金山云网络技术有限公司 | 数据接口的测试方法、装置及服务器 |
| CN111352825A (zh) * | 2018-12-21 | 2020-06-30 | 北京金山云网络技术有限公司 | 数据接口的测试方法、装置及服务器 |
| CN109710532A (zh) * | 2018-12-28 | 2019-05-03 | 北京金山安全软件有限公司 | 一种测试用例的管理方法、装置及电子设备 |
| CN110134584A (zh) * | 2019-04-12 | 2019-08-16 | 深圳壹账通智能科技有限公司 | 一种接口测试用例的生成方法、装置、存储介质和服务器 |
| CN110083540B (zh) * | 2019-04-29 | 2023-04-28 | 北京口袋时尚科技有限公司 | 接口测试方法及装置 |
| CN110083540A (zh) * | 2019-04-29 | 2019-08-02 | 北京口袋时尚科技有限公司 | 接口测试方法及装置 |
| CN110134612A (zh) * | 2019-05-17 | 2019-08-16 | 深圳前海微众银行股份有限公司 | Ui测试数据生成方法、装置、设备及可读存储介质 |
| CN110413507A (zh) * | 2019-06-21 | 2019-11-05 | 平安科技(深圳)有限公司 | 系统测试方法、装置、计算机设备和存储介质 |
| CN110413507B (zh) * | 2019-06-21 | 2024-05-03 | 平安科技(深圳)有限公司 | 系统测试方法、装置、计算机设备和存储介质 |
| CN110515834A (zh) * | 2019-07-26 | 2019-11-29 | Oppo广东移动通信有限公司 | 接口测试方法、装置、移动终端及存储介质 |
| CN110515834B (zh) * | 2019-07-26 | 2023-11-10 | Oppo广东移动通信有限公司 | 接口测试方法、装置、移动终端及存储介质 |
| CN110633208A (zh) * | 2019-08-22 | 2019-12-31 | 浙江大搜车软件技术有限公司 | 增量代码覆盖率测试方法及系统 |
| CN110647462A (zh) * | 2019-08-29 | 2020-01-03 | 凡普数字技术有限公司 | 接口测试方法、装置以及存储介质 |
| CN110633211A (zh) * | 2019-08-30 | 2019-12-31 | 深圳壹账通智能科技有限公司 | 对于多接口的测试方法、装置、服务器及介质 |
| CN110609791A (zh) * | 2019-09-03 | 2019-12-24 | 深圳证券交易所 | 招投标系统的接口测试方法、接口测试装置及存储介质 |
| CN110716876A (zh) * | 2019-09-30 | 2020-01-21 | 国核自仪系统工程有限公司 | 自动化验证可编程逻辑代码的测试平台及测试方法 |
| CN111181800A (zh) * | 2019-11-27 | 2020-05-19 | 腾讯科技(深圳)有限公司 | 测试数据处理方法、装置、电子设备及存储介质 |
| CN111181800B (zh) * | 2019-11-27 | 2023-09-19 | 腾讯科技(深圳)有限公司 | 测试数据处理方法、装置、电子设备及存储介质 |
| CN112882922B (zh) * | 2019-11-29 | 2023-11-17 | 深圳云天励飞技术有限公司 | 一种测试方法和相关装置 |
| CN112882922A (zh) * | 2019-11-29 | 2021-06-01 | 深圳云天励飞技术有限公司 | 一种测试方法和相关装置 |
| CN113094251A (zh) * | 2019-12-23 | 2021-07-09 | 深圳奇迹智慧网络有限公司 | 嵌入式系统测试方法、装置、计算机设备和存储介质 |
| CN113094251B (zh) * | 2019-12-23 | 2024-02-23 | 深圳奇迹智慧网络有限公司 | 嵌入式系统测试方法、装置、计算机设备和存储介质 |
| CN111459794B (zh) * | 2020-02-25 | 2024-03-15 | 西安广和通无线软件有限公司 | 通信网络测试方法、装置、计算机设备和存储介质 |
| CN111459794A (zh) * | 2020-02-25 | 2020-07-28 | 西安广和通无线软件有限公司 | 通信网络测试方法、装置、计算机设备和存储介质 |
| CN111427770B (zh) * | 2020-02-29 | 2024-04-09 | 中国平安人寿保险股份有限公司 | 一种资源测试方法及相关设备 |
| CN111427784A (zh) * | 2020-03-24 | 2020-07-17 | 中国建设银行股份有限公司 | 一种数据获取方法、装置、设备及存储介质 |
| CN112596972A (zh) * | 2020-12-23 | 2021-04-02 | 文思海辉智科科技有限公司 | 车载设备的测试方法、装置、系统、计算机设备 |
| CN112596972B (zh) * | 2020-12-23 | 2024-05-03 | 文思海辉智科科技有限公司 | 车载设备的测试方法、装置、系统、计算机设备 |
| CN112667512A (zh) * | 2020-12-30 | 2021-04-16 | 杭州趣链科技有限公司 | 数据驱动测试方法、装置、设备和计算机可读存储介质 |
| CN113220595B (zh) * | 2021-06-11 | 2023-10-03 | 中国农业银行股份有限公司 | 测试方法及设备 |
| CN113220595A (zh) * | 2021-06-11 | 2021-08-06 | 中国农业银行股份有限公司 | 测试方法及设备 |
| CN114676049A (zh) * | 2022-03-21 | 2022-06-28 | 瀚云科技有限公司 | 一种用例测试方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106991040A (zh) | 2017-07-28 |
| CN106991040B (zh) | 2020-05-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018014580A1 (zh) | 数据接口测试方法、装置、服务器和存储介质 | |
| WO2018036167A1 (zh) | 测试任务执行机分配方法、装置、服务器和存储介质 | |
| WO2018103315A1 (zh) | 监控数据的处理方法、装置、服务器及存储设备 | |
| WO2018058959A1 (zh) | Sql审核方法、装置、服务器及存储设备 | |
| WO2018014582A1 (zh) | 保单数据处理方法、装置、服务器和存储介质 | |
| WO2015144012A1 (zh) | 一种软件开发事务的实现方法及电子设备 | |
| WO2020233077A1 (zh) | 系统服务的监控方法、装置、设备及存储介质 | |
| WO2018036168A1 (zh) | 数据处理任务执行方法、装置、执行服务器和存储介质 | |
| WO2018233037A1 (zh) | 数据库集成测试方法、装置、服务器及存储介质 | |
| WO2020119369A1 (zh) | 智能it运维故障定位方法、装置、设备及可读存储介质 | |
| WO2020186773A1 (zh) | 调用请求监控方法、装置、设备及存储介质 | |
| WO2020015064A1 (zh) | 系统故障处理方法、装置、设备及存储介质 | |
| WO2010123168A1 (ko) | 데이터베이스 관리 방법 및 시스템 | |
| WO2021051492A1 (zh) | 数据库服务节点切换方法、装置、设备及计算机存储介质 | |
| WO2014044136A1 (zh) | 基于分布式数据的并发处理方法、系统和计算机存储介质 | |
| WO2020233089A1 (zh) | 测试用例生成方法、装置、终端及计算机可读存储介质 | |
| WO2020062640A1 (zh) | 终端应用动态文案的语言切换方法、服务器及存储介质 | |
| CN112000350A (zh) | 一种动态规则更新方法、装置及存储介质 | |
| WO2014189190A1 (ko) | 데이터 부재 태깅 기반의 정보 검색 시스템 및 방법 | |
| WO2020077832A1 (zh) | 云桌面的访问方法、装置、设备及存储介质 | |
| WO2017181786A1 (zh) | 数据分析处理的方法、装置、计算机设备及存储介质 | |
| WO2018014594A1 (zh) | 网络请求及响应的处理方法、装置、终端、服务器及存储介质 | |
| WO2020237849A1 (zh) | 网络块设备快照读写方法、装置、设备及存储介质 | |
| WO2020237859A1 (zh) | 基于nbd设备的数据迁移方法、装置、设备及存储介质 | |
| WO2018221998A1 (ko) | 실시간 병목 자동 분석 방법 및 이러한 방법을 수행하는 장치 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17830222 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.05.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17830222 Country of ref document: EP Kind code of ref document: A1 |