CN111858296B - Interface testing method, device, equipment and storage medium - Google Patents
Interface testing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111858296B CN111858296B CN201911416823.1A CN201911416823A CN111858296B CN 111858296 B CN111858296 B CN 111858296B CN 201911416823 A CN201911416823 A CN 201911416823A CN 111858296 B CN111858296 B CN 111858296B
- Authority
- CN
- China
- Prior art keywords
- interface
- test
- call request
- data corresponding
- app
- 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.)
- Active
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
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3696—Methods or tools to render software testable
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)
- Monitoring And Testing Of Exchanges (AREA)
Abstract
The embodiment of the invention provides an interface testing method, device, equipment and storage medium, wherein the method comprises the following steps: receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface; performing field matching on a plurality of pre-stored test interfaces and an interface call request, and determining the test interface meeting the matching rule as a target test interface; acquiring interface data corresponding to an interface call request according to a target test interface; and sending the interface data to a user interface of the APP to be tested for display so as to complete the interface test. The embodiment of the invention realizes that the interface call request is acquired through the network interceptor configured by the APP to be tested, so that the interface data corresponding to the target test interface can be acquired according to the interface call request and a plurality of pre-stored test interfaces, the test flow of the interface is simplified, and the test efficiency of the tester is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an interface testing method, an interface testing device, interface testing equipment and a storage medium.
Background
Interface testing is a test that tests interfaces between components of a system. Interface testing is mainly used for detecting interaction points between external systems and between internal subsystems. The key point of the test is to check the exchange of data, the transfer and control management process, and the mutual logic dependency between systems. In order to improve the running stability of software (APP) after being online, testers need to perform various interface tests on network request interfaces on the APP before the APP is online.
At present, a common interface testing method is to utilize an interface testing tool (such as Charles, RESTClient) at a personal computer (Personal Computer, PC) end to perform interface joint debugging of a client and a server after development of client APP and server data is completed, so as to complete interface testing. Namely, a tester sets a wifi proxy server of a client, fills in a server address and a port number, opens a testing tool of a PC (personal computer) end to set interception rules for each interface to be tested, the set interception rules are stored in the server, then the client sends an interface calling request to the server, and the server intercepts the request through the interception rules and returns interface data corresponding to the interface to be tested to the client, so that the testing of the interface is completed.
However, the testing method needs to rely on the data of the server, and the interface test can be performed on the APP of the client after the server is completely developed, so that the testing process is complex, and the testing efficiency of testers is caused.
Disclosure of Invention
The embodiment of the invention provides an interface testing method, device, equipment and storage medium, which are used for solving the problem that in the prior art, interface testing depends on data developed by a server, and the testing process is complex, so that the testing efficiency of testers is improved.
A first aspect of an embodiment of the present invention provides an interface testing method, including:
Receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
Performing field matching on a plurality of pre-stored test interfaces and the interface call request, and determining the test interface meeting the matching rule as a target test interface;
Acquiring interface data corresponding to the interface call request according to the target test interface;
and sending the interface data to a user interface of the APP to be tested for display so as to complete interface testing.
Optionally, the field matching is performed on a plurality of pre-stored test interfaces and the interface call request, and the test interface meeting the matching rule is determined as the target test interface, which includes:
Respectively matching the first field and the second field of the test interface with the first field and the second field of the interface call request;
And if the first field of the test interface is the same as the first field of the interface call request and the second field of the test interface is contained in the second field of the interface call request, determining the test interface as a target test interface.
Optionally, the obtaining, according to the target test interface, interface data corresponding to the interface call request includes:
acquiring an interface address of the target test interface;
Acquiring interface data corresponding to the target interface from a plurality of prestored interface data according to the interface address;
and determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
Optionally, the interface testing method further includes:
And if the test interface corresponding to the interface calling request does not exist in the plurality of pre-stored test interfaces, generating the test interface according to the information input by the user.
Optionally, the interface testing method further includes:
If the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
Optionally, the interface testing method further includes:
And receiving and storing the interface data corresponding to the generated test interface, wherein the interface data corresponding to the generated test interface is acquired and transmitted by a network interceptor configured by the APP to be tested.
Optionally, the interface testing method further includes:
taking interface data corresponding to the generated test interface as template data;
Modifying the template data according to a data modification instruction input by a user to obtain at least one interface data corresponding to the generated test interface;
and storing the corresponding relation between the test interface and the at least one interface data.
A second aspect of an embodiment of the present invention provides an interface testing method, including:
configuring a network interceptor of the APP to be tested;
generating an interface calling request according to an interface test instruction input by a user at a test interface;
The interface call request is sent to a test end through the network interceptor, so that the test end receives the interface call request, a plurality of pre-stored test interfaces are subjected to field matching with the interface call request, the test interface meeting the matching rule is determined to be a target test interface, and interface data corresponding to the interface call request is obtained according to the target test interface;
and receiving the interface data, and displaying the interface data on a user interface of the APP to be tested to finish interface testing.
Optionally, the interface testing method further includes:
receiving interface data corresponding to a generated test interface sent by a server, wherein the test interface is generated by a test end according to information input by a user;
and displaying the interface data corresponding to the generated test interface on the user interface of the APP to be tested.
Optionally, the interface testing method further includes:
the network interceptor acquires the interface data corresponding to the generated test interface and sends the interface data corresponding to the generated test interface to a test end, so that the test end receives and stores the interface data corresponding to the generated test interface.
A third aspect of an embodiment of the present invention provides an interface testing apparatus, including:
The request receiving module is used for receiving an interface call request sent by the APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
the interface matching module is used for carrying out field matching on a plurality of pre-stored test interfaces and the interface calling request, and determining the test interface meeting the matching rule as a target test interface;
The data acquisition module is used for acquiring interface data corresponding to the interface call request according to the target test interface;
And the first sending module is used for sending the interface data to a user interface of the APP to be tested for display so as to complete interface test.
Optionally, the interface matching module is specifically configured to:
Respectively matching the first field and the second field of the test interface with the first field and the second field of the interface call request;
And if the first field of the test interface is the same as the first field of the interface call request and the second field of the test interface is contained in the second field of the interface call request, determining the test interface as a target test interface.
Optionally, the data acquisition module is specifically configured to:
acquiring an interface address of the target test interface;
Acquiring interface data corresponding to the target interface from a plurality of prestored interface data according to the interface address;
and determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
Optionally, the interface testing device further includes:
And the first processing module is used for generating a test interface according to the information input by the user if the test interface corresponding to the interface calling request does not exist in the plurality of pre-stored test interfaces.
Optionally, the first processing module is further configured to:
If the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
Optionally, the first processing module is further configured to:
And receiving and storing the interface data corresponding to the generated test interface, wherein the interface data corresponding to the generated test interface is acquired and transmitted by a network interceptor configured by the APP to be tested.
A fourth aspect of an embodiment of the present invention provides an interface testing apparatus, including:
The information configuration module is used for configuring a network interceptor of the APP to be tested;
the request generation module is used for generating an interface call request according to an interface test instruction input by a user at the test interface;
the second sending module is used for sending the interface calling request to a testing end through the network interceptor so that the testing end receives the interface calling request, performing field matching on a plurality of pre-stored testing interfaces and the interface calling request, determining the testing interface meeting the matching rule as a target testing interface, and acquiring interface data corresponding to the interface calling request according to the target testing interface;
the data receiving module is used for receiving the interface data and displaying the interface data on a user interface of the APP to be tested so as to finish interface testing.
Optionally, the data receiving module is further configured to:
receiving interface data corresponding to a generated test interface sent by a server, wherein the test interface is generated by a test end according to information input by a user;
and displaying the interface data corresponding to the generated test interface on the user interface of the APP to be tested.
A fifth aspect of an embodiment of the present invention provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the interface testing method provided in the first aspect of the embodiment of the present invention.
A sixth aspect of an embodiment of the present invention provides an electronic device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the interface testing method provided in the second aspect of the embodiment of the present invention.
A seventh aspect of the embodiments of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor, implement the interface testing method provided in the first aspect of the embodiments of the present invention.
An eighth aspect of the embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when executed by a processor, implement the interface testing method provided in the second aspect of the embodiment of the present invention.
The embodiment of the invention provides an interface test method, device, equipment and storage medium, which are used for receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface; performing field matching on a plurality of pre-stored test interfaces and the interface call request, and determining the test interface meeting the matching rule as a target test interface; acquiring interface data corresponding to the interface call request according to the target test interface; and sending the interface data to a user interface of the APP to be tested for display so as to complete interface testing. The process does not depend on data developed by an interface test tool and a server, and the interface call request is obtained through the network interceptor configured by the APP to be tested, so that the interface data corresponding to the target test interface can be obtained according to the interface call request and a plurality of pre-stored test interfaces, the test flow of the interface is simplified, and the test efficiency of testers is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is an application scenario diagram of an interface test method according to an exemplary embodiment of the present invention;
FIG. 2 is a flow chart of an interface testing method according to an exemplary embodiment of the invention;
FIG. 3 is a flow chart of an interface test method according to another exemplary embodiment of the present invention;
FIG. 4 is a flow chart of an interface test method according to another exemplary embodiment of the present invention;
FIG. 5 is a flow chart of an interface test method according to another exemplary embodiment of the present invention;
FIG. 6 is an application scenario diagram of an interface test method according to another exemplary embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface testing apparatus according to an exemplary embodiment of the present invention;
FIG. 8 is a schematic diagram of an interface test apparatus according to another exemplary embodiment of the present invention;
fig. 9 is a schematic structural view of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, a common interface testing method is to utilize an interface testing tool (such as Charles, RESTClient) at a personal computer (Personal Computer, PC) end to perform interface joint debugging of a client and a server after development of client APP and server data is completed, so as to complete interface testing. Namely, a tester sets a wifi proxy server of a client, fills in a server address and a port number, opens a testing tool of a PC (personal computer) end to set interception rules for each interface to be tested, the set interception rules are stored in the server, then the client sends an interface calling request to the server, and the server intercepts the request through the interception rules and returns interface data corresponding to the interface to be tested to the client, so that the testing of the interface is completed.
However, the testing method needs to rely on data of the server and interface testing tools, and after the server is completely developed, the APP of the client can be subjected to interface testing, so that the testing process is complex, and the testing efficiency of testers is caused.
Aiming at the defect, the technical scheme of the invention mainly comprises the following steps: receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface; then, carrying out field matching on a plurality of pre-stored test interfaces and the interface calling request, and determining the test interface meeting the matching rule as a target test interface; acquiring interface data corresponding to the interface call request according to the target test interface; because the target test interface and the interface call request are matched, the interface data corresponding to the target test interface is the interface data corresponding to the interface call request, and the interface data is sent to the user interface of the APP to be tested for display so as to complete the interface test. Because the interface calling request is acquired through the network interceptor configured by the APP to be tested, the interface data corresponding to the target test interface can be obtained according to the interface calling request and a plurality of pre-stored test interfaces, the test flow of the interface is simplified, and the test efficiency of testers is improved.
Fig. 1 is an application scenario diagram of an interface test method according to an exemplary embodiment of the present invention.
As shown in fig. 1, the basic architecture of the scenario mainly includes: a test end 11 and a client end 12; the tester clicks the interface name (such as coupon acquisition) of the corresponding interface on the user interface of the APP to be tested, which is displayed by the client, so as to generate a corresponding interface call request, and a network interceptor configured in the APP to be tested acquires the interface call request and sends the interface call request to the testing end; the test terminal receives the interface call request and carries out corresponding processing to obtain interface data corresponding to the interface call request, and the obtained interface data is sent to a user interface of the APP to be tested of the client terminal for display, so that a tester judges the test result.
It should be noted that, the client may be, but not limited to, a mobile phone, a tablet computer, etc. capable of installing the APP to be tested, and the test terminal may be, but not limited to, a PC terminal.
Fig. 2 is a flow chart of an interface testing method according to an exemplary embodiment of the present invention, where the method may be executed by the testing end in the embodiment shown in fig. 1.
As shown in fig. 2, the method provided in this embodiment may include the following steps:
S201, receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
specifically, when a user needs to test an interface, a network interceptor needs to be configured in the to-be-tested APP of the client, and the network interceptor is used for intercepting and obtaining an interface call request input by the user in the user interface of the to-be-tested APP, wherein the interface call request input by the user in the user interface of the to-be-tested APP is a corresponding interface call request generated when the user clicks a man-machine interaction interface in the interface. For example, in the interface of the client display interface in fig. 1, if the user wants to test the interface, clicking the interface, the client generates a corresponding interface call request after clicking, and in the existing interface test method, the interface test tool is used to send the request to the server to request to obtain the interface data corresponding to the interface of "obtaining the coupon". In the APP to be tested in this embodiment, due to the network interceptor, the interface call request may be intercepted, and the interface call request may be sent to the test end, so that the test end receives the interface call request. That is, in this embodiment, the interface call request sent by the APP to be tested does not reach the server, but is intercepted by the network interceptor and sent to the test end.
It can be understood that there may be multiple interfaces to be tested in the APP to be tested, the network interceptor specifically intercepts which interface call request corresponding to the interface may be configured by the user according to the needs, and accordingly, the APP to be tested includes a configuration interface, as shown in fig. 6 (a), the configuration interface includes interface names of multiple interfaces and an intercept switch corresponding to each interface, the user wants to test which interface, and then can open the intercept switch corresponding to the corresponding interface, the network interceptor intercepts the interface call request corresponding to the interface, and for the interface where the intercept switch is in the off state, the network interceptor does not intercept the corresponding interface call request. For example, the interception switch of the interface 1 is turned on, and the interception switches of the interface 2 and the interface 3 are turned off, so that during the interface test, the network interceptor only intercepts the interface call request corresponding to the interface 1 and sends the interface call request corresponding to the interface 1 to the test end, so that the test end receives the interface call request corresponding to the interface 1.
S202, field matching is carried out on a plurality of pre-stored test interfaces and the interface calling request, and the test interface meeting the matching rule is determined to be a target test interface.
Specifically, a plurality of test interfaces are stored in a local memory of the test end, each test interface is subjected to field matching with an interface call request, and the test interface meeting the matching rule is determined as a target test interface.
S203, acquiring interface data corresponding to the interface call request according to the target test interface.
Specifically, the local memory of the test end further includes interface data corresponding to each of the plurality of test interfaces, and a corresponding relationship between the test interfaces and the interface data. And determining interface data corresponding to the target test interface in the local memory according to the corresponding relation, wherein the interface data corresponding to the target test interface is interface data which is required to be requested by the interface call request because the target test interface is matched with the interface call request.
It should be noted that, the interface data stored in the local memory of the test end is analog data, which may also be referred to as Mock data, and before the data of the server end is not developed, the user may use the Mock data in the local memory of the test end to perform the interface test, where the functions of the Mock data and the real data of the server end are the same.
And S204, the interface data is sent to a user interface of the APP to be tested for display so as to complete interface testing.
And sending interface data corresponding to the interface call request to a user interface of the APP to be tested for display, and obtaining a test result according to the display content by a user so as to complete interface test.
In the embodiment, an interface call request sent by an APP to be tested is received, wherein the interface call request is obtained by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface; performing field matching on a plurality of pre-stored test interfaces and the interface call request, and determining the test interface meeting the matching rule as a target test interface; acquiring interface data corresponding to the interface call request according to the target test interface; and sending the interface data to a user interface of the APP to be tested for display so as to complete interface testing. The process does not depend on data developed by an interface test tool and a server, and the interface call request is obtained through the network interceptor configured by the APP to be tested, so that the interface data corresponding to the target test interface can be obtained according to the interface call request and a plurality of pre-stored test interfaces, the test flow of the interface is simplified, and the test efficiency of testers is improved.
Fig. 3 is a flow chart of an interface test method according to another exemplary embodiment of the present invention, which is described in more detail on the basis of the embodiment shown in fig. 2.
As shown in fig. 3, the method provided in this embodiment may include the following steps:
S301, receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface.
S302, the first field and the second field of the test interface are respectively matched with the first field and the second field of the interface call request.
Specifically, the interface call request and the test interface are in the format of protocol:// host: port/path/query, which comprises five fields, namely a protocol field, a host field, a port field, a path field and a query field.
The first field may be a path field, and the second field may be a query field, where the path field of each test interface is matched with the path field of the interface call request, and the query field of each test interface is matched with the query field of the interface call request.
It is to be understood that the first field and the second field may also be other fields of the above five fields, which is not limited in this embodiment.
S303, if the first field of the test interface is the same as the first field of the interface call request, and the second field of the test interface is included in the second field of the interface call request, determining the test interface as a target test interface.
In some embodiments, if the path field of the test interface and the path field of the interface call request are identical and the query field of the test interface is included in the query field of the interface call request, the test interface is determined to be the target test interface.
S304, obtaining the interface address of the target test interface.
S305, acquiring interface data corresponding to the target interface from a plurality of pre-stored interface data according to the interface address.
Specifically, the interface address of the target test interface is the storage address of the interface data corresponding to the target test interface, and the interface data of the target test interface can be found in the local memory of the test end according to the interface address of the target test interface.
S306, determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
Specifically, the target test interface is obtained by performing field matching on the interface call request, so that the interface data corresponding to the target test interface is the interface data to be requested by the interface call request.
S307, the interface data are sent to a user interface of the APP to be tested for display so as to complete interface testing.
It should be noted that, the steps not described in detail above may refer to the detailed description of each step in the embodiment shown in fig. 1, which is not described herein.
Fig. 4 is a flow chart of an interface testing method according to another exemplary embodiment of the present invention, which is further described in addition to the embodiments shown in fig. 2 and 3.
As shown in fig. 4, on the basis of the interface testing method provided by the embodiments shown in fig. 1 and fig. 2, the method provided by this embodiment may further include the following steps:
s401, if the test interface corresponding to the interface call request does not exist in the plurality of pre-stored test interfaces, generating a test interface according to information input by a user.
Specifically, the interface that the user wants to test may not exist in the local memory of the testing end, and then the user is required to add related information of the interface that needs to be tested, such as information of interface name, interface protocol, interface address, and the like, into the local memory of the testing end.
For example, the local memory of the test end includes related information of the interface 1 (such as an interface for acquiring a coupon), the interface 2 and the interface 3, if the user wants to test the interface 4, the related information of the interface 4 needs to be added to the test end, and after the addition is completed, the configuration interface of the APP to be tested of the client end correspondingly displays the name of the interface 4 and the corresponding interception switch. Before the interface 4 is not added to the testing end, the configuration interface of the APP to be tested is shown in fig. 6 (a); after the test terminal adds the interface 4, the configuration interface of the APP to be tested is shown in fig. 6 (d).
And S402, if the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
Specifically, the local memory of the test end may not have the interface data corresponding to the newly generated test interface, when the test end receives the call request corresponding to the newly generated test interface, the interface data returned to the client end by the test end is empty, at this time, the test end sends the interface call request to the service area to obtain the interface data corresponding to the newly generated test interface, and after receiving the interface call request, the service end sends the corresponding interface data to the client end and displays the interface data on the user interface of the APP to be tested of the client end so as to complete the test of the newly generated interface.
S403, receiving and storing interface data corresponding to the generated test interface, wherein the interface data corresponding to the generated test interface is acquired and transmitted by a network interceptor configured by the APP to be tested.
Specifically, after the server sends the interface data corresponding to the newly generated test interface to the client, the network interceptor configured in the APP to be tested acquires the interface data, and sends the interface data corresponding to the newly generated test interface to the test end. The test end interfaces to the interface data and then stores the interface data in the local memory for later use in testing.
S404, interface data corresponding to the generated test interface is used as template data.
S405, modifying the template data according to a data modification instruction input by a user to obtain at least one interface data corresponding to the generated test interface.
Specifically, for the same interface corresponding to data in a plurality of different scenes, for example, purchase interfaces in a shopping interface, the price returned when different commodities are selected and the purchase button is clicked is different. Therefore, when one interface is tested, the corresponding interface data is different according to different scenes. The interface data in one scene is used as template data, and a user slightly changes the template data at the test end according to actual requirements, so that the interface data corresponding to the interface in other scenes can be obtained.
S406, storing the corresponding relation between the test interface and the at least one interface data.
After obtaining the interface data corresponding to the same interface in different scenes, storing the corresponding relation between the test interface and the interface data in different scenes in a local memory for use in test.
In this embodiment, the real interface data of the server side acquired and sent by the network interceptor is acquired and stored, and the interface data is modified as a data template to obtain the interface data corresponding to the same interface in different scenes. The method and the device avoid that a user establishes a data template for each test scene of the same interface, and further improve the test efficiency of the interface.
Fig. 5 is a flowchart of an interface testing method according to another exemplary embodiment of the present invention, where the method may be performed by the client in the embodiment shown in fig. 1.
As shown in fig. 5, the method provided in this embodiment may include the following steps:
S501, configuring a network interceptor of the APP to be tested.
Specifically, when a user needs to test an interface of an APP to be tested, a network interceptor needs to be configured in the APP to be tested, that is, a network interception code is written into an application program. The network interceptor is used for intercepting and acquiring an interface call request input by a user on a user interface of the APP to be tested, and the interface call request input by the user on the user interface of the APP to be tested is a corresponding interface call request generated when the user clicks a man-machine interaction interface in the interface. For example, in the interface of the client display interface in fig. 1, if the user wants to test the interface, clicking the interface, the client generates a corresponding interface call request after clicking, and in the existing interface test method, the interface test tool is used to send the request to the server to request to obtain the interface data corresponding to the interface of "obtaining the coupon". In the APP to be tested in this embodiment, due to the network interceptor, the interface call request may be intercepted, and the interface call request may be sent to the test end, so that the test end receives the interface call request. That is, in this embodiment, the interface call request sent by the APP to be tested does not reach the server, but is intercepted by the network interceptor and sent to the test end.
S502, generating an interface calling request according to an interface test instruction input by a user on a test interface.
S503, the interface call request is sent to a test end through the network interceptor, so that the test end receives the interface call request, field matching is carried out on a plurality of pre-stored test interfaces and the interface call request, the test interface meeting the matching rule is determined to be a target test interface, and interface data corresponding to the interface call request is obtained according to the target test interface.
Specifically, in steps S502 and S503, there may be multiple interfaces to be tested in the APP to be tested, the network interceptor specifically intercepts which interface call request corresponding to which interface may be configured by the user according to the needs, and accordingly, the APP to be tested includes a configuration interface, as shown in fig. 6 (a), the configuration interface includes interface names of multiple interfaces and an interception switch corresponding to each interface, the user wants to test which interface, and then opens the interception switch corresponding to the corresponding interface, so as to generate a corresponding interface test instruction, the network interceptor intercepts an interface call request corresponding to the interface, and for the interface where the interception switch is in a closed state, the network interceptor does not intercept the corresponding interface call request. For example, the interception switch of the interface 1 is turned on (for example, the interception switch for acquiring the coupon interface is turned on), and the interception switches of the interface 2 and the interface 3 are turned off, so that during the interface test, the network interceptor only intercepts the interface call request corresponding to the interface 1 and sends the interface call request corresponding to the interface 1 to the test end, so that the test end receives the interface call request corresponding to the interface 1.
S504, receiving the interface data, and displaying the interface data on a user interface of the APP to be tested to finish interface testing.
The interface test method provided by the embodiment does not depend on the data developed by the interface test tool and the server, and realizes that the interface call request is acquired through the network interceptor configured by the APP to be tested, so that the interface data corresponding to the target test interface can be acquired according to the interface call request and a plurality of pre-stored test interfaces, the test flow of the interface is simplified, and the test efficiency of testers is improved.
Further, the method provided in this embodiment further includes: receiving interface data corresponding to a generated test interface sent by a server, wherein the test interface is generated by a test end according to information input by a user; and displaying the interface data corresponding to the generated test interface on the user interface of the APP to be tested.
Specifically, when the local memory of the test end does not have the interface that the user wants to test, the user is required to add related information of the interface to be tested, such as information of interface name, interface protocol, interface address, etc., into the local memory of the test end. However, there may be no interface data corresponding to the newly generated test interface in the local memory of the test end, when the test end receives the call request corresponding to the newly generated test interface, the interface data returned to the client end by the test end is null, at this time, the test end will send the interface call request to the service area to obtain the interface data corresponding to the newly generated test interface, after receiving the interface call request, the service end will send the corresponding interface data to the client end, the client end receives the interface data, and displays the interface data on the user interface of the APP to be tested to obtain the test result, so as to complete the interface test.
Further, the interface testing method provided in this embodiment further includes: the network interceptor acquires the interface data corresponding to the generated test interface and sends the interface data corresponding to the generated test interface to a test end, so that the test end receives and stores the interface data corresponding to the generated test interface.
Specifically, in the previous step, for the newly added test interface, the local memory of the test terminal may not have the interface data corresponding to the test interface, so that the embodiment uses the network interceptor configured in the APP to be tested to intercept and obtain the interface data corresponding to the test interface, and sends the interface data to the test terminal, so that the test terminal stores the interface data corresponding to the test interface in the local memory for use in the subsequent test.
Fig. 6 is an application scenario diagram of an interface test method according to another exemplary embodiment of the present invention, where the interface test method according to the embodiment shown in fig. 2 to 5 is used to describe the whole execution process of the interface test method by using an interactive execution example of a test end and a client.
As shown in fig. 6, the basic architecture of the scenario mainly includes: the client 61, the testing end 62 and the server 63, specifically, before the user performs the interface test, the user configures the network interceptor in the APP to be tested of the client, then opens the configuration interface of the APP to be tested of the client, the names of a plurality of interfaces and the interception switches are displayed in the configuration interface (as shown in fig. 6 (a)), the user wants to test which interface to open the interception switch corresponding to the corresponding interface name, for example, open the interception switch for obtaining the coupon, and the configuration interface displays the related information of the interface. Then clicking a network interface with the name of coupon acquisition on a user interface of the APP to be tested (as shown in fig. 6 (b)), generating a corresponding interface call request by the APP to be tested, intercepting and acquiring the interface call request by a network interceptor, sending the interface call request to a test end, after receiving the interface call request by the test end, matching the interface call request with a locally stored test interface, determining the test interface conforming to a matching rule as a target test interface, acquiring interface data corresponding to the target test interface in a local memory according to an interface address of the target test interface, sending the interface data corresponding to the target test interface to a client, and displaying the interface data returned by the test end on the user interface of the APP to be tested (as shown in fig. 6 (c)), wherein the interface data returned by the test end is analog data (or referred to as Mock data).
Further, when the local memory of the test end does not include the interface to be tested by the user, the interface information corresponding to the test interface is added in the local memory of the test end, and accordingly, the configuration interface of the APP to be tested of the client displays the newly added interface name and the interception switch (for example, the newly added interface is the interface 4, as shown in fig. 6 (d)), the configuration interface of the APP to be tested newly adds the name and the interception switch of the interface 4, and the interception switch corresponding to the newly added test interface is turned on. When the test end receives a call request corresponding to the newly added test interface, if the local memory of the test end does not contain interface data corresponding to the newly added test interface, the call request is sent to the server, the server returns real interface data to the client, a network interceptor configured in the APP to be tested of the client intercepts and sends the real interface data returned by the server to the test end, and the test end stores the real interface data in the local memory, as shown in fig. 6 (e), and the real data can be used as template data.
Fig. 7 is a schematic structural diagram of an interface test device according to an exemplary embodiment of the present invention.
As shown in fig. 7, the interface testing apparatus provided in this embodiment includes:
A request receiving module 701, configured to receive an interface call request sent by an APP to be tested, where the interface call request is obtained by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
The interface matching module 702 is configured to perform field matching on a plurality of pre-stored test interfaces and the interface call request, and determine a test interface that meets a matching rule as a target test interface;
A data acquisition module 703, configured to acquire interface data corresponding to the interface call request according to the target test interface;
and the first sending module 704 is configured to send the interface data to a user interface of the APP to be tested for display to complete an interface test.
Further, the interface matching module 702 is specifically configured to: respectively matching the first field and the second field of the test interface with the first field and the second field of the interface call request; and if the first field of the test interface is the same as the first field of the interface call request and the second field of the test interface is contained in the second field of the interface call request, determining the test interface as a target test interface.
Further, the data acquisition module is specifically configured to: acquiring an interface address of the target test interface; acquiring interface data corresponding to the target interface from a plurality of prestored interface data according to the interface address; and determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
Optionally, the interface testing method provided in this embodiment further includes: the first processing module 705 is configured to generate a test interface according to information input by a user if a test interface corresponding to the interface call request does not exist in the plurality of pre-stored test interfaces.
Optionally, the first processing module is further configured to: if the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
Optionally, the first processing module is further configured to: and receiving and storing the interface data corresponding to the generated test interface, wherein the interface data corresponding to the generated test interface is acquired and transmitted by a network interceptor configured by the APP to be tested.
Optionally, the first processing module is further configured to: taking interface data corresponding to the generated test interface as template data; modifying the template data according to a data modification instruction input by a user to obtain at least one interface data corresponding to the generated test interface; and storing the corresponding relation between the test interface and the at least one interface data.
For a detailed description of the function of each module in this embodiment, reference is made to the description of the embodiment of the method, and detailed description thereof will not be provided herein.
Fig. 8 is a schematic structural view of an interface test apparatus according to another exemplary embodiment of the present invention.
As shown in fig. 8, the interface testing apparatus provided in this embodiment includes:
An information configuration module 801, configured to configure a network interceptor of an APP to be tested;
a request generating module 802, configured to generate an interface call request according to an interface test instruction input by a user at a test interface;
A second sending module 803, configured to send the interface call request to a test end through the network interceptor, so that the test end receives the interface call request, performs field matching on a plurality of pre-stored test interfaces and the interface call request, determines a test interface that meets a matching rule as a target test interface, and obtains interface data corresponding to the interface call request according to the target test interface;
The data receiving module 804 is configured to receive the interface data, and display the interface data on a user interface of the APP to be tested to complete an interface test.
Further, the data receiving module is further configured to: receiving interface data corresponding to a generated test interface sent by a server, wherein the test interface is generated by a test end according to information input by a user; and displaying the interface data corresponding to the generated test interface on the user interface of the APP to be tested.
Further, the network interceptor acquires the interface data corresponding to the generated test interface, and sends the interface data corresponding to the generated test interface to the test end, so that the test end receives and stores the interface data corresponding to the generated test interface.
For a detailed description of the function of each module in this embodiment, reference is made to the description of the embodiment of the method, and detailed description thereof will not be provided herein.
Fig. 9 is a schematic diagram of an electronic hardware structure according to an embodiment of the present invention. As shown in fig. 9, the electronic device 900 provided in this embodiment includes: at least one processor 901 and a memory 902. The processor 901 and the memory 902 are connected by a bus 903.
In a specific implementation process, at least one processor 901 executes computer-executable instructions stored in the memory 902, so that the at least one processor 901 performs the interface test method in the above method embodiment.
In this embodiment, the electronic device may be a terminal, such as a mobile phone, a computer, or the like.
The specific implementation process of the processor 901 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 9, it should be understood that the Processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: DIGITAL SIGNAL Processor, abbreviated as DSP), application-specific integrated circuits (english: application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
Another embodiment of the present application provides a computer readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the interface test method in the above method embodiment.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an Application SPECIFIC INTEGRATED Circuits (ASIC). The processor and the readable storage medium may reside as discrete components in a device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (18)
1. An interface testing method, comprising:
Receiving an interface call request sent by an APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
Respectively matching a first field and a second field of a test interface with the first field and the second field of the interface call request; if the first field of the test interface is the same as the first field of the interface call request, and the second field of the test interface is contained in the second field of the interface call request, determining the test interface as a target test interface;
Acquiring interface data corresponding to the interface call request according to the target test interface;
and sending the interface data to a user interface of the APP to be tested for display so as to complete interface testing.
2. The method according to claim 1, wherein the obtaining, according to the target test interface, the interface data corresponding to the interface call request includes:
acquiring an interface address of the target test interface;
Acquiring interface data corresponding to the target interface from a plurality of prestored interface data according to the interface address;
and determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
3. The method as recited in claim 2, further comprising:
And if the test interface corresponding to the interface calling request does not exist in the plurality of pre-stored test interfaces, generating the test interface according to the information input by the user.
4. A method according to claim 3, further comprising:
If the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
5. The method as recited in claim 4, further comprising:
And receiving and storing the interface data corresponding to the generated test interface, wherein the interface data corresponding to the generated test interface is acquired and transmitted by a network interceptor configured by the APP to be tested.
6. The method according to claim 4 or 5, further comprising:
taking interface data corresponding to the generated test interface as template data;
Modifying the template data according to a data modification instruction input by a user to obtain at least one interface data corresponding to the generated test interface;
and storing the corresponding relation between the test interface and the at least one interface data.
7. An interface testing method, the method comprising:
configuring a network interceptor of the APP to be tested;
generating an interface calling request according to an interface test instruction input by a user at a test interface;
The interface call request is sent to a test end through the network interceptor, so that the test end receives the interface call request, a plurality of pre-stored test interfaces are subjected to field matching with the interface call request, the test interface meeting the matching rule is determined to be a target test interface, and interface data corresponding to the interface call request is obtained according to the target test interface;
and receiving the interface data, and displaying the interface data on a user interface of the APP to be tested to finish interface testing.
8. The method as recited in claim 7, further comprising:
receiving interface data corresponding to a generated test interface sent by a server, wherein the test interface is generated by a test end according to information input by a user;
and displaying the interface data corresponding to the generated test interface on the user interface of the APP to be tested.
9. The method as recited in claim 8, further comprising:
the network interceptor acquires the interface data corresponding to the generated test interface and sends the interface data corresponding to the generated test interface to a test end, so that the test end receives and stores the interface data corresponding to the generated test interface.
10. An interface testing apparatus, comprising:
The request receiving module is used for receiving an interface call request sent by the APP to be tested, wherein the interface call request is acquired by a network interceptor configured by the APP to be tested according to an interface test instruction input by a user at a test interface;
The interface matching module is used for respectively matching the first field and the second field of the test interface with the first field and the second field of the interface call request; if the first field of the test interface is the same as the first field of the interface call request, and the second field of the test interface is contained in the second field of the interface call request, determining the test interface as a target test interface;
The data acquisition module is used for acquiring interface data corresponding to the interface call request according to the target test interface;
And the first sending module is used for sending the interface data to a user interface of the APP to be tested for display so as to complete interface test.
11. The interface testing device according to claim 10, wherein the data acquisition module is specifically configured to:
acquiring an interface address of the target test interface;
Acquiring interface data corresponding to the target interface from a plurality of prestored interface data according to the interface address;
and determining the interface data corresponding to the target test interface as the interface data corresponding to the interface call request.
12. The interface testing apparatus of claim 11, further comprising:
And the first processing module is used for generating a test interface according to the information input by the user if the test interface corresponding to the interface calling request does not exist in the plurality of pre-stored test interfaces.
13. The interface testing apparatus of claim 12, wherein the first processing module is further configured to:
If the fact that the interface data corresponding to the generated test interface does not exist in the plurality of pre-stored interface data is judged, the interface calling request is sent to a server, so that the server sends the interface data corresponding to the generated test interface to the user interface of the APP to be tested for display.
14. An interface testing apparatus, comprising:
The information configuration module is used for configuring a network interceptor of the APP to be tested;
the request generation module is used for generating an interface call request according to an interface test instruction input by a user at the test interface;
the second sending module is used for sending the interface calling request to a testing end through the network interceptor so that the testing end receives the interface calling request, performing field matching on a plurality of pre-stored testing interfaces and the interface calling request, determining the testing interface meeting the matching rule as a target testing interface, and acquiring interface data corresponding to the interface calling request according to the target testing interface;
the data receiving module is used for receiving the interface data and displaying the interface data on a user interface of the APP to be tested so as to finish interface testing.
15. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
The at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the interface testing method of any one of claims 1 to 6.
16. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the interface testing method of any one of claims 7 to 9.
17. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the interface test method of any one of claims 1 to 6.
18. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the interface test method of any of claims 7 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911416823.1A CN111858296B (en) | 2019-12-31 | 2019-12-31 | Interface testing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911416823.1A CN111858296B (en) | 2019-12-31 | 2019-12-31 | Interface testing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111858296A CN111858296A (en) | 2020-10-30 |
CN111858296B true CN111858296B (en) | 2024-06-25 |
Family
ID=72970802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911416823.1A Active CN111858296B (en) | 2019-12-31 | 2019-12-31 | Interface testing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111858296B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113760715B (en) * | 2020-11-12 | 2024-07-16 | 北京京东振世信息技术有限公司 | Method and device for testing system |
CN114666301B (en) * | 2020-12-22 | 2024-07-05 | 深圳Tcl新技术有限公司 | APP testing method and system based on mock server |
CN112685305B (en) * | 2020-12-30 | 2024-02-09 | 抖音视界有限公司 | User interface performance test method and device, electronic equipment and readable storage medium |
CN112783776A (en) * | 2021-01-27 | 2021-05-11 | 上海淇玥信息技术有限公司 | Interface routing-based test method and device and electronic equipment |
CN113704114A (en) * | 2021-08-30 | 2021-11-26 | 平安普惠企业管理有限公司 | Automatic testing method, device, equipment and medium for functional interface |
CN114113711A (en) * | 2021-11-30 | 2022-03-01 | 武汉天喻信息产业股份有限公司 | Method and system for multi-interface parallel testing |
CN114238129A (en) * | 2021-12-21 | 2022-03-25 | 平安壹钱包电子商务有限公司 | Method, apparatus, device and storage medium for generating interface data |
CN115114161A (en) * | 2022-06-30 | 2022-09-27 | 北京城市网邻信息技术有限公司 | Online testing method and device, electronic equipment and storage medium |
CN115914049A (en) * | 2022-10-21 | 2023-04-04 | 阿里巴巴(中国)有限公司 | Test method, device, system, electronic equipment and readable storage medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7987451B1 (en) * | 2006-11-20 | 2011-07-26 | Mcafee, Inc. | System, method and computer program product for verifying invocations of interfaces |
US10305962B1 (en) * | 2015-12-30 | 2019-05-28 | EMC IP Holding Company LLC | Unit testing clients of web services |
CN105955878A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Server-side test method and system |
US10931558B2 (en) * | 2017-11-27 | 2021-02-23 | Jpmorgan Chase Bank, N.A. | Script accelerate |
CN108255730B (en) * | 2018-01-23 | 2021-04-02 | 平安普惠企业管理有限公司 | Software interface testing method, testing equipment, storage medium and device |
CN109298997A (en) * | 2018-08-08 | 2019-02-01 | 平安科技(深圳)有限公司 | Interface test method, system, computer equipment and storage medium |
CN109522218A (en) * | 2018-10-19 | 2019-03-26 | 平安科技(深圳)有限公司 | Interface test method, device, computer equipment and storage medium |
CN110096395A (en) * | 2019-03-12 | 2019-08-06 | 深圳壹账通智能科技有限公司 | Interface joint debugging test method, device, computer equipment and storage medium |
CN110363009B (en) * | 2019-07-17 | 2024-07-02 | 腾讯科技(深圳)有限公司 | Application security testing method, device and computer readable storage medium |
-
2019
- 2019-12-31 CN CN201911416823.1A patent/CN111858296B/en active Active
Non-Patent Citations (2)
Title |
---|
基于Charles录制会话的HTTP接口自动化测试框架设计与实现;刘国庆;汪兴轩;;计算机应用与软件(06);全文 * |
数控装置整机功能检测平台的设计与开发;宋立志;周会成;徐英鹏;;组合机床与自动化加工技术(12);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111858296A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111858296B (en) | Interface testing method, device, equipment and storage medium | |
CN110337641B (en) | Determining application test results using screen shot primitive data | |
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
CN110659206A (en) | Simulation architecture establishing method, device, medium and electronic equipment based on microservice | |
CN111597110B (en) | Page test method and device, electronic equipment and storage medium | |
CN110320378B (en) | Method, apparatus, device and computer readable storage medium for applying for a quality control test | |
CN108111364B (en) | Service system testing method and device | |
CN113778878A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN112783761A (en) | Method, device and system for testing cold start duration of application program | |
CN112650689A (en) | Test method, test device, electronic equipment and storage medium | |
CN111159040A (en) | Test data generation method, device, equipment and storage medium | |
US11288170B1 (en) | Log analysis debugging without running on real production environment | |
CN108563578A (en) | SDK compatibility detection method, device, equipment and readable storage medium | |
CN114185804B (en) | Interface testing method and device and terminal equipment | |
CN114385384B (en) | Application programming interface calling method and related equipment | |
CN111949510B (en) | Test processing method, device, electronic equipment and readable storage medium | |
CN111046393B (en) | Vulnerability information uploading method and device, terminal equipment and storage medium | |
CN112732547B (en) | Service testing method and device, storage medium and electronic equipment | |
CN117131545A (en) | Data processing method and device, storage medium and terminal | |
CN115964274A (en) | Test data acquisition method and device, computer equipment and storage medium | |
CN112073505B (en) | Method for unloading on cloud server, control device and storage medium | |
CN110327626B (en) | Virtual server creation method and device | |
CN112181802A (en) | Test method and device | |
CN113765735A (en) | Application test method, apparatus, equipment and storage medium | |
CN113760707A (en) | Interface testing method, apparatus, device, and computer-readable 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 |