CN111831568B - Automatic test method and device and electronic equipment - Google Patents

Automatic test method and device and electronic equipment Download PDF

Info

Publication number
CN111831568B
CN111831568B CN202010700178.2A CN202010700178A CN111831568B CN 111831568 B CN111831568 B CN 111831568B CN 202010700178 A CN202010700178 A CN 202010700178A CN 111831568 B CN111831568 B CN 111831568B
Authority
CN
China
Prior art keywords
configuration information
forwarding configuration
request
return result
access
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
Application number
CN202010700178.2A
Other languages
Chinese (zh)
Other versions
CN111831568A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010700178.2A priority Critical patent/CN111831568B/en
Publication of CN111831568A publication Critical patent/CN111831568A/en
Application granted granted Critical
Publication of CN111831568B publication Critical patent/CN111831568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3696Methods 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)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to an automatic test method, which avoids test case execution failure caused by failure of forwarding an access request through a proxy server and improves test efficiency. The method comprises the following steps: responding to the received automatic test instruction, and acquiring forwarding configuration information used by a target test case corresponding to the automatic test instruction; sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and determining that the forwarding configuration information is correct according to the returned result, and executing the target test case. The disclosure also discloses an automatic test device, an electronic device and a computer readable storage medium.

Description

Automatic test method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to an automatic testing method, an automatic testing device and electronic equipment.
Background
Currently, in an automatic test process of a mobile terminal interface, in order to forward an access request sent by an automatic test case, such as local forwarding and remote forwarding, a worker usually performs forwarding configuration on a proxy server in advance for a server to be accessed, that is, configures a configuration file corresponding to the server to be accessed, so that after the proxy server receives the request sent by the automatic test case for the server to be accessed, the access request sent by the automatic test case can be forwarded based on the configuration file.
However, in the current automated test process according to the test cases, the test case execution failure caused by the failure of forwarding the access request via the proxy server often occurs, which affects the automated test efficiency.
Disclosure of Invention
The disclosure provides an automatic test method, an automatic test device and electronic equipment, which avoid test case execution failure caused by failure in forwarding an access request through a proxy server and improve test efficiency. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an automatic test method, including:
responding to the received automatic test instruction, and acquiring forwarding configuration information used by a target test case corresponding to the automatic test instruction;
Sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information;
and determining that the forwarding configuration information is correct according to the returned result, and executing the target test case.
In an alternative embodiment, the forwarding configuration information includes at least local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name;
According to the forwarding configuration information, sending a request to a corresponding access interface to obtain a corresponding request return result, including:
according to the access path and a preset error domain name, a first request is sent to a corresponding access interface, and a first return result of the first request is obtained;
If the first returned result is that the access is successful, acquiring a target domain name included in the first access result;
and sending a second request to the corresponding access interface according to the target domain name and the access path, and acquiring a second return result of the second request.
In an alternative embodiment, the method further comprises:
If the first return result is that the access fails, determining that the forwarding configuration information is wrong.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
if the first return result, the second return result and the forwarding configuration information are the same, the forwarding configuration information is determined to be correct.
In an alternative embodiment, the forwarding configuration information includes at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
According to the forwarding configuration information, sending a request to a corresponding access interface to obtain a corresponding request return result, including:
according to the access path and the target domain name, a third request is sent to the corresponding access interface, and a third return result of the third request is obtained;
if the third return result is that the access is successful, a fourth request is sent to the corresponding access interface according to the access path and the preset error domain name, and a fourth return result of the fourth request is obtained.
In an alternative embodiment, the method further comprises:
if the third return result is an access failure, determining that the remote server is wrong.
In an alternative embodiment, the method further comprises:
And if the fourth return result is the access failure and the error reason of the fourth return result is the same as that of the third return result, determining that the remote forwarding destination server in the remote server is wrong.
In an alternative embodiment, the method further comprises:
and if the fourth return result is that the access fails, determining that the forwarding configuration information is wrong.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
In an alternative embodiment, the method further comprises:
and determining that the forwarding configuration information is wrong according to the returned result, and not executing the target test case.
In an alternative embodiment, obtaining forwarding configuration information used by the target test case corresponding to the automatic test instruction further includes:
and reading the pre-stored forwarding configuration information from the local storage.
In an alternative embodiment, the method further comprises:
determining a forwarding configuration information error according to the returned result, and obtaining a corresponding error parameter to generate error prompt information; the error parameter includes at least an error cause.
According to a second aspect of embodiments of the present disclosure, there is provided an automatic test equipment, comprising:
The acquisition module is configured to execute the received automatic test instruction and acquire forwarding configuration information used by a target test case corresponding to the automatic test instruction;
The processing module is configured to execute sending a request to a corresponding access interface according to the forwarding configuration information to acquire a corresponding request return result;
And the execution module is configured to execute the target test case according to the determination that the forwarding configuration information is correct according to the returned result.
In an alternative embodiment, the forwarding configuration information includes at least local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name;
a processing module, comprising:
the first sending unit is configured to send a first request to a corresponding access interface according to the access path and a preset error domain name, and obtain a first return result of the first request;
the first acquisition unit is configured to execute the acquisition of the target domain name included in the first access result if the first return result is that the access is successful;
and the second sending unit is configured to send a second request to the corresponding access interface according to the target domain name and the access path, and acquire a second return result of the second request.
In an alternative embodiment, the apparatus further comprises:
and the first determining module is configured to determine that the forwarding configuration information is wrong if the first returned result is access failure.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
if the first return result, the second return result and the forwarding configuration information are the same, the forwarding configuration information is determined to be correct.
In an alternative embodiment, the forwarding configuration information includes at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
a processing module, comprising:
The third sending unit is configured to send a third request to the corresponding access interface according to the access path and the target domain name, and acquire a third return result of the third request;
And the fourth sending unit is configured to send a fourth request to the corresponding access interface according to the access path and the preset error domain name if the third return result is that the access is successful, and acquire the fourth return result of the fourth request.
In an alternative embodiment, the apparatus further comprises:
and the second determining module is configured to determine that the remote server is wrong if the third returned result is access failure.
In an alternative embodiment, the apparatus further comprises:
And a third determining module configured to determine that the remote forwarding destination server in the remote server is wrong if the fourth returned result is an access failure and the error cause of the fourth returned result is the same as the error cause of the third returned result.
In an alternative embodiment, the apparatus further comprises:
And the fourth determining module is configured to determine that the forwarding configuration information is wrong if the fourth return result is access failure.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
In an alternative embodiment, the apparatus is further configured to perform:
and determining that the forwarding configuration information is wrong according to the returned result, and not executing the target test case.
In an alternative embodiment, the acquisition module is further configured to perform:
and reading the pre-stored forwarding configuration information from the local storage.
In an alternative embodiment, the apparatus further comprises:
the generating module is configured to execute the steps of determining the forwarding configuration information error according to the return result, acquiring the corresponding error parameters and generating error prompt information; the error parameter includes at least an error cause.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute instructions to implement the automatic test method as shown in the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium comprising:
the instructions in the storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the automatic test method as shown in the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising:
which, when run on an electronic device, causes the automatic test electronic device to perform the automatic test method steps as described in the first aspect above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
By adopting the method provided by the embodiment of the disclosure, before the target test case is executed, the forwarding configuration information used by the target test case corresponding to the automatic test instruction can be obtained in response to the received automatic test instruction; sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and determining whether the forwarding configuration information is correct or not according to the returned result, and executing the target test case after determining that the forwarding configuration information is correct, thereby avoiding the test case execution failure caused by the failure of forwarding the access request through the proxy server and improving the test efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a flow chart illustrating an automatic test method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for automatically testing a corresponding access interface to obtain a corresponding request return result according to forwarding configuration information according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method for automatically testing a corresponding access interface to obtain a corresponding request return result according to forwarding configuration information according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a detection apparatus for automatic testing according to an exemplary embodiment.
Fig. 5 is a block diagram of an electronic device, according to an example embodiment.
Fig. 6 is a block diagram of a hardware architecture of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures 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 disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Example 1
Before describing the automatic test method provided by the embodiment of the present disclosure in detail, an application scenario related to the embodiment of the present disclosure is first described briefly.
Currently, in an automatic test process of a mobile terminal interface, in order to forward an access request sent by an automatic test case, such as local forwarding and remote forwarding, a worker usually performs forwarding configuration on a proxy server in advance for a server to be accessed, that is, configures a configuration file corresponding to the server to be accessed, so that after the proxy server receives the request sent by the automatic test case for the server to be accessed, the access request sent by the automatic test case can be forwarded based on the configuration file.
Forwarding the access request may be understood as forwarding the access request sent by the terminal for the target server to other servers based on a pre-configured file, and returning the contents returned by other servers to the terminal, or locally finding a configuration file matched with the access path from the proxy server based on the access path included in the access request, and feeding back the configuration file to the terminal.
For example, assuming that the terminal sends an access request to the proxy server for the a server, after receiving the access request sent by the terminal for the a server, the proxy server may send the access request to the B server based on a pre-configured forwarding configuration file (set the forwarding configuration file to forward the access request of the a server to the B server), and feed back the content returned by the B server to the terminal.
Or after receiving the access request sent by the terminal for the A server, the proxy server can locally find the configuration file matched with the access path from the proxy server based on the pre-configured forwarding configuration file and the access path contained in the access request, and feed back the configuration file to the terminal.
However, when the method is adopted, in the process of executing the automated test according to the test cases, the test case execution failure condition caused by failure in forwarding the access request through the proxy server often occurs, and the automated test efficiency is affected.
To solve the above technical problems, the present inventors thought that: since the automated test cases run on the mobile terminal and the proxy server usually run on the personal computer, i.e. the two are separated, it is not possible to automatically detect whether the forwarding configuration of the proxy server is successful when the automated test cases send an access request. This may occur when the automated test case sends an access request, and the forwarding configuration of the proxy server fails, thereby causing the access request to fail to be forwarded, and causing the test case to fail.
Based on the above, how to automatically detect whether the proxy server completes forwarding configuration successfully, so as to ensure that the test case is executed successfully is a technical problem to be solved by the application.
Considering that, in general, in the case that the forwarding configuration information is correct and the forwarding configuration information is incorrect, the return result received after the terminal sends the access request to the proxy server may be different, for example:
If the forwarding configuration information is correct and the domain name is not specified, if the access path contained in the access request is matched with the access path configured in the proxy server in advance, the proxy server can forward the access request to other servers based on a preset forwarding configuration file and feed back the contents returned by the other servers to the terminal; or based on the preset forwarding configuration file and the access path contained in the access request, locally finding the configuration file matched with the access path from the proxy server, and feeding back the configuration file to the terminal.
A proxy server, which may also be referred to as a network proxy, is a special network service by which one network terminal (e.g., a client) may indirectly connect or communicate with another network terminal (e.g., a server). In an alternative embodiment, the proxy server may include charles, fiddler or the like.
In other words, if the forwarding configuration of the proxy server is successful and the domain name is not specified, the proxy server can forward the access request to other service ends and feed back the content returned by the forwarded server to the terminal as long as the access path contained in the access request matches the access path configured in the proxy server in advance, regardless of whether the domain name of the target server contained in the access request is correct or not or whether the domain name of the target server exists or not; or, based on the access path, a configuration file matching the access path contained in the access request is found locally from the proxy server, and the configuration file is fed back to the terminal.
In the case of an error forwarding configuration information, the terminal cannot receive the file returned by the proxy server, regardless of whether the specified path and domain name included in the request sent by the terminal for the target server are correct.
Based on this, the embodiment of the disclosure provides an automatic test method, and by adopting the method provided by the embodiment of the disclosure, forwarding configuration information used by a target test case corresponding to an automatic test instruction can be obtained in response to the received automatic test instruction before the target test case is executed; sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and determining whether the forwarding configuration information is correct according to the returned result, and executing the target test case after determining that the forwarding configuration information is correct, so that the problem of access request failure in the related technology can be immediately found, and the problem that the automatic test reports a false failure warning because of the access request failure is avoided.
Before describing the automatic test method provided by the embodiments of the present disclosure in detail with reference to the accompanying drawings, a main body of execution of the automatic test method provided by the embodiments of the present disclosure will be briefly described.
The execution subject of the method includes, but is not limited to, a terminal, which may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, etc., and a fixed terminal such as a digital TV, a desktop computer, etc., or in an alternative embodiment, the execution subject of the method may further include an application program on the terminal, such as an automated test software, etc.
The following will take the execution main body of the method as an example, and describe each step included in the method in detail:
As shown in fig. 1, fig. 1 is a flow chart illustrating an automatic test method according to an exemplary embodiment, the method comprising the steps of:
step S11, responding to the received automatic test instruction, and acquiring forwarding configuration information used by a target test case corresponding to the automatic test instruction.
Step S12, according to the forwarding configuration information, sending a request to the corresponding access interface to acquire a corresponding request return result.
And step S13, determining that the forwarding configuration information is correct according to the returned result, and executing the target test case.
For convenience of understanding, before step S11 is described in detail, the terms involved in the step and the related concepts will be briefly described.
Automatic test instructions, which may be understood as execution scripts running on the terminal, may be written in an alternative embodiment in languages such as Net, perl, python, java, etc.
A test case may refer to a set of test inputs, execution conditions, and expected results that are formulated to achieve a particular goal in order to test a program path or verify whether a particular requirement is met. Correspondingly, in the embodiments of the present disclosure, a target test case may be understood as a set of test inputs, execution conditions and expected results compiled to test whether forwarding configuration is correct.
The forwarding configuration information may include local forwarding configuration information or remote forwarding configuration information. In an alternative embodiment, if the forwarding configuration information includes local forwarding configuration information, the local forwarding configuration information may include at least a preset access path and a preset domain name; or if the forwarding configuration information includes remote forwarding configuration information, the remote forwarding configuration information may include at least a preset access path, a preset domain name, and a target domain name.
In the embodiment of the disclosure, the terminal can respond to the received automatic test instruction and acquire forwarding configuration information used by the target test case corresponding to the automatic test instruction from the local storage.
After obtaining the forwarding configuration information used by the target test case corresponding to the automatic test instruction, the following step S12 may be executed, where a request is sent to the corresponding access interface according to the forwarding configuration information to obtain a corresponding request return result.
As described above, since the forwarding configuration information may generally include local forwarding configuration information or remote forwarding configuration information, in order to make it possible to clearly describe, step S12 will be described in detail below taking as an example both cases where the forwarding configuration information includes local forwarding configuration information and where the forwarding configuration information includes remote forwarding configuration information, respectively.
First case:
as shown in fig. 2, when the forwarding configuration information at least includes local forwarding configuration information, and the local forwarding configuration information at least includes a preset access path and a preset error domain name, the terminal may execute the following steps S21 to S23 to implement step S12:
step S21: and sending a first request to a corresponding access interface according to the access path and a preset error domain name, and acquiring a first return result of the first request.
It should be noted that, because in the case that the proxy server does not specify the domain name, as long as the access paths are matched, any request can be mapped into a file of forwarding configuration, and the corresponding return result is received, that is, the access is successful; if the local forwarding configuration information is wrong, the access failure is easily caused when the request is sent to the corresponding access interface according to the preset wrong domain name and the access path. Therefore, in the embodiment of the present disclosure, the preset error domain name and the access path may be adopted to send the first request to the corresponding access interface, so that whether the local forwarding configuration information is wrong can be determined by judging whether the first request fails to access.
The preset error domain name may include a preset server name that does not exist in the network, or an error server name.
The first request may be understood as an access request for accessing the target interface based on the terminal sending to the proxy server. In an alternative embodiment, the first request may comprise, for example, a page access request or the like.
Step S22: and if the first returned result is that the access is successful, acquiring the target domain name included in the first access result.
The target domain name may be understood as a name of an interface to be accessed, such as sharephoto interface, realtem interface, and the like.
For example, assuming that after the first request is sent to the corresponding access interface, the http return result is 200, it may be understood that the first return result is that the access is successful.
Or if the first return result is that the access fails, determining that the forwarding configuration information is wrong. In an alternative implementation manner, the error can be reported and related testers can be prompted to forward the configuration information error of the interface, so that the test is stopped, the failure of the subsequent large-area test case caused by the forwarding of the configuration information error is avoided, and the accuracy of the automatic test is reduced.
In one or more alternative embodiments, in order to improve accuracy of the forwarding configuration information detection result when the first return result is that the access is successful, the following step S23 may be further executed, where whether the forwarding configuration information is correct is further determined according to the obtained second return result and the first return result.
Step S23: and sending a second request to the corresponding access interface according to the target domain name and the access path, and acquiring a second return result of the second request.
Optionally, after the first return result and the second return result are obtained according to the steps, if the first return result, the second return result and the forwarding configuration information are the same, it can be determined that the forwarding configuration information is correct.
Since the second request uses the target domain name and the access path, the second request corresponds to an actual network request, and in general, failure is not possible. Therefore, the embodiment of the disclosure can determine whether the forwarding configuration information is correct by comparing whether the first returned result, the second returned result and the forwarding configuration information are the same.
When the forwarding configuration information includes the local forwarding configuration information, the relevant description of step S12 will be described below by taking the example that the forwarding configuration information includes the remote forwarding configuration information as an example.
Second case:
As shown in fig. 3, when the forwarding configuration information includes at least remote forwarding configuration information; when the remote forwarding configuration information at least includes a preset access path, a preset error domain name and a target domain name, the terminal may execute the following steps S31 to S32 to implement step S12:
Step S31: and sending a third request to the corresponding access interface according to the access path and the target domain name, and acquiring a third return result of the third request.
The target domain name may be understood as a name of an interface to be accessed, such as sharephoto interface, realtem interface, etc., which is not specifically limited in the embodiments of the present disclosure.
Step S32: if the third return result is that the access is successful, a fourth request is sent to the corresponding access interface according to the access path and the preset error domain name, and a fourth return result of the fourth request is obtained.
And if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
Or in an alternative embodiment, if the third return result is an access failure, the third request belongs to an actual network request and generally does not fail because the third request uses the correct domain name and access path. If the server fails, it can be determined that an error has occurred at the remote server.
In an alternative embodiment, if the fourth return result is an access failure, a forwarding configuration information error may be determined.
In an alternative embodiment, when an error of the remote forwarding destination server in the remote server is determined, a prompt message may be sent to a maintainer of the remote forwarding destination server to modify the remote forwarding destination server.
Optionally, when the third return result is an access failure, only an error can be determined to occur in the remote server, but whether the remote server is a source server error or a destination server error of remote forwarding cannot be determined, so that, in order to clarify a specific case of the error, in the embodiment of the disclosure, the error cause of the third return result and the error cause of the fourth return result may be compared, and if the error cause of the fourth return result is the same as the error cause of the third return result, the remote forwarding destination server error in the remote server may be determined.
After determining that the forwarding configuration information is correct according to the returned result, step 13 may be performed, i.e. the target test case is performed.
Or if the forwarding configuration information is determined to be wrong according to the returned result, the target test case is not executed. In an optional implementation manner, after determining that the forwarding configuration information is wrong according to the returned result, the corresponding error parameter can be obtained to generate error prompt information; wherein the error parameter at least comprises an error reason.
By adopting the method provided by the embodiment of the disclosure, before the target test case is executed, the forwarding configuration information used by the target test case corresponding to the automatic test instruction can be obtained in response to the received automatic test instruction; sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and determining whether the forwarding configuration information is correct or not according to the returned result, and executing the target test case after determining that the forwarding configuration information is correct, thereby avoiding the test case execution failure caused by the failure of forwarding the access request through the proxy server and improving the test efficiency.
Example 2
FIG. 4 is a block diagram of an automatic test equipment, according to an example embodiment. Referring to fig. 4, the apparatus includes an acquisition module 41, a processing module 42, and an execution module 43, wherein:
An obtaining module 41 configured to perform obtaining forwarding configuration information used by a target test case corresponding to the automatic test instruction in response to the received automatic test instruction;
the processing module 42 is configured to perform sending a request to the corresponding access interface according to the forwarding configuration information to obtain a corresponding request return result;
And the execution module 43 is configured to execute the target test case according to the determination that the forwarding configuration information is correct according to the returned result.
In an alternative embodiment, the forwarding configuration information includes at least local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name;
A processing module 42 comprising:
the first sending unit is configured to send a first request to a corresponding access interface according to the access path and a preset error domain name, and obtain a first return result of the first request;
the first acquisition unit is configured to execute the acquisition of the target domain name included in the first access result if the first return result is that the access is successful;
and the second sending unit is configured to send a second request to the corresponding access interface according to the target domain name and the access path, and acquire a second return result of the second request.
In an alternative embodiment, the apparatus further comprises:
and the first determining module is configured to determine that the forwarding configuration information is wrong if the first returned result is access failure.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
if the first return result, the second return result and the forwarding configuration information are the same, the forwarding configuration information is determined to be correct.
In an alternative embodiment, the forwarding configuration information includes at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
A processing module 42 comprising:
The third sending unit is configured to send a third request to the corresponding access interface according to the access path and the target domain name, and acquire a third return result of the third request;
And the fourth sending unit is configured to send a fourth request to the corresponding access interface according to the access path and the preset error domain name if the third return result is that the access is successful, and acquire the fourth return result of the fourth request.
In an alternative embodiment, the apparatus further comprises:
and the second determining module is configured to determine that the remote server is wrong if the third returned result is access failure.
In an alternative embodiment, the apparatus further comprises:
And a third determining module configured to determine that the remote forwarding destination server in the remote server is wrong if the fourth returned result is an access failure and the error cause of the fourth returned result is the same as the error cause of the third returned result.
In an alternative embodiment, the apparatus further comprises:
And the fourth determining module is configured to determine that the forwarding configuration information is wrong if the fourth return result is access failure.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
In an alternative embodiment, the apparatus is further configured to perform:
and determining that the forwarding configuration information is wrong according to the returned result, and not executing the target test case.
In an alternative embodiment, the acquisition module is further configured to perform:
and reading the pre-stored forwarding configuration information from the local storage.
In an alternative embodiment, the apparatus further comprises:
the generating module is configured to execute the steps of determining the forwarding configuration information error according to the return result, acquiring the corresponding error parameters and generating error prompt information; the error parameter includes at least an error cause.
By adopting the device provided by the embodiment of the disclosure, forwarding configuration information used by the target test case corresponding to the automatic test instruction can be obtained in response to the received automatic test instruction before the target test case is executed; sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and determining whether the forwarding configuration information is correct or not according to the returned result, and executing the target test case after determining that the forwarding configuration information is correct, thereby avoiding the test case execution failure caused by the failure of forwarding the access request through the proxy server and improving the test efficiency.
Example 3
The embodiment of the disclosure further provides an electronic device, referring to fig. 5 for schematic illustration, and at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (PERIPHERAL COMPONENT INTERCONNECT, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
And the memory is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory may include memory and non-volatile storage and provide instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs, and the application to the automatic test equipment is formed on the logic level. The processor executes the program stored in the memory and is at least used to execute the steps in the automatic test method disclosed in the embodiment shown in fig. 1.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Fetwork Processor, FP), etc.; but may also be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the disclosure may be implemented or performed. 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 embodiments of the present disclosure may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
Example 6
Fig. 6 is a schematic diagram showing a hardware structure of an electronic device according to an exemplary embodiment. As shown in fig. 6, electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 6011.
It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiments of the present disclosure, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein the processor 610 is coupled to the memory for:
responding to the received automatic test instruction, and acquiring forwarding configuration information used by a target test case corresponding to the automatic test instruction;
Sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information;
and determining that the forwarding configuration information is correct according to the returned result, and executing the target test case.
In an alternative embodiment, the forwarding configuration information includes at least local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name;
According to the forwarding configuration information, sending a request to a corresponding access interface to obtain a corresponding request return result, including:
according to the access path and a preset error domain name, a first request is sent to a corresponding access interface, and a first return result of the first request is obtained;
If the first returned result is that the access is successful, acquiring a target domain name included in the first access result;
and sending a second request to the corresponding access interface according to the target domain name and the access path, and acquiring a second return result of the second request.
In an alternative embodiment, the method further comprises:
If the first return result is that the access fails, determining that the forwarding configuration information is wrong.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
if the first return result, the second return result and the forwarding configuration information are the same, the forwarding configuration information is determined to be correct.
In an alternative embodiment, the forwarding configuration information includes at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
According to the forwarding configuration information, sending a request to a corresponding access interface to obtain a corresponding request return result, including:
according to the access path and the target domain name, a third request is sent to the corresponding access interface, and a third return result of the third request is obtained;
if the third return result is that the access is successful, a fourth request is sent to the corresponding access interface according to the access path and the preset error domain name, and a fourth return result of the fourth request is obtained.
In an alternative embodiment, the method further comprises:
if the third return result is an access failure, determining that the remote server is wrong.
In an alternative embodiment, the method further comprises:
And if the fourth return result is the access failure and the error reason of the fourth return result is the same as that of the third return result, determining that the remote forwarding destination server in the remote server is wrong.
In an alternative embodiment, the method further comprises:
and if the fourth return result is that the access fails, determining that the forwarding configuration information is wrong.
In an alternative embodiment, determining that forwarding configuration information is correct based on the returned result includes:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
In an alternative embodiment, the method further comprises:
and determining that the forwarding configuration information is wrong according to the returned result, and not executing the target test case.
In an alternative embodiment, obtaining forwarding configuration information used by the target test case corresponding to the automatic test instruction further includes:
and reading the pre-stored forwarding configuration information from the local storage.
In an alternative embodiment, the method further comprises:
determining a forwarding configuration information error according to the returned result, and obtaining a corresponding error parameter to generate error prompt information; the error parameter includes at least an error cause.
A memory 609 for storing a computer program executable on the processor 610, which when executed by the processor 610, implements the functions described above as being implemented by the processor 610.
It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 601 may be configured to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 610; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. Microphone 6042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in a form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 6071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 610, and receives and executes commands sent from the processor 610. In addition, the touch panel 6071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 610 to determine a type of a touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface to which an external device is connected to the electronic apparatus 600. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit data between the electronic apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may also include a power supply 6011 (e.g., a battery) for powering the various components, and preferably the power supply 6011 may be logically connected to the processor 610 by a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules, which are not shown, and will not be described herein.
In an exemplary embodiment, a storage medium including instructions is further provided, and a computer program is stored on the computer readable storage medium, where the computer program when executed by a processor implements each process of any one of the automatic test method embodiments of the foregoing embodiment, and the same technical effects are achieved, so that repetition is avoided and detailed description is omitted herein. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, a ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. An automated test method, the method comprising:
Responding to the received automatic test instruction, and acquiring forwarding configuration information used by a target test case corresponding to the automatic test instruction; the forwarding configuration information at least comprises local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name, wherein the preset error domain name comprises a preset server name which does not exist in a network or an error server name;
Sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; and sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information, wherein the request return result comprises: according to the access path and the preset error domain name, a first request is sent to the corresponding access interface, and a first return result of the first request is obtained; if the first return result is that the access is successful, acquiring a target domain name included in the first return result; according to the target domain name and the access path, sending a second request to the corresponding access interface, and acquiring a second return result of the second request;
determining whether the forwarding configuration information is correct according to the return result; the return results comprise a first return result and/or a second return result;
Responding to the determination that the forwarding configuration information is correct according to the return result, and executing the target test case; or responding to the determination of the forwarding configuration information error according to the return result, and obtaining corresponding error parameters to generate error prompt information; the error parameters at least comprise error reasons; and if the first return result is that the access fails, determining that the forwarding configuration information is wrong.
2. The method of claim 1, wherein the forwarding configuration information includes at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
and sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information, wherein the request return result comprises:
according to the access path and the target domain name, a third request is sent to the corresponding access interface, and a third return result of the third request is obtained;
and if the third return result is that the access is successful, sending a fourth request to the corresponding access interface according to the access path and the preset error domain name, and acquiring a fourth return result of the fourth request.
3. The method according to claim 2, wherein the method further comprises:
and if the third return result is that the access fails, determining that the remote server is wrong.
4. The method according to claim 2, wherein said determining that the forwarding configuration information is correct based on the returned result comprises:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
5. The method according to claim 2, wherein the method further comprises:
And if the fourth return result is that the access fails, determining that the forwarding configuration information is wrong.
6. The method according to claim 1, wherein the method further comprises:
and determining that the forwarding configuration information is wrong according to the return result, and not executing the target test case.
7. The method of claim 1, wherein the obtaining forwarding configuration information for use by the target test case corresponding to the automatic test instruction further comprises:
And reading the forwarding configuration information stored in advance from the local storage.
8. An automatic test equipment, said equipment comprising:
The system comprises an acquisition module, a forwarding module and a forwarding module, wherein the acquisition module is configured to execute the received automatic test instruction and acquire forwarding configuration information used by a target test case corresponding to the automatic test instruction; the forwarding configuration information at least comprises local forwarding configuration information; the local forwarding configuration information at least comprises a preset access path and a preset error domain name, wherein the preset error domain name comprises a preset server name which does not exist in a network or an error server name;
the processing module is configured to execute sending a request to a corresponding access interface to acquire a corresponding request return result according to the forwarding configuration information; the processing module comprises: the first sending unit is configured to send a first request to the corresponding access interface according to the access path and the preset error domain name, and acquire a first return result of the first request; the first obtaining unit is configured to obtain a target domain name included in the first returned result if the first returned result is that the access is successful; a second sending unit configured to send a second request to the corresponding access interface according to the target domain name and the access path, and obtain a second return result of the second request;
the apparatus further comprises: determining whether the forwarding configuration information is correct according to the returned result; the return results comprise a first return result and/or a second return result;
The execution module is configured to execute the target test case in response to the fact that the forwarding configuration information is determined to be correct according to the return result;
Or the generating module is configured to execute the steps of responding to the determination of the forwarding configuration information error according to the return result, acquiring corresponding error parameters and generating error prompt information; the error parameters at least comprise error reasons;
The apparatus further comprises:
and the first determining module is configured to determine that the forwarding configuration information is wrong if the first returned result is access failure.
9. The apparatus of claim 8, wherein the forwarding configuration information comprises at least remote forwarding configuration information; the remote forwarding configuration information at least comprises a preset access path, a preset error domain name and a target domain name;
The processing module comprises:
a third sending unit configured to send a third request to the corresponding access interface according to the access path and the target domain name, and obtain a third return result of the third request;
And the fourth sending unit is configured to send a fourth request to the corresponding access interface according to the access path and the preset error domain name if the third return result is that the access is successful, and acquire a fourth return result of the fourth request.
10. The apparatus of claim 9, wherein the apparatus further comprises:
And the second determining module is configured to determine that the remote server is wrong if the third returned result is access failure.
11. The apparatus of claim 10, wherein the apparatus further comprises:
And a third determining module configured to determine that a remote forwarding destination server in the remote server is wrong if the fourth returned result is an access failure and an error cause of the fourth returned result is the same as an error cause of the third returned result.
12. The apparatus of claim 9, wherein the apparatus further comprises:
And a fourth determining module configured to determine that the forwarding configuration information is wrong if the fourth returned result is an access failure.
13. The apparatus of claim 9, wherein said determining that the forwarding configuration information is correct based on the returned result comprises:
and if the third return result and the fourth return result are the same, determining that the forwarding configuration information is correct.
14. The apparatus of claim 8, wherein the apparatus is further configured to perform:
and determining that the forwarding configuration information is wrong according to the return result, and not executing the target test case.
15. The apparatus of claim 8, wherein the acquisition module is further configured to perform:
And reading the forwarding configuration information stored in advance from the local storage.
16. An electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the automatic test method of any one of claims 1 to 7.
17. A storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the automatic test method of any one of claims 1 to 7.
CN202010700178.2A 2020-07-20 2020-07-20 Automatic test method and device and electronic equipment Active CN111831568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010700178.2A CN111831568B (en) 2020-07-20 2020-07-20 Automatic test method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010700178.2A CN111831568B (en) 2020-07-20 2020-07-20 Automatic test method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111831568A CN111831568A (en) 2020-10-27
CN111831568B true CN111831568B (en) 2024-07-02

Family

ID=72924473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010700178.2A Active CN111831568B (en) 2020-07-20 2020-07-20 Automatic test method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111831568B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8995992B1 (en) * 2010-09-03 2015-03-31 Cellco Partnership Method and system for secure mobile device number lookup and modification
CN104009880B (en) * 2013-02-27 2018-04-17 阿里巴巴集团控股有限公司 Web test methods, proxy server and Web test devices
CN104836864A (en) * 2015-05-12 2015-08-12 广东睿江科技有限公司 Domain name access error correction method and device
CN109062786A (en) * 2018-07-16 2018-12-21 北京百度网讯科技有限公司 Operation method, device and the terminal of test case
CN109618017A (en) * 2018-12-12 2019-04-12 北京知道创宇信息技术有限公司 Domain name management method, apparatus and system
CN110519409B (en) * 2019-08-28 2022-09-06 北京思维造物信息科技股份有限公司 Domain name dynamic configuration method, device, equipment and storage medium
CN110990205B (en) * 2019-11-28 2022-09-02 腾讯科技(深圳)有限公司 Interface call testing method, device and computer readable storage medium
CN111064795B (en) * 2019-12-20 2021-05-14 腾讯科技(深圳)有限公司 Web page access acceleration method, system, computer equipment, server and medium
CN111030888B (en) * 2019-12-23 2022-06-21 中国移动通信集团内蒙古有限公司 Domain name system DNS capacity measuring method, device, equipment and medium
CN111427766B (en) * 2020-02-20 2023-08-18 北京齐尔布莱特科技有限公司 Request processing method and device and proxy server

Also Published As

Publication number Publication date
CN111831568A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US10853437B2 (en) Method and apparatus for invoking application programming interface
CN109800179B (en) Method for acquiring data, method for sending data, host and embedded memory
CN107766747B (en) Method for verifying integrity of application program installation package, mobile terminal and server
US10095666B2 (en) Method and terminal for adding quick link
CN109462668B (en) Method and device for processing domain name resolution request
CN107329901B (en) Data packet capturing method, terminal, server and storage medium
CN106371964B (en) Method and device for prompting message
CN106649126B (en) Method and device for testing application program
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN110716850A (en) Page testing method, device and system and storage medium
CN106203228A (en) Two-dimensional code information transmission method, device and equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110719319A (en) Resource sharing method, device, terminal equipment and storage medium
CN112749074B (en) Test case recommending method and device
CN108304369B (en) File type identification method and device
CN110069407B (en) Function test method and device for application program
CN111556178A (en) Analytic system, method, equipment and storage medium
CN111427644B (en) Target behavior identification method and electronic equipment
CN109871324B (en) Control operation method and device
CN111831568B (en) Automatic test method and device and electronic equipment
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN112363895B (en) System fault positioning method and device and electronic equipment
CN109783379B (en) Script execution exception determining method and device
CN112492337B (en) Communication method, communication device, server and storage medium
CN108280798B (en) Method and device for rendering and displaying browser kernel

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