CN110888804A - Interface test method and interface test platform - Google Patents

Interface test method and interface test platform Download PDF

Info

Publication number
CN110888804A
CN110888804A CN201911093584.0A CN201911093584A CN110888804A CN 110888804 A CN110888804 A CN 110888804A CN 201911093584 A CN201911093584 A CN 201911093584A CN 110888804 A CN110888804 A CN 110888804A
Authority
CN
China
Prior art keywords
interface
test
tested
server side
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911093584.0A
Other languages
Chinese (zh)
Other versions
CN110888804B (en
Inventor
赵彤
刘海龙
沈村敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NetsUnion Clearing Corp
Original Assignee
NetsUnion Clearing Corp
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 NetsUnion Clearing Corp filed Critical NetsUnion Clearing Corp
Priority to CN201911093584.0A priority Critical patent/CN110888804B/en
Publication of CN110888804A publication Critical patent/CN110888804A/en
Application granted granted Critical
Publication of CN110888804B publication Critical patent/CN110888804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/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

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

The method comprises the steps that after a user triggers a test instruction aiming at an interface to be tested on a service side in an interface test platform, the server side generates an interface test task according to the test instruction and sends the interface test task to an operation end, correspondingly, the operation end obtains a test case and an interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain a test result of the interface to be tested, and reports the test result to the server side. Therefore, the interface test can be realized by the user through the interface test platform, the user does not need to write test cases and test codes in the interface test process, the test time required by the interface test is greatly reduced, the interface test is improved, the user can test the interface conveniently, and the interface test experience of the user is improved.

Description

Interface test method and interface test platform
Technical Field
The present disclosure relates to the field of testing technologies, and in particular, to an interface testing method and an interface testing platform.
Background
In the related art, in the process of testing a target interface in a target program, a tester usually compiles a test code and a test case for the target interface, and then performs an interface test on the corresponding target interface based on the compiled test code and the written test case.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, a first object of the present application is to propose an interface testing method.
A second objective of the present application is to provide an interface test platform.
In order to achieve the above object, an embodiment of the first aspect of the present application provides an interface testing method, so that a user can implement an interface test through an interface testing platform, and in a process of testing an interface, the user does not need to write a test case and a test code, thereby greatly reducing a testing time required for testing the interface, improving a test of the interface test, facilitating the user to test the interface, and improving an interface testing experience of the user.
According to the interface testing method provided by the embodiment of the application, after a user triggers a testing instruction for an interface to be tested on a service side in an interface testing platform, the server side generates an interface testing task according to the testing instruction and sends the interface testing task to an operation end, correspondingly, the operation end obtains a testing case and an interface testing code of the interface to be tested from the server side according to the interface testing task, tests the testing interface according to the interface testing code and the testing case to obtain a testing result of the interface to be tested, and reports the testing result to the server side. Therefore, the interface test can be realized by the user through the interface test platform, the user does not need to write test cases and test codes in the interface test process, the test time required by the interface test is greatly reduced, the interface test is improved, the user can test the interface conveniently, and the interface test experience of the user is improved.
Further, the method further comprises: and the server side acquires the configuration information of the interface to be tested, generates a test case of the interface to be tested according to the configuration information, and stores the test case of the interface to be tested.
Further, the method further comprises: the server side provides an interface configuration interface of the interface to be tested for the user; and the server side determines the configuration information of the interface to be tested according to the configuration operation of the user on the interface configuration interface.
Further, the method further comprises: and the server side receives the test case edited by the user for the interface to be tested on line and binds the test case with the interface to be tested.
Further, the method further comprises: the server side receives a target operation environment selected by the user from a plurality of candidate operation environments; the sending the interface test task to the operation end includes: and taking the running end corresponding to the target running environment as the running end, and sending the interface test task to the running end.
In order to achieve the above object, an embodiment of a second aspect of the present application provides an interface test platform, where the interface test platform includes a server side and a running end, and includes: the server side is used for generating an interface test task according to a test instruction of a user for an interface to be tested and sending the interface test task to the running end; the running end is used for acquiring the test case and the interface test code of the interface to be tested from the server side according to the interface test task, testing the test interface according to the interface test code and the test case to obtain the test result of the interface to be tested, and reporting the test result to the server side.
Further, the server side is further configured to obtain configuration information of the interface to be tested, generate a test case of the interface to be tested according to the configuration information, and store the test case of the interface to be tested.
Further, the server side is further configured to provide an interface configuration interface of the interface to be tested, and determine configuration information of the interface to be tested according to configuration operation of the user on the interface configuration interface.
Further, the server side is further configured to receive a test case edited by the user for the interface to be tested on line, and bind the test case with the interface to be tested.
Further, the server side is further configured to receive a target operating environment selected by the user from a plurality of candidate operating environments; the sending the interface test task to the operation end includes: and taking the running end corresponding to the target running environment as the running end, and sending the interface test task to the running end.
According to the interface test platform provided by the embodiment of the application, after a user triggers a test instruction for an interface to be tested at a service side in the interface test platform, the server side generates an interface test task according to the test instruction and sends the interface test task to an operation end, correspondingly, the operation end obtains a test case and an interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain a test result of the interface to be tested, and reports the test result to the server side. Therefore, the interface test can be realized by the user through the interface test platform, the user does not need to write test cases and test codes in the interface test process, the test time required by the interface test is greatly reduced, the interface test is improved, the user can test the interface conveniently, and the interface test experience of the user is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an interface testing method according to an embodiment of the present application;
FIG. 2 is a block diagram of an interface test platform;
fig. 3 is a schematic structural diagram of an interface test platform according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
An interface test method and an interface test platform according to an embodiment of the present application are described below with reference to the drawings.
Fig. 1 is a schematic flowchart of an interface testing method according to an embodiment of the present application. It should be noted that the interface testing method of the present embodiment is applied to an interface testing platform, where the interface testing platform includes a server side and an operation end.
As shown in fig. 1, the interface testing method may include:
and 101, generating an interface test task by the server side according to a test instruction of a user for the interface to be tested, and sending the interface test task to the running end.
Specifically, when a user needs to test an interface to be tested, the user can log in a server side of an interface test platform through an account and a password, and a test instruction for the interface to be tested is triggered through a user interaction interface provided by the server side.
Correspondingly, after receiving a test instruction of a user for the interface to be tested, the server side generates an interface test task according to the test instruction and sends the interface test task to the corresponding operation end.
In an embodiment of the application, in order to meet a requirement of a user for setting an operating environment of an interface to be tested, the server side may further provide a plurality of candidate operating environments of the interface to be tested for the user, and receive a target operating environment selected by the user from the plurality of candidate operating environments.
Then, the server side can also take the operation end corresponding to the target operation environment as an operation end and send the interface test task to the operation end.
The candidate runtime environments may include a local debug runtime environment, a ci (content integration) integrated runtime environment, and a test proxy runtime environment.
In this embodiment, there is a corresponding relationship between the operation end and the operation environment.
It is understood that the target operating environment in the present embodiment is one of a plurality of candidate operating environments.
And 102, the operation end acquires the test case and the interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain the test result of the interface to be tested, and reports the test result to the server side.
Specifically, after the corresponding operation end can obtain the test case and the interface test code of the interface to be tested from the server side according to the interface test task, the operation end can call the corresponding interface to be tested, perform interface test on the called interface to be tested through the test case according to the code to be tested, obtain the response content of the interface to be tested, compare the response content of the interface to be tested with the expected output described in the test case, and determine the test result of the interface to be tested according to the comparison result. Correspondingly, after the running end obtains the test result of the interface to be tested, the running end can upload the test result of the interface to be tested to the server side through the external interface on the server side. Correspondingly, after the server side obtains the test result of the interface to be tested, the test result of the interface to be tested can be displayed in the test result interface. Therefore, a user can quickly realize the test of the corresponding interface through the interface test platform without writing test cases and interface test codes.
Specifically, the server side stores the corresponding relationship between the interface test task and the interface to be tested, and also stores the test case and the interface test code of the interface to be tested in advance.
It can be understood that, in different application scenarios, the obtaining manner of the test case of the interface to be tested in the server side is different, for example, as follows:
as a possible implementation manner, the server side may also receive a test case that is edited by the user for the interface to be tested on line, and bind the test case with the interface to be tested.
Specifically, before the user executes the test instruction on the interface to be tested, the user may also edit the test case on line on the interface to be tested in combination with the test case editing interface provided by the server side. Correspondingly, the server side receives and stores the test case edited by the user for the interface to be tested.
As another possible implementation manner, the server side may further obtain configuration information of the interface to be tested, generate a test case of the interface to be tested according to the configuration information, and store the test case of the interface to be tested.
Specifically, before the server side stores the test case of the interface to be tested, the user can be prompted to edit the test case, if the user confirms that the test case is edited, the test case edited by the user is obtained, and the edited test case is stored.
It can be understood that, when the test case is edited online, the user can edit the attribute information of the test case, such as the case number, the case name, the parameter value, the expected value, the timeout assertion, and the like.
In this embodiment, the test case corresponding to the interface to be tested may be stored in the storage unit in the server side.
The storage unit may include, but is not limited to, a database, a Zookeeper, a Redis (Remote dictionary service), and the like.
The Zookeeper in this embodiment is used for storing data.
For the test cases stored in the server side, a user can query the corresponding test cases through an external interface provided by the server side, and can edit the queried test cases when the service is required, so that the centralized management of the test cases and the requirement for querying and editing the test cases are realized.
In this embodiment, in order to facilitate the user to set the configuration information for the interface to be tested, the server side may further provide the interface configuration interface of the interface to be tested for the user, and correspondingly, the configuration information of the interface to be tested is determined according to the configuration operation of the user on the interface configuration interface.
The configuration information of the interface to be tested may include, but is not limited to, an interface address, an interface protocol, a security authentication manner (optional), an input parameter, a return value, a general parameter (optional), a timeout assertion (optional), and the like, and may also configure detailed information of the interface parameter, such as whether necessary, a format, a check rule, and the like.
The input parameters are usually a plurality of parameters, and each parameter includes: name, format, maximum length, enumerated value, whether empty is possible, numerical range, and the like.
According to the interface testing method, after a user triggers a testing instruction aiming at an interface to be tested at a service side in an interface testing platform, the server side generates an interface testing task according to the testing instruction and sends the interface testing task to an operation end, correspondingly, the operation end obtains a testing case and an interface testing code of the interface to be tested from the server side according to the interface testing task, tests the testing interface according to the interface testing code and the testing case to obtain a testing result of the interface to be tested, and reports the testing result to the server side. Therefore, the interface test can be realized by the user through the interface test platform, the user does not need to write test cases and test codes in the interface test process, the test time required by the interface test is greatly reduced, the interface test is improved, the user can test the interface conveniently, and the interface test experience of the user is improved.
Based on the above embodiments, in order to make the technical solution of the present application more clearly understood by those skilled in the art, the following describes the interface testing method of the present embodiment with reference to the interface testing platform framework of fig. 2.
As can be seen from fig. 2, the interface test platform in this embodiment takes the management of the interface in combination with the project as an example for the convenience of managing the interface.
The interface to be tested in this embodiment corresponds to the program to be tested, and correspondingly, the program to be tested corresponds to the items, where one or more items correspond to one program to be tested.
Specifically, when the interface test platform in this embodiment is used, the interface test platform in this embodiment may provide a project management interface, and a user may manage a project and an interface under the project through the project management interface.
The project management interface can provide functions of project adding, deleting, modifying and checking, project name registration, deployment environment and the like.
Wherein, when configuring the project in the server side, one or more deployment environments can be configured as needed.
The deployment environment may include a development environment, a test environment, a pressure test environment, a production environment (divided into multiple machine rooms), and the like.
Specifically, when the interface a to be tested of the program to be tested needs to be tested, the specific process of the user testing the interface a to be tested by the interface testing method of the embodiment is as follows:
step 1, a user can create a project B for an interface A to be tested through a project management interface provided by a server side, and set a project name and a deployment environment.
And 2, the user can carry out related configuration on the interface A to be tested through the interface management function provided by the server side.
Specifically, the user may configure the configuration information of the interface a to be tested through an interface configuration interface provided by the server side.
The configuration information may include an interface address, an interface protocol, a security authentication manner (optional), an input parameter, a return value, a general parameter (optional), a timeout assertion (optional), and the like, and may also configure details of the interface parameter, such as whether necessary, a format, a check rule, and the like.
And 3, binding the name and the address of the interface A to be tested with the item A by the server side.
In this embodiment, in order to establish a relationship between the item and the interface, the user may further set a name and an address of the interface to be tested under the item B, so as to manage the interface in accordance with the item.
And 4, determining the test case of the interface A to be tested by the server side.
As an example, in order to reduce the workload of writing test cases by a user, after obtaining the configuration information of the interface a to be tested, the test case may be generated according to the configuration information related to the generation of the test case in the interface a to be tested.
Certainly, in practical application, the user may also manually write the test case according to the requirement, that is, in this embodiment, the server side may also obtain the test case written for the interface a to be tested by the user.
And 5, receiving the operating environment selected by the user for the interface A to be tested by the server side, and triggering a test instruction.
In particular, the user may trigger the test instruction by clicking a "run test" button in the corresponding user interaction interface.
And 6, the server side generates a task to be tested according to the test instruction, determines an operation end according to the operation environment selected by the user, and sends the test task to the operation end.
And 7, the operation end acquires the test case and the interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain the test result of the interface to be tested, and reports the test result to the server side.
For example, taking the running end as the test proxy server as an example, correspondingly, after the test proxy server obtains the test case and the interface test code of the interface to be tested in the server side, the test proxy server initiates interface call, processes assertion, generates a result, and reports the execution result to the server side through the external interface.
It should be noted that the external interface in this embodiment may include a use case query interface and a result reporting interface. For example, the test proxy server may upload the execution result to the server side through the result reporting interface.
As can be seen from fig. 2, the interface test platform further stores an execution history library, that is, after the corresponding user needs to obtain the test result of the corresponding interface, the user can obtain the test result of the corresponding interface from the execution history library on the server side through the query interface provided on the server side.
When the interface test platform in the embodiment tests the corresponding interface, testers do not need to develop customized test programs, the work of writing the interface test programs is reduced, the workload of the testers is reduced, zero codes of the interface test are realized, meanwhile, the dispersed work is shared through a centralized platform, the cooperation and review functions are provided, and the work efficiency is improved.
Fig. 3 is a schematic structural diagram of an interface test platform according to an embodiment of the present application.
As shown in fig. 3, the interface test platform 10 includes a server side 110 and a runtime side 120, including:
the server side 110 is configured to generate an interface test task according to a test instruction of a user for an interface to be tested, and send the interface test task to the running end 120.
The running end 120 is configured to obtain the test case and the interface test code of the interface to be tested from the server side 110 according to the interface test task, test the test interface according to the interface test code and the test case to obtain a test result of the interface to be tested, and report the test result to the server side 110.
In an embodiment of the present application, in order to conveniently obtain the test case corresponding to the interface to be tested, the server side 110 is further configured to obtain configuration information of the interface to be tested, generate the test case of the interface to be tested according to the configuration information, and store the test case of the interface to be tested.
In an implementation of the present application, in order to facilitate a user to configure an interface to be tested, the server side 110 is further configured to provide an interface configuration interface of the interface to be tested, and determine configuration information of the interface to be tested according to a configuration operation of the user on the interface configuration interface.
In an embodiment of the present application, the server side 110 is further configured to receive a test case online edited by a user for the interface to be tested, and bind the test case with the interface to be tested.
In one embodiment of the present application, the server side 110 is further configured to receive a target runtime environment selected by a user from a plurality of candidate runtime environments.
Correspondingly, the server side 110 sends the interface test task to the running end 120, and the specific process is as follows: the runtime 120 corresponding to the target runtime environment is used as the runtime 120, and the interface test task is sent to the runtime 120.
It should be noted that the explanation of the embodiment of the interface testing method is also applicable to the interface testing platform of the embodiment, and is not repeated here.
According to the interface test platform provided by the embodiment of the application, after a user triggers a test instruction for an interface to be tested at a service side in the interface test platform, the server side generates an interface test task according to the test instruction and sends the interface test task to an operation end, correspondingly, the operation end obtains a test case and an interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain a test result of the interface to be tested, and reports the test result to the server side. Therefore, the interface test can be realized by the user through the interface test platform, the user does not need to write test cases and test codes in the interface test process, the test time required by the interface test is greatly reduced, the interface test is improved, the user can test the interface conveniently, and the interface test experience of the user is improved.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. An interface testing method is applied to an interface testing platform, wherein the interface testing platform comprises a server side and a running end, and the method comprises the following steps:
the server side generates an interface test task according to a test instruction of a user for an interface to be tested, and sends the interface test task to the running end;
and the running end acquires the test case and the interface test code of the interface to be tested from the server side according to the interface test task, tests the test interface according to the interface test code and the test case to obtain the test result of the interface to be tested, and reports the test result to the server side.
2. The method of claim 1, wherein the method further comprises:
and the server side acquires the configuration information of the interface to be tested, generates a test case of the interface to be tested according to the configuration information, and stores the test case of the interface to be tested.
3. The method of claim 2, wherein the method further comprises:
the server side provides an interface configuration interface of the interface to be tested for the user;
and the server side determines the configuration information of the interface to be tested according to the configuration operation of the user on the interface configuration interface.
4. The method of claim 1, wherein the method further comprises:
and the server side receives the test case edited by the user for the interface to be tested on line and binds the test case with the interface to be tested.
5. The method of claim 1, wherein the method further comprises:
the server side receives a target operation environment selected by the user from a plurality of candidate operation environments;
the sending the interface test task to the operation end includes:
and taking the running end corresponding to the target running environment as the running end, and sending the interface test task to the running end.
6. An interface test platform, characterized in that, the interface test platform includes server side and operation end, includes:
the server side is used for generating an interface test task according to a test instruction of a user for an interface to be tested and sending the interface test task to the running end;
the running end is used for acquiring the test case and the interface test code of the interface to be tested from the server side according to the interface test task, testing the test interface according to the interface test code and the test case to obtain the test result of the interface to be tested, and reporting the test result to the server side.
7. The interface test platform according to claim 6, wherein the server side is further configured to obtain configuration information of the interface to be tested, generate a test case of the interface to be tested according to the configuration information, and store the test case of the interface to be tested.
8. The interface test platform of claim 7, wherein the server side is further configured to provide an interface configuration interface of the interface to be tested, and determine configuration information of the interface to be tested according to a configuration operation of the user on the interface configuration interface.
9. The interface test platform of claim 6, wherein the server side is further configured to receive a test case edited online by the user for the interface to be tested, and bind the test case with the interface to be tested.
10. The interface testing platform of claim 6, wherein the server side is further configured to receive a target operating environment selected by the user from a plurality of candidate operating environments;
the sending the interface test task to the operation end includes:
and taking the running end corresponding to the target running environment as the running end, and sending the interface test task to the running end.
CN201911093584.0A 2019-11-11 2019-11-11 Interface test method and interface test platform Active CN110888804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911093584.0A CN110888804B (en) 2019-11-11 2019-11-11 Interface test method and interface test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911093584.0A CN110888804B (en) 2019-11-11 2019-11-11 Interface test method and interface test platform

Publications (2)

Publication Number Publication Date
CN110888804A true CN110888804A (en) 2020-03-17
CN110888804B CN110888804B (en) 2022-02-01

Family

ID=69747191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911093584.0A Active CN110888804B (en) 2019-11-11 2019-11-11 Interface test method and interface test platform

Country Status (1)

Country Link
CN (1) CN110888804B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459835A (en) * 2020-04-15 2020-07-28 望海康信(北京)科技股份公司 Service debugging method and device, electronic equipment and computer readable storage medium
CN112162914A (en) * 2020-07-27 2021-01-01 上海金融期货信息技术有限公司 Method and device for automatically generating test case
CN112579453A (en) * 2020-12-22 2021-03-30 平安银行股份有限公司 Task testing method, device, equipment and storage medium
CN113535536A (en) * 2020-04-20 2021-10-22 阿里巴巴集团控股有限公司 Testing, configuring, installing and operating method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326115A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method, device and system for testing application programming interfaces (APIs)
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment
CN109976963A (en) * 2019-03-28 2019-07-05 苏州浪潮智能科技有限公司 A kind of method and apparatus that the BMC test macro based on general-purpose platform is realized
CN110109817A (en) * 2019-03-13 2019-08-09 深圳壹账通智能科技有限公司 Automatic interface testing method, device, equipment and storage medium
CN110309071A (en) * 2019-06-27 2019-10-08 杭州数梦工场科技有限公司 Test the generation method and module, test method and system of code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326115A (en) * 2016-08-17 2017-01-11 北京奇虎科技有限公司 Method, device and system for testing application programming interfaces (APIs)
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment
CN110109817A (en) * 2019-03-13 2019-08-09 深圳壹账通智能科技有限公司 Automatic interface testing method, device, equipment and storage medium
CN109976963A (en) * 2019-03-28 2019-07-05 苏州浪潮智能科技有限公司 A kind of method and apparatus that the BMC test macro based on general-purpose platform is realized
CN110309071A (en) * 2019-06-27 2019-10-08 杭州数梦工场科技有限公司 Test the generation method and module, test method and system of code

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459835A (en) * 2020-04-15 2020-07-28 望海康信(北京)科技股份公司 Service debugging method and device, electronic equipment and computer readable storage medium
CN111459835B (en) * 2020-04-15 2023-08-11 望海康信(北京)科技股份公司 Service debugging method and device, electronic equipment and computer readable storage medium
CN113535536A (en) * 2020-04-20 2021-10-22 阿里巴巴集团控股有限公司 Testing, configuring, installing and operating method, device, electronic equipment and storage medium
CN112162914A (en) * 2020-07-27 2021-01-01 上海金融期货信息技术有限公司 Method and device for automatically generating test case
CN112162914B (en) * 2020-07-27 2024-06-04 上海金融期货信息技术有限公司 Method and device for automatically generating test cases
CN112579453A (en) * 2020-12-22 2021-03-30 平安银行股份有限公司 Task testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110888804B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN110888804B (en) Interface test method and interface test platform
CN107992409B (en) Test case generation method and device, computer equipment and storage medium
US7840841B2 (en) Automatic detection of functional defects and performance bottlenecks in network devices
US7730452B1 (en) Testing a component of a distributed system
CN110784374A (en) Method, device, equipment and system for monitoring operation state of service system
CN113094251B (en) Method and device for testing embedded system, computer equipment and storage medium
CN110908903B (en) Test method based on editable YAML file
CN110569194A (en) interface testing method and device, electronic equipment and storage medium
CN106557419B (en) Program testing method and device
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
CN107632909B (en) Method and system for automatically testing device functions
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN111767218B (en) Automatic test method, equipment and storage medium for continuous integration
CN117376225A (en) Communication test method and electronic equipment
CN111881021A (en) Interface test method, device and system
CN116955193A (en) Interface testing method, device, equipment and storage medium
CN112416735A (en) Application program detection method and device, terminal equipment and storage medium
CN109669829A (en) A kind of diagnosis adjustment method, device and server based on BMC
CN108710692A (en) A kind of automobile part production line test system and method
TW202307670A (en) Device and method for automated generation of parameter testing requests
CN115185819A (en) System testing method, device, equipment and computer readable storage medium
US20160275002A1 (en) Image capture in application lifecycle management for documentation and support
CN112035360A (en) Middleware testing method and device, computer equipment and readable storage medium
CN107544305B (en) Vibration laboratory management method and system
CN112631919B (en) Contrast test method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant