CN113204477B - Application testing method and device, electronic equipment and storage medium - Google Patents

Application testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113204477B
CN113204477B CN202110350138.4A CN202110350138A CN113204477B CN 113204477 B CN113204477 B CN 113204477B CN 202110350138 A CN202110350138 A CN 202110350138A CN 113204477 B CN113204477 B CN 113204477B
Authority
CN
China
Prior art keywords
request
configuration information
response
target
network request
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
CN202110350138.4A
Other languages
Chinese (zh)
Other versions
CN113204477A (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 CN202110350138.4A priority Critical patent/CN113204477B/en
Publication of CN113204477A publication Critical patent/CN113204477A/en
Application granted granted Critical
Publication of CN113204477B publication Critical patent/CN113204477B/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure relates to an application test method, apparatus, electronic device, and storage medium, the method comprising invoking a preset wrapper of a network request component in response to an application test instruction; in a preset wrapper, carrying out request address configuration on an original network request based on preset test configuration information to obtain a target network request; transmitting request content in the target network request based on a request address in the target network request; in the response wrapper, response configuration is carried out on the returned original response data based on preset test configuration information, and target response data are obtained; and determining an application test result according to the target network request and the target response data. By utilizing the embodiment of the invention, the operation of application test can be simplified, and the test efficiency can be improved.

Description

Application testing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to an application testing method, an application testing device, electronic equipment and a storage medium.
Background
With the development of internet technology, various network applications are increasing, and application testing requirements are becoming more important. In the related art, because some applications are developed in a cross-platform manner, for example, an application developed by using a Flutter framework, because the Flutter framework is a cross-platform application program development framework, when the developed application is used for carrying out application test, proxy setting of a system network cannot be read, a developer is required to carry out proxy setting in the application, further, certificate installation is required, a function of acquiring a request is set on equipment corresponding to third-party software, and the problems of complex operation, lower efficiency and the like of the application test are caused by capturing packets in the application test process through the operation of the equipment.
Disclosure of Invention
The disclosure provides an application testing method, an application testing device, electronic equipment and a storage medium, so as to at least solve the problems of complex operation, low efficiency and the like of application testing in related technologies. 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 application testing method, including:
responding to an application test instruction, and calling a preset wrapper of a network request component, wherein the preset wrapper is used for carrying out request configuration on an original network request created by the network request component;
in the preset wrapper, carrying out request configuration on the original network request based on preset test configuration information to obtain a target network request;
transmitting request content in the target network request based on a request address in the target network request;
in the response wrapper, response configuration is carried out on the returned original response data based on the preset test configuration information, and target response data are obtained;
and determining an application test result according to the target network request and the target response data.
Optionally, in the preset wrapper, performing request configuration on the original network request based on preset test configuration information to obtain a target network request includes:
In the preset wrapper, performing request address configuration on the original network request based on preset test configuration information, and wrapping the configured network request to obtain a request wrapper;
and in the request wrapper, performing content configuration on the request content in the configured network request based on the preset test configuration information, and generating a target network request.
Optionally, in the preset wrapper, the configuring the request address of the original network request based on preset test configuration information includes:
calling an original network request component to create an original network request in the preset wrapper;
inquiring the preset test configuration information;
under the condition that the preset test configuration information comprises request address configuration information, a target orientation method is established;
and modifying the request address in the original network request into the request address configuration information based on the target orientation method to obtain the configured network request.
Optionally, in the preset wrapper, the configuring the request address of the original network request based on preset test configuration information further includes:
And under the condition that the preset test configuration information does not comprise the request address configuration information, taking the original network request as the configured network request.
Optionally, in the request wrapper, performing content configuration on the request content in the configured network request based on the preset test configuration information, and generating the target network request includes:
inquiring the preset test configuration information in the request wrapper;
creating a target writing method under the condition that the preset test configuration information is inquired to comprise request content configuration information;
and based on the target writing method, modifying the request content in the configured network request into the request content configuration information to obtain the target network request.
Optionally, the request wrapper is configured with a preset cache, and the modifying, based on the target writing method, the request content in the configured network request to the request content configuration information, where obtaining the target network request includes:
writing the request content in the configured network request into the preset cache based on the target writing method to obtain a network request to be processed;
Modifying the request content in the preset cache into the request content configuration information based on the target writing method;
and writing the modified request content in the preset cache into the network request to be processed based on the target writing method to obtain the target network request.
Optionally, in the request wrapper, performing content configuration on the request content in the configured network request based on the preset test configuration information, and generating the target network request further includes:
and under the condition that the preset test configuration information does not comprise the request content configuration information, the configured network request is used as the target network request.
Optionally, the method further comprises:
and in the request wrapper, the original response instance is wrapped to obtain a response wrapper.
Optionally, in the request wrapper, the wrapping the original response instance to obtain a response wrapper includes:
creating a target response creation method in the request wrapper;
and packaging the original response instance based on the target response creation method to obtain the response wrapper.
Optionally, the response wrapper is configured with a response transformation method, and in the response wrapper, performing response configuration on returned original response data based on the preset test configuration information, to obtain target response data includes:
inquiring the preset test configuration information in the response wrapper;
creating a target monitoring method under the condition that the preset test configuration information is inquired to comprise response content configuration information;
inserting the response transformation method before the original monitoring method based on the target monitoring method;
intercepting returned original response data based on the response transformation method, and modifying the original response data into the response content configuration information to obtain the target response data.
Optionally, in the response wrapper, performing response configuration on the returned original response data based on the preset test configuration information, and obtaining the target response data further includes:
and under the condition that the preset test configuration information does not comprise response content configuration information, taking the original response data as the target response data.
Optionally, the method further comprises:
and acquiring the preset test configuration information from a configuration terminal based on a preset interaction service.
According to a second aspect of embodiments of the present disclosure, there is provided an application testing apparatus, comprising:
a preset wrapper calling module configured to execute a preset wrapper for calling a network request component in response to an application test instruction, wherein the preset wrapper is used for carrying out request configuration on an original network request created by the network request component;
the network request configuration module is configured to be executed in the preset wrapper, and request configuration is carried out on the original network request based on preset test configuration information to obtain a target network request;
a request content transmitting module configured to perform transmitting request content in the target network request based on a request address in the target network request;
the response configuration module is configured to be executed in the response wrapper, and response configuration is carried out on the returned original response data based on the preset test configuration information to obtain target response data;
and the application test result determining module is configured to determine an application test result according to the target network request and the target response data.
Optionally, the network request configuration module includes:
a network request address configuration unit configured to be executed in the preset wrapper, perform request address configuration on the original network request based on preset test configuration information, and wrap the configured network request to obtain a request wrapper;
And the content configuration unit is configured to be executed in the request wrapper, perform content configuration on the request content in the configured network request based on the preset test configuration information, and generate a target network request.
Optionally, the network request address configuration unit includes:
an original network request creation unit configured to execute the original network request creation unit in the preset wrapper, and call an original network request component to create an original network request;
the first preset test configuration information query unit is configured to perform query on the preset test configuration information;
a target orientation method creation unit configured to execute creating a target orientation method in a case where the query of the preset test configuration information includes request address configuration information;
and the request address modification unit is configured to modify the request address in the original network request into the request address configuration information based on the target orientation method to obtain the configured network request.
Optionally, the network request address configuration unit further includes:
and the configured network request determining unit is configured to perform the original network request as the configured network request when the preset test configuration information is inquired that the request address configuration information is not included.
Optionally, the content configuration unit includes:
a second preset test configuration information query unit configured to query the preset test configuration information, executed in the request wrapper;
a target writing method creation unit configured to execute creation of a target writing method in a case where the preset test configuration information is inquired to include request content configuration information;
and the request content configuration information modification unit is configured to execute the modification of the request content in the configured network request into the request content configuration information based on the target writing method to obtain the target network request.
Optionally, the request wrapper is configured with a preset cache, and the request content configuration information modification unit includes:
the first request content unit is configured to execute the writing of the request content in the configured network request into the preset cache based on the target writing method to obtain a network request to be processed;
a request content modifying unit configured to perform modification of the request content in the preset cache to the request content configuration information based on the target writing method;
and the second request content unit is configured to execute the target writing method, write the modified request content in the preset cache into the network request to be processed, and obtain the target network request.
Optionally, the content configuration unit further includes:
and the target network request determining unit is configured to execute the configured network request as the target network request under the condition that the preset test configuration information does not comprise the request content configuration information.
Optionally, the apparatus further includes:
and the response instance packaging module is configured to be executed in the request wrapper to package the original response instance to obtain a response wrapper.
Optionally, the response instance packaging module includes:
a target response creation method creation unit configured to create a target response creation method in the request wrapper;
and the response instance packaging unit is configured to perform the process of packaging the original response instance based on the target response creation method to obtain the response wrapper.
Optionally, the response wrapper is configured with a response transformation method, and the response configuration module includes:
a third preset test configuration information query unit configured to query the preset test configuration information, executed in the response wrapper;
a target monitoring method creation unit configured to create a target monitoring method when the preset test configuration information is queried to include response content configuration information;
A response transformation method insertion unit configured to perform insertion of the response transformation method before an original listening method based on the target listening method;
and the response configuration unit is configured to intercept returned original response data based on the response transformation method and modify the original response data into the response content configuration information to obtain the target response data.
Optionally, the response configuration module further includes:
and a target response data determining unit configured to perform taking the original response data as the target response data in the case that the preset test configuration information is inquired that the response content configuration information is not included.
Optionally, the apparatus further includes:
the preset test configuration information acquisition module is configured to acquire the preset test configuration information from the configuration terminal based on the preset interactive service.
According to a third aspect of embodiments of the present disclosure, there is provided 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 method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of any one of the first aspects of embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of the first aspects of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the application test process, the original network request can be configured by calling a preset wrapper in combination with preset test configuration information to obtain a target network request; after the request content in the target network request is sent based on the request address in the target network request, in the response wrapper, response configuration is carried out on the returned original response data based on preset test configuration information, and target response data are obtained; and finally, determining an application test result according to the target network request and the target response data, and avoiding the steps of certificate installation and the like without depending on third-party software in the application test process, so that the operation of application test can be greatly simplified, and the application test efficiency is improved.
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 application test method according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a request address configuration of an original network request based on preset test configuration information in a preset wrapper, according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method for generating a target network request in a request wrapper for content configuration of request content in a configured network request based on preset test configuration information, according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method for modifying request content in a configured network request to request content configuration information based on a target write method to obtain a target network request according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating response configuration of returned raw response data based on preset test configuration information to obtain target response data in a response wrapper according to an exemplary embodiment;
FIG. 6 is a schematic diagram of an application environment shown in accordance with an exemplary embodiment;
FIG. 7 is a block diagram of an application testing apparatus, according to an example embodiment;
FIG. 8 is a block diagram of an electronic device for application testing, 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.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 is a flowchart illustrating an application testing method according to an exemplary embodiment, and as shown in fig. 1, the application testing method is used in an application to be tested or an electronic device in which the application to be tested is installed, and specifically may include the following steps.
In step S101, a preset wrapper of the network request component is invoked in response to the application test instruction.
In practical applications, the application to be tested may include a business logic component and a network request component. In a particular embodiment, the business logic component may be a component for implementing business logic of an application to be tested. The network request component may create a component of the network request for the business logic corresponding to the combined business logic component. In an alternative embodiment, the business logic component may invoke a preset wrapper of the network request component.
In a specific embodiment, a network request may often include request content and request addresses. In practical applications, the request address in the network request is often a background service address corresponding to the application program to be tested. In a specific embodiment, in order to avoid affecting the service of the application to be tested, the request address in the network request needs to be modified to redirect to a designated request address, such as a test server or a local access address, when the application test is performed. Correspondingly, the application to be tested can also comprise a preset wrapper. Specifically, the preset wrapper may be a wrapper of a pre-configured network request component, and in particular, the preset wrapper may be used for performing request configuration on an original network request created by the network request component.
In a specific embodiment, the application to be tested may also be provided with a local server in case a request address in the network request needs to be redirected to the local. Alternatively, the local server may be a mini-server. Specifically, the local server may be in an on state and respond to a corresponding network request by listening for a corresponding port.
In a specific embodiment, the application to be tested may also be provided with a preset interactive service, which may be used for interactive communication with the outside, or alternatively, a web service. In a specific embodiment, the method may further include: and acquiring preset test configuration information from the configuration terminal based on the preset interaction service.
In a specific embodiment, the preset test configuration information may include request address configuration information, request content configuration information, and response content configuration information. Specifically, the request address configuration information may be a preconfigured request address, the request content configuration information may be preconfigured request content, and the response content configuration information may be preconfigured response content.
In practical application, at least one of the request address, the request content and the response content may be preconfigured in advance in combination with the application requirements.
In a specific embodiment, if the login service needs to be tested, for example, when the user registers, the user needs to click on the registration button with a password greater than 8 digits (i.e. the button becomes operable after inputting 8 digits), and accordingly, the fact that the submitted password is less than 8 digits cannot be tested, the test can be implemented by modifying the request content in the network request, and accordingly, the configuration information of the request content of the password less than 8 digits can be preconfigured.
In a specific embodiment, it is assumed that a login service needs to be tested, for example, a user logs in through a mobile phone number, and the mobile phone number input by the user is correct; under normal conditions, the response data is successful login; if the test of response failure is required, the test can be realized by modifying response data, and correspondingly, the response content configuration information of response failure can be preconfigured.
In a specific embodiment, the configuration terminal may be a terminal for providing a test configuration service for a user, and specifically, the configuration terminal may be provided with a configuration page, and accordingly, the user may input preset test configuration information based on the configuration page, and transmit the preset test configuration information to the application program to be tested based on the preset interaction service. Optionally, the preset test configuration information may be transmitted to the electronic device where the application to be tested is located, and optionally, the preset test configuration information may be stored in the electronic device.
In the above embodiment, the configuration terminal performs the configuration of the test configuration information in advance, so that the subsequent test configuration can be conveniently performed directly based on the preset test configuration information, and the test efficiency is improved.
In step S103, in the preset wrapper, the request configuration is performed on the original network request based on the preset test configuration information, so as to obtain the target network request.
In an optional embodiment, in the foregoing preset wrapper, performing request configuration on the original network request based on the preset test configuration information to obtain the target network request may include: in a preset wrapper, configuring a request address of an original network request based on preset test configuration information, and wrapping the configured network request to obtain a request wrapper; and in the request wrapper, carrying out content configuration on request content in the configured network request based on preset test configuration information, and generating a target network request.
In the above embodiment, by calling the preset wrapper, the request address configuration can be performed on the original network request in combination with the preset test configuration information, and the configured network request is wrapped to obtain the request wrapper; furthermore, in the request wrapper, the content configuration can be carried out on the request content in the configured network request by combining with the preset test configuration information, the target network request is generated, the modification of the request address and the request content in the original network request can be realized, and the test requirement of the request address and the request content modification is met.
In an alternative embodiment, as shown in fig. 2, in the preset wrapper, the configuring the request address of the original network request based on the preset test configuration information may include the following steps:
in step S201, in a preset wrapper, an original network request component is invoked to create an original network request;
in step S203, the preset test configuration information is queried;
in step S205, in the case where the query of the preset test configuration information includes the request address configuration information, creating a target orientation method;
in step S207, the request address in the original network request is modified to the request address configuration information based on the target direction method, and the configured network request is obtained.
In a particular embodiment, the target-oriented method may be a recreated method for opening the request address. In the embodiment of the present disclosure, by the method of recreating the open request address, modification of the request address in the network request may be implemented, and the configured network request may be generated.
In a specific embodiment, if the query of the preset test configuration information includes request address configuration information, that is, the current test needs to modify the request address, correspondingly, the request address in the original network request can be modified into the request address configuration information based on the target orientation method, so as to obtain the configured network request;
In the above embodiment, the current test requirement can be quickly and effectively identified by querying the preset test configuration information, and under the condition that the current test requirement includes modification of the request address, the modification of the request address in the original network request can be realized by the method of opening the request address by re-creation, so as to meet the test requirement of the request address modification.
In an alternative embodiment, as shown in fig. 2, in the preset wrapper, the configuring the request address of the original network request based on the preset test configuration information further includes the following steps:
in step S209, in the case where it is queried that the preset test configuration information does not include the request address configuration information, the original network request is taken as the configured network request.
In a specific embodiment, if the preset test configuration information is not found to include the request address configuration information, that is, the current test does not need to modify the request address, the original network request may be used as the configured network request correspondingly.
In addition, it should be noted that, in practical application, the target orientation method may be created in advance before the preset test configuration information is queried.
In the above embodiment, the current test requirement can be quickly and effectively identified by querying the preset test configuration information, and the original network request is directly used as the configured network request under the condition that the current test requirement does not include modification of the request address, so that the request address in the test process can be quickly determined, and the test efficiency is further improved.
In a specific embodiment, packaging the configured network request, the obtaining the request wrapper may include: and generating a request wrapper based on the configured network request and the preset cache.
In a specific embodiment, the request wrapper may be a wrapper for wrapping the request content in the network request, and specifically, the request wrapper is configured with a preset cache, so that when the request content in the network request needs to be modified, the request content is stored by using the preset cache, and further, the request content in the network request can be quickly modified.
In an alternative embodiment, as shown in fig. 3, in the request wrapper, the content configuration of the request content in the configured network request based on the preset test configuration information, and the generating the target network request may include the following steps:
In step S301, in the request wrapper, the preset test configuration information is queried;
in step S303, in the case where the query of the preset test configuration information includes the request content configuration information, creating a target writing method;
in step S305, based on the target writing method, the request content in the configured network request is modified to the request content configuration information, so as to obtain the target network request.
In a particular embodiment, the target writing method may be used to perform a writing process involving data in the request content modification process.
In a specific embodiment, if the query to the preset test configuration information includes the request content configuration information, that is, the current test needs to modify the request content, correspondingly, the request content in the configured network request may be modified into the request content configuration information by combining with the re-created target writing method, so as to obtain the target network request.
In the above embodiment, the current test requirement can be quickly and effectively identified by querying the preset test configuration information, and under the condition that the current test requirement includes modification of the request content, the modification of the request content in the original network request can be realized by the recreated target writing method, so as to meet the test requirement of the request content modification.
In an optional embodiment, as shown in fig. 3, in the request wrapper, the content configuring, based on the preset test configuration information, the request content in the configured network request, and generating the target network request may further include:
in step S307, in the case where it is queried that the preset test configuration information does not include the request content configuration information, the configured network request is used as the target network request.
In a specific embodiment, if the preset test configuration information is not found to include the request content configuration information, that is, the current test does not need to modify the request content, the configured network request may be correspondingly used as the target network request.
In the above embodiment, the current test requirement can be identified quickly and effectively by querying the preset test configuration information, and the configured network request is directly used as the configured network request under the condition that the modification of the request content is not included in the current test requirement, so that the target network request in the test process can be determined quickly, and the test efficiency is further improved.
In a specific embodiment, the request wrapper is configured with a preset cache, and correspondingly, as shown in fig. 4, the modifying, based on the target writing method, the request content in the configured network request into the request content configuration information, to obtain the target network request may include the following steps:
In step S401, writing the request content in the configured network request into a preset cache based on a target writing method, to obtain a network request to be processed;
in step S403, the request content in the preset cache is modified into request content configuration information based on the target writing method;
in step S405, based on the target writing method, the modified request content in the preset cache is written into the network request to be processed, so as to obtain the target network request.
In a specific embodiment, after the request content in the configured network request is written into the preset cache based on the target writing method, the network request to be processed does not include the request content; correspondingly, under the condition that the request content needs to be modified, the modified request content in the preset cache can be written into the network request to be processed, so as to obtain the target network request.
In addition, it should be noted that, before the preset test configuration information is queried, the target writing method may be created first, and the request content in the configured network request is written into the preset cache, and correspondingly, when the preset test configuration information is queried that the request content configuration information is not included, the request content in the preset cache may be rewritten into the network request to be processed, so as to obtain the target network request.
In the above embodiment, the preset cache is configured in the request wrapper, so that when the request content in the network request needs to be modified, the request content is stored by using the preset cache, and further the request content in the network request can be quickly modified.
In step S105, the request content in the target network request is transmitted based on the request address in the target network request.
In a specific embodiment, the request content in the target network request may be sent to the request address corresponding device, so that the corresponding device may process the target network request and return corresponding original response data.
In step S107, in the response wrapper, response configuration is performed on the returned original response data based on the response transformation method and the preset test configuration information, so as to obtain target response data.
In an alternative embodiment, the method may further include: in a request wrapper, the original response instance is wrapped to obtain a response wrapper;
in a specific embodiment, the original response instance may be an instance corresponding to the original response data generated in advance, and the instance may have the same data structure as the original response data.
In an alternative embodiment, the foregoing packaging, in the request wrapper, the original response instance, and obtaining the response wrapper may include: in the request wrapper, creating a target response creation method; and packaging the original response instance based on the target response creation method to obtain a response wrapper.
In the above embodiment, the response wrapper is obtained by wrapping the original response instance, so that when the response data modification requirement is met, the response data can be modified and configured, and the test requirement of the response data modification is met.
In a particular embodiment, wrapping the original response instance based on the target response creation method, the deriving the response wrapper may include generating the response wrapper based on the response instance and the response transformation method.
In a specific embodiment, the response wrapper may be a wrapper for wrapping the response instance, and in particular, the response transformation method may be used to intercept the original response data and transform the original response data when the response data modification is required.
In an optional embodiment, the response wrapper is configured with a response transformation method, and correspondingly, as shown in fig. 5, in the response wrapper, performing response configuration on returned original response data based on preset test configuration information, to obtain target response data may include the following steps:
In step S1071, in the response wrapper, the preset test configuration information is queried;
in step S1073, if the preset test configuration information is queried to include response content configuration information, creating a target monitoring method;
in step S1075, a response transformation method is inserted before the original listening method based on the target listening method;
in step S1077, the returned original response data is intercepted based on the response transformation method, and the original response data is modified into response content configuration information, so as to obtain target response data.
In a specific embodiment, the target monitoring method may be used for monitoring configuration, and specifically, the target response data may be obtained by inserting a response transformation method before the original monitoring method, so that the response transformation method intercepts returned original response data, and modifying the original response data into response content configuration information.
In a specific embodiment, if the query to the preset test configuration information includes response content configuration information, that is, the current test needs to modify the response content, correspondingly, the original response data may be modified into the response content configuration information by combining the target monitoring method and the response transformation method, so as to obtain the target response data.
In the above embodiment, the current test requirement can be quickly and effectively identified by querying the preset test configuration information, and under the condition that the current test requirement includes modification of the response content, the modification of the original response data can be realized by the recreated target monitoring method and the response transformation method, so that the test requirement of response data modification is met.
In an alternative embodiment, as shown in fig. 5, in the response wrapper, the responding and configuring the returned original response data based on the preset test configuration information to obtain the target response data may further include the following steps:
in step S1079, in the case where it is queried that the preset test configuration information does not include response content configuration information, the original response data is taken as target response data.
In a specific embodiment, if the preset test configuration information is queried to not include the response content configuration information, that is, the current test does not need to modify the response content, the original response data may be correspondingly used as the target response data.
In the above embodiment, the current test requirement can be quickly and effectively identified by querying the preset test configuration information, and the direct original response data is used as the target response data under the condition that the current test requirement does not include modification of the response content, so that the target response data in the test process can be quickly determined, and the test efficiency is further improved.
In step S109, an application test result is determined according to the target network request and the target response data.
In a specific embodiment, the target network request and target response data may be used as application test results. In a specific embodiment, the application test results may be archived for storage, so that related personnel may perform test analysis in combination with the application test results, thereby better improving the application program.
In a specific embodiment, a user may view an application test result at the configuration end through a preset interaction service built in the application to be tested.
As can be seen from the technical solution provided by the embodiments of the present specification, in the application test process of the present specification, by calling the preset wrapper, the request configuration can be performed on the original network request in combination with the preset test configuration information, so as to obtain the target network request; after the request content in the target network request is sent based on the request address in the target network request, in the response wrapper, response configuration is carried out on the returned original response data based on preset test configuration information, and target response data are obtained; and finally, determining an application test result according to the target network request and the target response data, and avoiding the steps of certificate installation and the like without depending on third-party software in the application test process, so that the operation of application test can be greatly simplified, and the application test efficiency is improved.
In a specific embodiment, as shown in fig. 6, fig. 6 is a schematic diagram of an application environment, which may include a terminal 100, a configuration terminal 200, and a server 300, as shown in fig. 6, according to an exemplary embodiment.
In a specific embodiment, the terminal 100 may be running an application to be tested, and the terminal 100 may be used to perform application testing. Specifically, the application to be tested may include a business logic component 101, a preset wrapper 102, a request wrapper 103, a response wrapper 104, a local server 105, and a preset interaction service 106 during the testing process. Specifically, the configuration terminal 200 may provide a user with viewing access to test configuration services and test results. Specifically, the server 300 may be a background server corresponding to an application to be tested.
In practical application, a user can perform configuration of preset test configuration information in advance based on the configuration terminal 200 in combination with practical application requirements, and specifically, can perform configuration of preset test configuration information on an application to be tested based on the preset interaction service 106; when the test is required, the service logic component 101 may call the preset wrapper 102, in the preset wrapper 102, may check the preset test configuration information, if it is checked that the preset test configuration information includes the request address configuration information, perform request address configuration on the original network request, and package the configured network request to obtain the request wrapper 103; then, in the request wrapper 103, the preset test configuration information may be checked, and if the preset test configuration information is detected to include the request content configuration information, the content configuration is performed on the request content in the configured network request, so as to generate a target network request; the request content may then be sent to the server 300 or the local server 105 in combination with the request address in the target network request; and in the request wrapper 103, the original response instance is wrapped to obtain a response wrapper 104; further, in the response wrapper 104, under the condition of the original response data returned by the server 300 or the local server 105, the preset test configuration information can be checked, and if the preset test configuration information includes the response content configuration information, the response configuration can be performed on the original response data to obtain the target response data; and determining an application test result according to the target network request and the target response data. Optionally, the user may view the application test result through the configuration terminal 200, and in particular, the configuration terminal 200 may view the application test result based on the preset interaction service 106.
In an alternative embodiment, the terminal 100 and the configuration terminal 200 may include, but are not limited to, smart phones, desktop computers, tablet computers, notebook computers, smart speakers, digital assistants, augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, smart wearable devices, and other types of electronic devices. Alternatively, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In an alternative embodiment, the server 300 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), and basic cloud computing services such as big data and artificial intelligence platforms.
In the embodiment of the present disclosure, the terminal 100, the configuration terminal 200 and the server 300 may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
FIG. 7 is a block diagram of an application testing apparatus, according to an example embodiment. Referring to fig. 7, the apparatus includes:
a preset wrapper invoking module 710 configured to execute a preset wrapper invoking the network request component in response to the application test instruction, the preset wrapper being configured to perform a request address configuration on an original network request created by the network request component;
the network request configuration module 720 is configured to perform request configuration on the original network request based on preset test configuration information in the preset wrapper, so as to obtain a target network request;
a request content transmitting module 730 configured to perform transmission of request content in the target network request based on a request address in the target network request;
the response configuration module 740 is configured to perform response configuration on the returned original response data based on preset test configuration information in the response wrapper to obtain target response data;
the application test result determination module 750 is configured to perform determining an application test result based on the target network request and the target response data.
Optionally, the network request configuration module 720 includes:
the network request address configuration unit is configured to be executed in the preset wrapper, configure the request address of the original network request based on the preset test configuration information, and wrap the configured network request to obtain a request wrapper;
The content configuration unit is configured to be executed in the request wrapper, perform content configuration on the request content in the configured network request based on preset test configuration information, and generate a target network request.
Optionally, the network request address configuration unit includes:
an original network request creation unit configured to execute in a preset wrapper, call an original network request component to create an original network request;
the first preset test configuration information inquiry unit is configured to perform inquiry of preset test configuration information;
a target orientation method creation unit configured to execute creation of a target orientation method in the case where the query of the preset test configuration information includes the request address configuration information;
and the request address modification unit is configured to modify the request address in the original network request into request address configuration information based on the target orientation method to obtain the configured network request.
Optionally, the network request address configuration unit further includes:
and the post-configuration network request determining unit is configured to perform the original network request as the post-configuration network request when the preset test configuration information is inquired that the request address configuration information is not included.
Optionally, the content configuration unit includes:
a second preset test configuration information inquiry unit configured to be executed in the request wrapper to inquire the preset test configuration information;
a target writing method creation unit configured to execute creation of a target writing method in a case where the query of the preset test configuration information includes the request content configuration information;
and the request content configuration information modification unit is configured to execute a target writing method, modify the request content in the configured network request into request content configuration information and obtain a target network request.
Optionally, the request wrapper is configured with a preset cache, and the request content configuration information modification unit includes:
the first request content unit is configured to execute writing the request content in the configured network request into a preset cache based on a target writing method to obtain a network request to be processed;
a request content modifying unit configured to perform modification of the request content in the preset cache into request content configuration information based on the target writing method;
and the second request content unit is configured to execute a target-based writing method, and write the modified request content in the preset cache into the network request to be processed to obtain a target network request.
Optionally, the content configuration unit further includes:
and the target network request determining unit is configured to execute the configured network request as the target network request when the preset test configuration information is inquired that the request content configuration information is not included.
Optionally, the apparatus further includes:
and the response instance packaging module is configured to be executed in the request wrapper to package the original response instance to obtain a response wrapper.
Optionally, the response instance packaging module includes:
a target response creation method creation unit configured to create a target response creation method in the request wrapper;
and the response instance packaging unit is configured to perform a target response creation-based method, package the original response instance and obtain a response wrapper.
Optionally, the response wrapper is configured with a response transformation method, and the response configuration module 740 includes:
a third preset test configuration information query unit configured to query preset test configuration information, executed in the response wrapper;
a target monitoring method creation unit configured to execute creation of a target monitoring method in the case where the inquiry of the preset test configuration information includes the response content configuration information;
A response transformation method insertion unit configured to perform insertion of a response transformation method before an original listening method based on a target listening method;
and the response configuration unit is configured to intercept the returned original response data based on the response transformation method and modify the original response data into response content configuration information to obtain target response data.
Optionally, the response configuration module 740 further includes:
and a target response data determination unit configured to perform taking the original response data as target response data in the case that the preset test configuration information is inquired that the response content configuration information is not included.
Optionally, the apparatus further includes:
the preset test configuration information acquisition module is configured to acquire preset test configuration information from the configuration terminal based on the preset interactive service.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram illustrating an electronic device for application testing, which may be a terminal, according to an exemplary embodiment, and an internal structure diagram thereof may be as shown in fig. 8. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an application test method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not limiting of the electronic device to which the disclosed aspects apply, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the application testing method as in the embodiments of the present disclosure.
In an exemplary embodiment, a computer readable storage medium is also provided, which when executed by a processor of an electronic device, enables the electronic device to perform the application test method in the embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions that, when run on a computer, cause the computer to perform the application testing method in the embodiments of the present disclosure is also provided.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
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 (27)

1. An application testing method, comprising:
responding to an application test instruction, and calling a preset wrapper of a network request component, wherein the preset wrapper is used for carrying out request configuration on an original network request created by the network request component;
in the preset wrapper, carrying out request configuration on the original network request based on preset test configuration information to obtain a target network request;
Transmitting request content in the target network request based on a request address in the target network request;
in the response wrapper, response configuration is carried out on the returned original response data based on the preset test configuration information, and target response data are obtained;
and determining an application test result according to the target network request and the target response data.
2. The application testing method according to claim 1, wherein in the preset wrapper, performing request configuration on the original network request based on preset test configuration information to obtain a target network request includes:
in the preset wrapper, performing request address configuration on the original network request based on preset test configuration information, and wrapping the configured network request to obtain a request wrapper;
and in the request wrapper, performing content configuration on the request content in the configured network request based on the preset test configuration information, and generating a target network request.
3. The application testing method according to claim 2, wherein in the preset wrapper, performing request address configuration on the original network request based on preset test configuration information includes:
Calling an original network request component to create an original network request in the preset wrapper;
inquiring the preset test configuration information;
under the condition that the preset test configuration information comprises request address configuration information, a target orientation method is established;
and modifying the request address in the original network request into the request address configuration information based on the target orientation method to obtain the configured network request.
4. The application testing method according to claim 3, wherein in the preset wrapper, performing request address configuration on the original network request based on preset test configuration information further comprises:
and under the condition that the preset test configuration information does not comprise the request address configuration information, taking the original network request as the configured network request.
5. The application testing method according to claim 2, wherein the generating, in the request wrapper, the target network request based on the preset test configuration information to perform content configuration on the request content in the configured network request includes:
inquiring the preset test configuration information in the request wrapper;
Creating a target writing method under the condition that the preset test configuration information is inquired to comprise request content configuration information;
and based on the target writing method, modifying the request content in the configured network request into the request content configuration information to obtain the target network request.
6. The application testing method according to claim 5, wherein the request wrapper is configured with a preset cache, and the modifying the request content in the configured network request to the request content configuration information based on the target writing method, to obtain the target network request includes:
writing the request content in the configured network request into the preset cache based on the target writing method to obtain a network request to be processed;
modifying the request content in the preset cache into the request content configuration information based on the target writing method;
and writing the modified request content in the preset cache into the network request to be processed based on the target writing method to obtain the target network request.
7. The application testing method according to claim 5, wherein in the request wrapper, performing content configuration on the request content in the configured network request based on the preset test configuration information, and generating a target network request further includes:
And under the condition that the preset test configuration information does not comprise the request content configuration information, the configured network request is used as the target network request.
8. The application testing method of claim 2, wherein the method further comprises:
and in the request wrapper, the original response instance is wrapped to obtain a response wrapper.
9. The application testing method according to claim 8, wherein said packaging the original response instance in the request wrapper, resulting in a response wrapper comprises:
creating a target response creation method in the request wrapper;
and packaging the original response instance based on the target response creation method to obtain the response wrapper.
10. The application testing method according to claim 1, wherein the response wrapper is configured with a response transformation method, and the in the response wrapper, performing response configuration on returned original response data based on the preset test configuration information, to obtain target response data includes:
inquiring the preset test configuration information in the response wrapper;
Creating a target monitoring method under the condition that the preset test configuration information is inquired to comprise response content configuration information;
inserting the response transformation method before the original monitoring method based on the target monitoring method;
intercepting returned original response data based on the response transformation method, and modifying the original response data into the response content configuration information to obtain the target response data.
11. The application testing method according to claim 10, wherein in the response wrapper, performing response configuration on the returned original response data based on the preset test configuration information, to obtain target response data further includes:
and under the condition that the preset test configuration information does not comprise response content configuration information, taking the original response data as the target response data.
12. The application testing method according to any one of claims 1 to 11, further comprising:
and acquiring the preset test configuration information from a configuration terminal based on a preset interaction service.
13. An application testing apparatus, comprising:
a preset wrapper calling module configured to execute a preset wrapper for calling a network request component in response to an application test instruction, wherein the preset wrapper is used for carrying out request configuration on an original network request created by the network request component;
The network request configuration module is configured to be executed in the preset wrapper, and request configuration is carried out on the original network request based on preset test configuration information to obtain a target network request;
a request content transmitting module configured to perform transmitting request content in the target network request based on a request address in the target network request;
the response configuration module is configured to be executed in the response wrapper, and response configuration is carried out on the returned original response data based on the preset test configuration information to obtain target response data;
and the application test result determining module is configured to determine an application test result according to the target network request and the target response data.
14. The application testing apparatus of claim 13, wherein the network request configuration module comprises:
a network request address configuration unit configured to be executed in the preset wrapper, perform request address configuration on the original network request based on preset test configuration information, and wrap the configured network request to obtain a request wrapper;
and the content configuration unit is configured to be executed in the request wrapper, perform content configuration on the request content in the configured network request based on the preset test configuration information, and generate a target network request.
15. The application test apparatus according to claim 14, wherein the network request address configuration unit includes:
an original network request creation unit configured to execute the original network request creation unit in the preset wrapper, and call an original network request component to create an original network request;
the first preset test configuration information query unit is configured to perform query on the preset test configuration information;
a target orientation method creation unit configured to execute creating a target orientation method in a case where the query of the preset test configuration information includes request address configuration information;
and the request address modification unit is configured to modify the request address in the original network request into the request address configuration information based on the target orientation method to obtain the configured network request.
16. The application test apparatus of claim 15, wherein the network request address configuration unit further comprises:
and the configured network request determining unit is configured to perform the original network request as the configured network request when the preset test configuration information is inquired that the request address configuration information is not included.
17. The application test apparatus according to claim 14, wherein the content configuration unit includes:
a second preset test configuration information query unit configured to query the preset test configuration information, executed in the request wrapper;
a target writing method creation unit configured to execute creation of a target writing method in a case where the preset test configuration information is inquired to include request content configuration information;
and the request content configuration information modification unit is configured to execute the modification of the request content in the configured network request into the request content configuration information based on the target writing method to obtain the target network request.
18. The application test apparatus according to claim 17, wherein the request wrapper is configured with a preset cache, and the request content configuration information modification unit includes:
the first request content unit is configured to execute the writing of the request content in the configured network request into the preset cache based on the target writing method to obtain a network request to be processed;
a request content modifying unit configured to perform modification of the request content in the preset cache to the request content configuration information based on the target writing method;
And the second request content unit is configured to execute the target writing method, write the modified request content in the preset cache into the network request to be processed, and obtain the target network request.
19. The application test apparatus according to claim 17, wherein the content configuration unit further comprises:
and the target network request determining unit is configured to execute the configured network request as the target network request under the condition that the preset test configuration information does not comprise the request content configuration information.
20. The application testing apparatus of claim 14, wherein the apparatus further comprises:
and the response instance packaging module is configured to be executed in the request wrapper to package the original response instance to obtain a response wrapper.
21. The application testing apparatus of claim 20, wherein the response instance wrapper module comprises:
a target response creation method creation unit configured to create a target response creation method in the request wrapper;
and the response instance packaging unit is configured to perform the process of packaging the original response instance based on the target response creation method to obtain the response wrapper.
22. The application testing apparatus of claim 13, wherein the response wrapper is configured with a response transformation method, the response configuration module comprising:
a third preset test configuration information query unit configured to query the preset test configuration information, executed in the response wrapper;
a target monitoring method creation unit configured to create a target monitoring method when the preset test configuration information is queried to include response content configuration information;
a response transformation method insertion unit configured to perform insertion of the response transformation method before an original listening method based on the target listening method;
and the response configuration unit is configured to intercept returned original response data based on the response transformation method and modify the original response data into the response content configuration information to obtain the target response data.
23. The application testing apparatus of claim 22, wherein the response configuration module further comprises:
and a target response data determining unit configured to perform taking the original response data as the target response data in the case that the preset test configuration information is inquired that the response content configuration information is not included.
24. The application testing apparatus according to any one of claims 13 to 23, further comprising:
the preset test configuration information acquisition module is configured to acquire the preset test configuration information from the configuration terminal based on the preset interactive service.
25. 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 application testing method of any one of claims 1 to 12.
26. A computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the application testing method of any one of claims 1 to 12.
27. A computer program product comprising computer instructions which, when executed by a processor, implement the application testing method of any one of claims 1 to 12.
CN202110350138.4A 2021-03-31 2021-03-31 Application testing method and device, electronic equipment and storage medium Active CN113204477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110350138.4A CN113204477B (en) 2021-03-31 2021-03-31 Application testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110350138.4A CN113204477B (en) 2021-03-31 2021-03-31 Application testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113204477A CN113204477A (en) 2021-08-03
CN113204477B true CN113204477B (en) 2024-01-12

Family

ID=77025995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110350138.4A Active CN113204477B (en) 2021-03-31 2021-03-31 Application testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113204477B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664395A (en) * 2018-04-26 2018-10-16 武汉斗鱼网络科技有限公司 Applied program testing method, device, equipment and storage medium
US10146666B1 (en) * 2017-08-29 2018-12-04 Facebook, Inc. Systems and methods for improving comparative performance test results of mobile applications
CN109582556A (en) * 2017-09-29 2019-04-05 阿里巴巴集团控股有限公司 Test method, the device and system of a kind of application program in running of mobile terminal situation
CN110413512A (en) * 2019-07-03 2019-11-05 深圳市珍爱捷云信息技术有限公司 AB test method, device, computer equipment and storage medium
CN110727589A (en) * 2019-09-30 2020-01-24 北京创鑫旅程网络技术有限公司 Test method, device and equipment
CN110753020A (en) * 2018-07-24 2020-02-04 北京京东尚科信息技术有限公司 Network request processing method and device
CN111914262A (en) * 2020-08-12 2020-11-10 中国工商银行股份有限公司 Test method, device, system, electronic equipment and storage medium
CN112306858A (en) * 2020-05-21 2021-02-02 北京字节跳动网络技术有限公司 Test method and device and electronic equipment
EP3786824A1 (en) * 2019-08-30 2021-03-03 Beijing Xiaomi Mobile Software Co., Ltd. Methods and devices for testing an application on a terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10146666B1 (en) * 2017-08-29 2018-12-04 Facebook, Inc. Systems and methods for improving comparative performance test results of mobile applications
CN109582556A (en) * 2017-09-29 2019-04-05 阿里巴巴集团控股有限公司 Test method, the device and system of a kind of application program in running of mobile terminal situation
CN108664395A (en) * 2018-04-26 2018-10-16 武汉斗鱼网络科技有限公司 Applied program testing method, device, equipment and storage medium
CN110753020A (en) * 2018-07-24 2020-02-04 北京京东尚科信息技术有限公司 Network request processing method and device
CN110413512A (en) * 2019-07-03 2019-11-05 深圳市珍爱捷云信息技术有限公司 AB test method, device, computer equipment and storage medium
EP3786824A1 (en) * 2019-08-30 2021-03-03 Beijing Xiaomi Mobile Software Co., Ltd. Methods and devices for testing an application on a terminal
CN110727589A (en) * 2019-09-30 2020-01-24 北京创鑫旅程网络技术有限公司 Test method, device and equipment
CN112306858A (en) * 2020-05-21 2021-02-02 北京字节跳动网络技术有限公司 Test method and device and electronic equipment
CN111914262A (en) * 2020-08-12 2020-11-10 中国工商银行股份有限公司 Test method, device, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113204477A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN109344642B (en) Interface rule checking method, device, computer equipment and storage medium
CN110990205B (en) Interface call testing method, device and computer readable storage medium
CN109190067B (en) Browser input box display method and device, computer equipment and storage medium
CN103970760B (en) A kind of web-page requests processing method and processing device
CN113726770B (en) Data interception method, device, computer equipment and storage medium
CN111431767B (en) Multi-browser resource synchronization method and device, computer equipment and storage medium
CN115225707A (en) Resource access method and device
CN112615759A (en) Full link voltage measurement assembly, full link voltage measurement method and device
CN113467855A (en) Webpage request processing method and device, electronic equipment and storage medium
US20220078161A1 (en) Method and apparatus for advertisement anti-blocking
CN110597709A (en) Interactive debugging method and device for mixed-mode mobile application and computer equipment
CN113204477B (en) Application testing method and device, electronic equipment and storage medium
CN111159033B (en) Software testing method and device
CN109492144B (en) Association relation analysis method, device and storage medium for software system
CN111552643A (en) Multi-browser webpage access synchronization method and system
CN107239475B (en) File calling method and device
CN113419968B (en) Application testing method and device, electronic equipment and storage medium
CN114417281A (en) Method and device for responding permission request, computer equipment and storage medium
CN113315829A (en) Client offline H5 page loading method and device, computer equipment and medium
CN112711538B (en) Test system simulation method, device, computer equipment and storage medium
CN113901377B (en) Service calling method, device, storage medium and equipment of legacy system
CN110505258A (en) Webpage load and response method, device, computer equipment and storage medium
CN115190362B (en) Data processing method and device, electronic equipment and storage medium
CN113469735B (en) Resource processing method and device, electronic equipment and storage medium
CN112671728B (en) Network access request acquisition method and device, computer equipment and storage medium

Legal Events

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