CN110737579A - Test method, proxy server, device and system based on code instrumentation - Google Patents

Test method, proxy server, device and system based on code instrumentation Download PDF

Info

Publication number
CN110737579A
CN110737579A CN201810804360.5A CN201810804360A CN110737579A CN 110737579 A CN110737579 A CN 110737579A CN 201810804360 A CN201810804360 A CN 201810804360A CN 110737579 A CN110737579 A CN 110737579A
Authority
CN
China
Prior art keywords
dotting
request
specified
test case
test
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.)
Pending
Application number
CN201810804360.5A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810804360.5A priority Critical patent/CN110737579A/en
Publication of CN110737579A publication Critical patent/CN110737579A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program

Abstract

The invention discloses testing methods based on code instrumentation, a proxy server, a device, a system, electronic equipment and a computer readable storage medium.

Description

Test method, proxy server, device and system based on code instrumentation
Technical Field
The invention relates to the field of computers, in particular to code instrumentation-based testing methods, proxy servers, devices, systems, electronic equipment and computer-readable storage media.
Background
In the dotting test of the application, the dotting request verification occupies a great proportion of the test, for example, of the application informs a dotting SDK service, dotting needs to be carried out on of an advertiser so as to inform of the clicking condition informed by of the advertiser, and therefore, in the application needs to be tested whether the function of the dotting SDK is normal or not.
In the prior art, a scheme of instrumentation test is generally adopted, and whether response information is correct or not is mainly returned through response of mock dotting requests.
Disclosure of Invention
In view of the above, the present invention has been developed to provide code instrumentation based testing methods, proxy servers, devices, systems, electronic devices, and computer readable storage media that overcome or at least partially address the above-mentioned problems.
According to aspects of the present invention, there are provided code instrumentation-based testing methods, wherein the methods comprise:
receiving a dotting request sent by a dotting client;
obtaining dotting response information corresponding to the dotting request according to the dotting request;
changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
receiving dotting response information returned by the simulation server according to the changed dotting response configuration file, and forwarding the received dotting response information to the dotting client;
and storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
Optionally, the method further includes:
receiving a notice of starting a test of a specified test case sent by a dotting client, wherein the notice of starting the test of the specified test case comprises identification information of the specified test case; receiving a notice of ending the test of the specified test case sent by the dotting client;
the step of storing the dotting request corresponding to the specified test case sent by the dotting client to a specified database comprises the following steps: and when the notice of the end of the test of the specified test case is received, correspondingly storing a dotting request sent by the dotting client between the start of the test and the end of the test and the identification information of the specified test case into a specified database.
Optionally, the obtaining, according to the dotting request, dotting response information corresponding to the dotting test request includes:
creating a mapping relation file, wherein dotting response information corresponding to the dotting request is stored in the mapping relation file;
obtaining domain name information and a dotting request type in the dotting request;
and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
According to another aspect of the invention, there is provided code instrumentation-based testing methods, wherein the methods comprise:
acquiring test information of a specified test case;
controlling a dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case, and sending a corresponding dotting request to a proxy server;
after the test of the specified test case is finished, reading dotting request data corresponding to the specified test case from a specified database;
and judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
Optionally, the method further includes:
generating a corresponding dotting result report according to the judgment result;
and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
Alternatively,
before the dotting client sends a corresponding dotting request to the proxy server, the method further includes sending a notification specifying that a test case starts testing to the proxy server;
and before the dotting request data corresponding to the specified test case is read from the specified database, the method further includes sending a notification that the specified test case ends testing to the proxy server;
and the notification of starting the test of the specified test case comprises the identification information of the specified test case.
Optionally, the determining whether the obtained dotting request data correctly includes kinds or more of the following:
judging whether the content of the dotting request data is correct or not;
judging whether the number of the dotting request data is correct or not;
and judging whether the order of the dotting request data is correct or not.
According to yet another aspects of the present invention, there are provided kinds of proxy servers, wherein the proxy servers include:
the receiving unit is suitable for receiving a dotting request sent by a dotting client;
the acquisition unit is suitable for acquiring dotting response information corresponding to the dotting request according to the dotting request;
the change unit is suitable for changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
the forwarding unit is suitable for receiving dotting response information returned by the simulation server according to the changed dotting response configuration file and forwarding the received dotting response information to the dotting client;
and the storage unit is suitable for storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
Alternatively,
the receiving unit is suitable for receiving a notice of starting the test of the specified test case sent by the dotting client, wherein the notice of starting the test of the specified test case comprises the identification information of the specified test case; receiving a notice of ending the test of the specified test case sent by the dotting client;
and the storage unit is suitable for correspondingly storing the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case to a specified database when receiving the notification of the test end of the specified test case.
Alternatively,
the acquisition unit is suitable for creating a mapping relation file, and dotting response information corresponding to the dotting request is stored in the mapping relation file; obtaining domain name information and a dotting request type in the dotting request; and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
According to yet another aspects of the present invention, there is provided code instrumentation-based test device, wherein the device comprises:
the acquisition unit is suitable for acquiring the test information of the specified test case;
the control unit is suitable for controlling the dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case and sending a corresponding dotting request to the proxy server;
the reading unit is suitable for reading dotting request data corresponding to the specified test case from a specified database after the test of the specified test case is finished;
and the judging unit is suitable for judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
Optionally, the apparatus further comprises:
the report generating unit is suitable for generating a corresponding dotting result report according to the judgment result; and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
Optionally, the apparatus further comprises:
the sending unit is suitable for sending a notice of starting the test of the specified test case to the proxy server before the dotting client sends the corresponding dotting request to the proxy server, and the device further comprises the step of sending a notice of ending the test of the specified test case to the proxy server before the dotting request data corresponding to the specified test case is read from the specified database;
and the notification of starting the test of the specified test case comprises the identification information of the specified test case.
Alternatively,
the judging unit judges whether the acquired dotting request data correctly include or more of the following types:
judging whether the content of the dotting request data is correct or not;
judging whether the number of the dotting request data is correct or not;
and judging whether the order of the dotting request data is correct or not.
According to yet another aspects of the present invention, there are provided code instrumentation-based testing systems, wherein the systems include a proxy server as described above, a code instrumentation-based testing device as described above, a dotting client, and a simulation server.
According to a further aspect of the invention, there is provided electronic devices, wherein the electronic devices comprise:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a method according to the foregoing.
According to a further aspect of the present invention, computer readable storage media are provided, wherein the computer readable storage media store or more programs, which or more programs, when executed by a processor, implement the aforementioned methods.
According to the technical scheme, the method comprises the steps of receiving a dotting request sent by a dotting client, obtaining dotting response information corresponding to the dotting request according to the dotting request, changing corresponding dotting response information in a dotting response configuration file of a simulation server according to the obtained dotting response information, receiving dotting response information returned by the simulation server according to the changed dotting response configuration file, transmitting the received dotting response information to the dotting client, and storing the dotting request corresponding to a specified test case sent by the dotting client into a specified database.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of a code instrumentation based testing method according to embodiments of the present invention;
FIG. 2 shows a flowchart of a code instrumentation based testing method according to another embodiments of the present invention;
FIG. 3 shows a schematic of a structure of a proxy server according to embodiments of the invention;
FIG. 4 shows a schematic structural diagram of embodiments of a code instrumentation based test device according to the present invention;
FIG. 5 shows a schematic structural diagram of an embodiment code instrumentation-based test system according to the present invention;
FIG. 6 shows a schematic structural diagram of an electronic device according to embodiments of the invention;
fig. 7 shows a structural diagram of embodiments of the computer-readable storage medium according to the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
For example, in test cases, the required dotting request is a download trigger request of a specific application 1, a download trigger request of a specific application 2, a download request of a specific application 2, an installation request of a specific application 2, and an opening request of a specific application 2, then in the actual verification test process, the download trigger request of a specific application 1, the download trigger request of a specific application 2, the installation request of a specific application 2, and the opening request of a specific application 2 may occur, that is, steps of missing the download request of a specific application 2, or in the actual verification test process, the download trigger request of a specific application 1, the download trigger request of a specific application 2, the download request of a specific application 2, the opening request of a specific application 2, and the installation request of a specific application 2 may occur, and the order of the dotting requests may be incorrect, so that the technical solution is based on the technical solution of the following description.
Fig. 1 shows a flow chart of embodiments of a test method based on code instrumentation, and the technical solution is explained from a proxy server side, as shown in fig. 1, the method includes:
step S110, receiving a dotting request sent by the dotting client.
When specified test cases need to be subjected to dotting request verification, the dotting client sends dotting requests of the specified test cases.
And step S120, obtaining dotting response information corresponding to the dotting request according to the dotting request.
Because the dotting request is verified, when the dotting request cannot be really sent to the server corresponding to the dotting request after being received, the response of the dotting request needs to be simulated so as to return dotting response information. When the dotting response information is returned, it is first necessary to determine what dotting response needs to be performed on the received dotting request, so in this embodiment, it is necessary to obtain dotting response information corresponding to the dotting request according to the dotting request.
And step S130, changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information.
The simulation server is a server which simulates a real server corresponding to the dotting request to execute the dotting request response operation. Specifically, a response of the dotting request is carried out according to the dotting response configuration file, and dotting response information corresponding to the dotting request is returned.
In this embodiment, a proxy server is introduced to obtain a dotting response message corresponding to the dotting request, that is, a test for dotting verification by the proxy server is introduced, the proxy server changes a dotting response configuration file of a simulation server after obtaining corresponding dotting response messages, because considering that a real server corresponding to the dotting request can be a multi-party server, such as a jingtong server, a Tengtong server and the like, if a response of the dotting request by the multi-party server is to be simulated to return dotting response data, a plurality of simulation servers are required to respectively simulate the real server, such as simulation server 1 simulating a Jingdong server and simulation server 2 simulating a Tengtong server, which are relatively high in cost, therefore, the embodiment introduces the proxy server, obtains dotting response messages corresponding to the dotting request through the proxy server, then changes the dotting response configuration file of the simulation server, only needs to simulate the effect that a plurality of simulation servers return dotting response messages, such as dotting requests, the proxy server obtains dotting response messages corresponding to the dotting request of the Tengtong server, and then obtains the change response of the jingtong server corresponding simulated messages corresponding to the jingtong server.
Step S140, receiving the dotting response information returned by the simulation server according to the changed dotting response configuration file, and forwarding the received dotting response information to the dotting client.
In the process of the verification test of the dotting request, the dotting client sends dotting requests according to the dotting response information returned by the dotting response configuration file, that is, in the process of the verification test, the dotting client needs to receive the dotting response information returned by the simulation server in real time to indicate that the current dotting request is finished, and only after the current dotting request is finished, the next dotting requests are sent, so in this embodiment, after receiving the dotting response information returned by the simulation server, the proxy server needs to forward the received dotting response information to the dotting client, so that the dotting client sends the next dotting requests.
And step S150, storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
The designation database may be a database on the proxy server side, a database on the test apparatus side, or a database provided separately from the proxy server and the test apparatus. In order to verify all dotting requests of the specified test cases, the proxy server needs to store the dotting requests which are sent by the dotting client and correspond to the specified test cases into a specified database, and after the specified test cases are tested, according to the dotting requests which are stored in the specified database and correspond to the specified test cases, whether the dotting requests are wrong in the test process of the specified test cases is judged, and whether all the dotting requests of the specified test cases are wrong can be observed comprehensively.
Therefore, in the verification test, the dotting requests of the specified test cases are stored by using the proxy server, so that after the specified test cases are finished, the dotting requests corresponding to the specified test cases in the specified database can be read for verification, the verification of all the dotting requests in test cases is further realized, the correctness of all the dotting requests under test cases is integrally ensured, and the verification accuracy of the dotting requests is further ensured.
In embodiments of the present invention, the method further shown in fig. 1 includes receiving a notification sent by the dotting client that a specified test case starts testing, where the notification sent by the dotting client that the specified test case starts testing includes identification information of the specified test case, and receiving a notification sent by the dotting client that the specified test case ends testing.
Then, the step S150 of the method shown in fig. 1 of saving the dotting request, which is sent by the dotting client and corresponds to the specified test case, to the specified database includes: and when receiving a notice of the end of the test of the specified test case, correspondingly storing a dotting request sent by the dotting client between the start of the test and the end of the test and the identification information of the specified test case into a specified database.
In this embodiment, in order for the proxy server to receive dotting requests of different test cases, in order to ensure that the dotting requests can be stored corresponding to corresponding test cases when being stored, the proxy server needs to be notified when to specify when a test case starts and when to end. Therefore, when the proxy server stores the dotting request, the proxy server can know that the dotting request between the test start and the test end and the specified test case are correspondingly stored, and specifically, the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case are correspondingly stored in the specified database.
In embodiments of the present invention, the acquiring, according to the dotting request, the dotting response information corresponding to the dotting request in step S120 shown in fig. 1 includes creating a mapping relationship file in which the dotting response information corresponding to the dotting request is stored, acquiring domain name information and a dotting request type in the dotting request, and acquiring, according to the acquired domain name information and the dotting request type, the dotting response information corresponding to the dotting request from the mapping relationship file.
In order to enable the proxy server to obtain the dotting response information corresponding to the dotting request, the embodiment is implemented by creating a mapping relation file. And storing dotting response information corresponding to various dotting requests in the mapping relation file, so that after the proxy server receives the dotting requests, the dotting response information corresponding to the dotting requests can be inquired according to the mapping relation file.
Preferably, the dotting request includes corresponding domain name information and a type of the dotting request, and dotting response information corresponding to different types of the dotting request under different domain name information is also correspondingly stored in the mapping relation file. When the proxy server receives the dotting request, acquiring domain name information and a dotting request type in the dotting request; and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
For example, if the dotting request is a jingdong application downloading request, the domain name information of the obtained dotting request is the jingdong domain name information, and the dotting request type is downloading, so that the dotting response information corresponding to the downloading request of the jingdong server can be determined according to the domain name information of the dotting request and the dotting request type, and the simulation server can simulate the jingdong server to return the dotting request information corresponding to the downloading request.
Fig. 2 shows a flow chart of a code instrumentation based test method according to another embodiments of the present invention, and the technical solution is explained from the side of a code instrumentation based test device, as shown in fig. 2, the method includes:
step S210, test information of the specified test case is acquired.
When a specified test case starts to be tested, test information of the specified test case needs to be acquired so as to acquire specific dotting request information of the specified test case.
Step S220, according to the test information of the specified test case, the dotting client is controlled to execute the dotting operation of the specified test case, and a corresponding dotting request is sent to the proxy server.
The dotting client is a main body for executing the dotting operation and sending the dotting request, but in order to make the dotting client know what dotting operation needs to be executed specifically, the dotting client needs to be determined according to the test information of the specified test case, namely the dotting client is controlled to execute the dotting operation of the specified test case according to the test information of the specified test case.
And step S230, after the test of the specified test case is finished, reading dotting request data corresponding to the specified test case from the specified database.
Step S240, determining whether the obtained dotting request data is correct according to the dotting result information preset by the specified test case.
In order to judge whether all the requests of the specified test cases are correct or not, after the test of the specified test cases is finished, dotting request data corresponding to the specified test cases are read from the specified database, and because each test case comprises corresponding preset dotting result information, namely correct dotting result information, whether the obtained dotting request data are correct or not can be judged according to the correct dotting result information. Because all the dotting response information in the test case test process is acquired, the integral judgment can be carried out on all the dotting response information in the integrity according to the preset dotting result information.
Therefore, in the verification test, the dotting requests of the specified test cases are stored by using the proxy server, so that after the specified test cases are finished, the dotting requests corresponding to the specified test cases in the specified database can be read for verification, the verification of all the dotting requests in test cases is further realized, the correctness of all the dotting requests under test cases is integrally ensured, and the verification accuracy of the dotting requests is further ensured.
In embodiments of the present invention, the method shown in fig. 2 further includes generating a corresponding dotting result report according to the determination result, and displaying the generated dotting result report, or sending the generated dotting result report to a designated device.
In this embodiment, after determining whether the obtained dotting request data is correct, in order to enable a tester to obtain a determination result more intuitively, a corresponding dotting result report is generated according to the determination result, for example, whether each dotting request of a test case is correct, whether the sequence of the dotting requests is correct, whether the number of the dotting requests is correct, and which dotting request is not tested, and then the generated dotting result report is displayed, or the generated dotting result report is sent to a designated device.
The display of the generated dotting result report may be performed in a display screen of the designated terminal after the dotting result report is sent to the designated terminal, or in a test terminal (a terminal installed with a dotting client); the generated dotting result report is sent to the designated equipment through a designated way, such as sending a mailbox, a short message or other information.
In embodiments of the present invention, before the dotting client in step S220 sends a corresponding dotting request to the proxy server, step shown in fig. 1 further includes sending a notification of a start of a specified test case to the proxy server, and before the dotting request data corresponding to the specified test case is read from the specified database in step S230, step further includes sending a notification of an end of the specified test case to the proxy server, where the notification of the start of the specified test case includes identification information of the specified test case.
In this embodiment, in order for the proxy server to receive dotting requests of different test cases, in order to ensure that the dotting requests can be stored corresponding to corresponding test cases when being stored, the proxy server needs to be notified when to specify when a test case starts and when to end. And informing the proxy server of the identification information of the specified test case so that the proxy server correspondingly stores the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case to a specified database.
When the dotting request data corresponding to the specified test case is read from the specified database, the dotting request data can be read according to the identification information of the specified test case.
In embodiments of the present invention, the determination of whether the obtained dotting request data in step S240 shown in fig. 2 includes or more of determining whether the content of the dotting request data is correct, determining whether the number of the dotting request data is correct, and determining whether the order of the dotting request data is correct.
As described above, in consideration of the fact that in the process of testing test cases, errors may occur in all the dotting requests for test cases, for example, missed tests and incorrect sequences, in this embodiment, it may be determined whether the content of each dotting request corresponding to a test case is correct, the number of dotting requests and the sequence of the dotting requests are correct, and it may be ensured that not only the content of each dotting request is correct, but also the number and the sequence of the dotting requests of the test cases are correct.
For example, in test cases, if the required dotting request is a download trigger request of a specific application 1, a download trigger request of a specific application 2, a download request of a specific application 2, an installation request of a specific application 2, and an opening request of a specific application 2, the preset dotting result information of the dotting request corresponding to the test case is 1, 2, 3, 4. after the test case test is finished, the dotting request data is obtained from a specific database, if the obtained dotting request data is 1, 2, 3, 5, it is determined according to the preset dotting result information of 1, 2, 3, 4, that dotting requests 5 in the test of the test case are wrong, if the obtained dotting request data is 1, 3, 2, 4, it is determined according to the preset dotting result information of 1, 2, 3, 4, the order of the dotting requests in the test case is wrong, and if the obtained dotting request data is 1, 2, 4, it is determined that the test case has no dotting request in the test case, 2, 3, and .
In embodiments of the present invention, the method shown in FIG. 2 is applied at the test terminal side, where the test terminal installs the dotting client.
Fig. 3 shows a schematic structural diagram of a proxy server according to embodiments of the present invention, as shown in fig. 3, the proxy server 300 includes:
the receiving unit 310 is adapted to receive a dotting request sent by a dotting client.
When specified test cases need to be subjected to dotting request verification, the dotting client sends dotting requests of the specified test cases.
The obtaining unit 320 is adapted to obtain, according to the dotting request, dotting response information corresponding to the dotting request.
Because the dotting request is verified, when the dotting request cannot be really sent to the server corresponding to the dotting request after being received, the response of the dotting request needs to be simulated so as to return dotting response information. When the dotting response information is returned, it is first necessary to determine what dotting response needs to be performed on the received dotting request, so in this embodiment, it is necessary to obtain dotting response information corresponding to the dotting request according to the dotting request.
The changing unit 330 is adapted to change the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information.
The simulation server is a server which simulates a real server corresponding to the dotting request to execute the dotting request response operation. Specifically, a response of the dotting request is carried out according to the dotting response configuration file, and dotting response information corresponding to the dotting request is returned.
In this embodiment, a proxy server is introduced to obtain a dotting response message corresponding to the dotting request, that is, a test for dotting verification by the proxy server is introduced, the proxy server changes a dotting response configuration file of a simulation server after obtaining corresponding dotting response messages, because considering that a real server corresponding to the dotting request can be a multi-party server, such as a jingtong server, a Tengtong server and the like, if a response of the dotting request by the multi-party server is to be simulated to return dotting response data, a plurality of simulation servers are required to respectively simulate the real server, such as simulation server 1 simulating a Jingdong server and simulation server 2 simulating a Tengtong server, which are relatively high in cost, therefore, the embodiment introduces the proxy server, obtains dotting response messages corresponding to the dotting request through the proxy server, then changes the dotting response configuration file of the simulation server, only needs to simulate the effect that a plurality of simulation servers return dotting response messages, such as dotting requests, the proxy server obtains dotting response messages corresponding to the dotting request of the Tengtong server, and then obtains the change response of the jingtong server corresponding simulated messages corresponding to the jingtong server.
And the forwarding unit 340 is adapted to receive the dotting response information returned by the simulation server according to the changed dotting response configuration file, and forward the received dotting response information to the dotting client.
In the process of the verification test of the dotting request, the dotting client sends dotting requests according to the dotting response information returned by the dotting response configuration file, that is, in the process of the verification test, the dotting client needs to receive the dotting response information returned by the simulation server in real time to indicate that the current dotting request is finished, and only after the current dotting request is finished, the next dotting requests are sent, so in this embodiment, after receiving the dotting response information returned by the simulation server, the proxy server needs to forward the received dotting response information to the dotting client, so that the dotting client sends the next dotting requests.
The saving unit 350 is adapted to save the dotting request corresponding to the specified test case sent by the dotting client to the specified database.
The designation database may be a database on the proxy server side, a database on the test apparatus side, or a database provided separately from the proxy server and the test apparatus. In order to verify all dotting requests of the specified test cases, the proxy server needs to store the dotting requests which are sent by the dotting client and correspond to the specified test cases into a specified database, and after the specified test cases are tested, according to the dotting requests which are stored in the specified database and correspond to the specified test cases, whether the dotting requests are wrong in the test process of the specified test cases is judged, and whether all the dotting requests of the specified test cases are wrong can be observed comprehensively.
Therefore, in the verification test, the dotting requests of the specified test cases are stored by using the proxy server, so that after the specified test cases are finished, the dotting requests corresponding to the specified test cases in the specified database can be read for verification, the verification of all the dotting requests in test cases is further realized, the correctness of all the dotting requests under test cases is integrally ensured, and the verification accuracy of the dotting requests is further ensured.
In embodiments of the present invention, the receiving unit 310 shown in fig. 3 is adapted to receive a notification that a specified test case starts testing and is sent by a dotting client, where the notification that the specified test case starts testing includes identification information of the specified test case, and receive a notification that the specified test case ends testing and is sent by the dotting client.
Then, the saving unit 350 shown in fig. 3 is adapted to, when receiving a notification that the specified test case ends the test, correspondingly save the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case to the specified database.
In this embodiment, in order for the proxy server to receive dotting requests of different test cases, in order to ensure that the dotting requests can be stored corresponding to corresponding test cases when being stored, the proxy server needs to be notified when to specify when a test case starts and when to end. Therefore, when the proxy server stores the dotting request, the proxy server can know that the dotting request between the test start and the test end and the specified test case are correspondingly stored, and specifically, the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case are correspondingly stored in the specified database.
In embodiments of the present invention, the obtaining unit 320 shown in fig. 1 is adapted to create a mapping relationship file, where the mapping relationship file stores dotting response information corresponding to a dotting request, obtain domain name information and a dotting request type in the dotting request, and obtain dotting response information corresponding to the dotting request from the mapping relationship file according to the obtained domain name information and the dotting request type.
In order to enable the proxy server to obtain the dotting response information corresponding to the dotting request, the embodiment is implemented by creating a mapping relation file. And storing dotting response information corresponding to various dotting requests in the mapping relation file, so that after the proxy server receives the dotting requests, the dotting response information corresponding to the dotting requests can be inquired according to the mapping relation file.
Preferably, the dotting request includes corresponding domain name information and a type of the dotting request, and dotting response information corresponding to different types of the dotting request under different domain name information is also correspondingly stored in the mapping relation file. When the proxy server receives the dotting request, acquiring domain name information and a dotting request type in the dotting request; and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
For example, if the dotting request is a jingdong application downloading request, the domain name information of the obtained dotting request is the jingdong domain name information, and the dotting request type is downloading, so that the dotting response information corresponding to the downloading request of the jingdong server can be determined according to the domain name information of the dotting request and the dotting request type, and the simulation server can simulate the jingdong server to return the dotting request information corresponding to the downloading request.
FIG. 4 shows a schematic structural diagram of a code instrumentation based test device according to embodiments of the present invention, as shown in FIG. 4, the code instrumentation based test device 400 comprises:
the obtaining unit 410 is adapted to obtain test information of a specified test case.
When a specified test case starts to be tested, test information of the specified test case needs to be acquired so as to acquire specific dotting request information of the specified test case.
The control unit 420 is adapted to control the dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case, and send a corresponding dotting request to the proxy server.
The dotting client is a main body for executing the dotting operation and sending the dotting request, but in order to make the dotting client know what dotting operation needs to be executed specifically, the dotting client needs to be determined according to the test information of the specified test case, namely the dotting client is controlled to execute the dotting operation of the specified test case according to the test information of the specified test case.
The reading unit 430 is adapted to read dotting request data corresponding to the specified test case from the specified database after the test of the specified test case is finished.
The judging unit 440 is adapted to judge whether the obtained dotting request data is correct according to the dotting result information preset by the specified test case.
In order to judge whether all the requests of the specified test cases are correct or not, after the test of the specified test cases is finished, dotting request data corresponding to the specified test cases are read from the specified database, and because each test case comprises corresponding preset dotting result information, namely correct dotting result information, whether the obtained dotting request data are correct or not can be judged according to the correct dotting result information. Because all the dotting response information in the test case test process is acquired, the integral judgment can be carried out on all the dotting response information in the integrity according to the preset dotting result information.
Therefore, in the verification test, the dotting requests of the specified test cases are stored by using the proxy server, so that after the specified test cases are finished, the dotting requests corresponding to the specified test cases in the specified database can be read for verification, the verification of all the dotting requests in test cases is further realized, the correctness of all the dotting requests under test cases is integrally ensured, and the verification accuracy of the dotting requests is further ensured.
In embodiments of the present invention, the apparatus shown in FIG. 4 further comprises step :
the report generating unit is suitable for generating a corresponding dotting result report according to the judgment result; and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
In this embodiment, after determining whether the obtained dotting request data is correct, in order to enable a tester to obtain a determination result more intuitively, a corresponding dotting result report is generated according to the determination result, for example, whether each dotting request of a test case is correct, whether the sequence of the dotting requests is correct, whether the number of the dotting requests is correct, and which dotting request is not tested, and then the generated dotting result report is displayed, or the generated dotting result report is sent to a designated device.
The display of the generated dotting result report may be performed in a display screen of the designated terminal after the dotting result report is sent to the designated terminal, or in a test terminal (a terminal installed with a dotting client); the generated dotting result report is sent to the designated equipment through a designated way, such as sending a mailbox, a short message or other information.
In embodiments of the present invention, the apparatus shown in FIG. 4 further comprises step :
the sending unit is suitable for sending a notice of starting the test of the specified test case to the proxy server before the dotting client sends the corresponding dotting request to the proxy server, and the step includes sending a notice of ending the test of the specified test case to the proxy server before the dotting request data corresponding to the specified test case is read from the specified database, wherein the notice of starting the test of the specified test case includes identification information of the specified test case.
In this embodiment, in order for the proxy server to receive dotting requests of different test cases, in order to ensure that the dotting requests can be stored corresponding to corresponding test cases when being stored, the proxy server needs to be notified when to specify when a test case starts and when to end. And informing the proxy server of the identification information of the specified test case so that the proxy server correspondingly stores the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case to a specified database.
When the dotting request data corresponding to the specified test case is read from the specified database, the dotting request data can be read according to the identification information of the specified test case.
In embodiments of the present invention, the determining unit 440 shown in fig. 4 determines whether the obtained dotting request data includes or more of determining whether the content of the dotting request data is correct, determining whether the number of the dotting request data is correct, and determining whether the order of the dotting request data is correct.
As described above, in consideration of the fact that in the process of testing test cases, errors may occur in all the dotting requests for test cases, for example, missed tests and incorrect sequences, in this embodiment, it may be determined whether the content of each dotting request corresponding to a test case is correct, the number of dotting requests and the sequence of the dotting requests are correct, and it may be ensured that not only the content of each dotting request is correct, but also the number and the sequence of the dotting requests of the test cases are correct.
For example, in test cases, if the required dotting request is a download trigger request of a specific application 1, a download trigger request of a specific application 2, a download request of a specific application 2, an installation request of a specific application 2, and an opening request of a specific application 2, the preset dotting result information of the dotting request corresponding to the test case is 1, 2, 3, 4. after the test case test is finished, the dotting request data is obtained from a specific database, if the obtained dotting request data is 1, 2, 3, 5, it is determined according to the preset dotting result information of 1, 2, 3, 4, that dotting requests 5 in the test of the test case are wrong, if the obtained dotting request data is 1, 3, 2, 4, it is determined according to the preset dotting result information of 1, 2, 3, 4, the order of the dotting requests in the test case is wrong, and if the obtained dotting request data is 1, 2, 4, it is determined that the test case has no dotting request in the test case, 2, 3, and .
In embodiments of the present invention, the code instrumentation based test device 400 shown in FIG. 4 is implemented on the test terminal side, where the test terminal installs a dotting client.
Fig. 5 shows a schematic structural diagram of embodiments of the code instrumentation based test system according to the present invention, as shown in fig. 5, the code instrumentation based test system 500 includes a proxy server 300 as shown in fig. 3, a code instrumentation based test device 400 as shown in fig. 4, a dotting client 510 and a simulation server 520.
The dotting client 510 is adapted to execute a dotting operation of a specified test case according to the control of the test apparatus 400, and send a corresponding dotting request to the proxy server; and receiving dotting response information forwarded by the proxy server.
And the simulation server 520 is suitable for sending dotting response information corresponding to the dotting request to the proxy server according to the changed dotting response configuration file.
In the embodiment, the dotting response configuration file of the simulation server is changed by using the proxy server, the effect of simulating responses of a plurality of real servers to dotting requests by using simulation servers is achieved, the cost is saved, meanwhile, the dotting requests of the specified test cases are stored by the proxy server, so that after the specified test cases are finished, a testing device can read the dotting requests corresponding to the specified test cases in the specified database for verification, the verification of all the dotting requests in test cases is further achieved, the correctness of all the dotting requests under test cases is integrally guaranteed, and the verification accuracy of the dotting requests is further guaranteed.
In specific examples, a test device based on code instrumentation obtains test information of a test case 1, sends a notification that the test case 1 starts testing to a proxy server, then controls a dotting client to execute dotting operation of a specified test case according to the test information of the specified test case, the dotting client sends a corresponding dotting request to the proxy server, the proxy server receives the dotting request sent by the dotting client, obtains dotting response information corresponding to the dotting request according to the dotting request, changes corresponding dotting response information in a dotting response configuration file of a simulation server according to the obtained dotting response information, the simulation server returns dotting response information corresponding to the dotting request to the proxy server according to the dotting response configuration file, the proxy server receives dotting response information returned by the simulation server according to the changed dotting response configuration file, forwards the received dotting response information to the dotting client, and the dotting client performs the dotting operation of dotting requests after receiving the dotting response information, sends the corresponding dotting request to the proxy server, and judges whether the test result of the test case is correctly sent by the test device after the test result is obtained by the test device, and the test result of the specified test case is correctly sent to the specified test database.
In summary, according to the technical scheme of the invention, the dotting request sent by the dotting client is received, the dotting response information corresponding to the dotting request is obtained according to the dotting request, the dotting response information corresponding to the dotting response configuration file of the simulation server is changed according to the obtained dotting response information, the dotting response information returned by the simulation server according to the changed dotting response configuration file is received, the received dotting response information is forwarded to the dotting client, and the dotting request corresponding to the specified test case sent by the dotting client is stored in the specified database.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus, various general purpose devices may also be used with the teachings based thereon, the required structure for constructing such devices is readily apparent from the above description.
However, it is understood that embodiments of the invention may be practiced without these specific details, and that examples well-known methods, structures, and techniques have not been shown in detail in order not to obscure the understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together by in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of the various inventive aspects, however, the disclosed method is not intended to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.
It will be understood by those skilled in the art that modules in the apparatus of the embodiments may be adaptively changed and arranged in or more apparatuses different from the embodiments, that modules or units or components in the embodiments may be combined into modules or units or components, and further, that they may be divided into sub-modules or sub-units or sub-components, that all features disclosed in this specification (including the accompanying claims, abstract and drawings), and all processes or units of any method or apparatus so disclosed, may be combined in any combination, except at least of such features and/or processes or units are mutually exclusive, unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose.
Furthermore, those of skill in the art will appreciate that while the embodiments described herein include some features included in other embodiments, not others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
and some or all of the functions of and some or all of the components of a proxy server, an apparatus, a system, an electronic device, and a computer readable storage medium according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for performing part or all of the methods described herein.A program implementing the present invention may be stored on a computer readable medium or may be in the form of or more signals.
For example, FIG. 6 shows a schematic block diagram of an electronic device according to embodiments of the invention, the electronic device 600 conventionally comprises a processor 610 and a memory 620 arranged to store computer-executable instructions (program code), the memory 620 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read Only memory), an EPROM, a hard disk or a ROM, the memory 620 has a storage space 630 storing program code 640 for performing the steps of any of the methods shown in FIG. 1 or FIG. 2 and in embodiments, for example, the storage space 630 for the program code may comprise respective program code 640 for implementing the various steps of the above methods, the program code may be read from or written to or more computer program products such as or more computer program products, the computer program products comprise program code carriers such as a hard disk, a Compact Disk (CD), a memory card or a floppy disk, such computer program products are generally computer-readable storage media 700 as described in FIG. 7, the computer program code may be read by the electronic device when the program code stored in the storage space 620, the program code may be read by the electronic device 610, the electronic device may perform the steps described generally when the method, for example, the method steps described by the electronic device may be performed by the storage medium 700.
The invention may be embodied by means of hardware comprising several distinct elements, and by means of a suitably programmed computer, in a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware, the use of the words , second, third, etc. may indicate any sequence.
The invention discloses a test method based on code instrumentation of A1 and , wherein the method comprises the following steps:
receiving a dotting request sent by a dotting client;
obtaining dotting response information corresponding to the dotting request according to the dotting request;
changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
receiving dotting response information returned by the simulation server according to the changed dotting response configuration file, and forwarding the received dotting response information to the dotting client;
and storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
A2, the method of a1, wherein the method further comprises:
receiving a notice of starting a test of a specified test case sent by a dotting client, wherein the notice of starting the test of the specified test case comprises identification information of the specified test case; receiving a notice of ending the test of the specified test case sent by the dotting client;
the step of storing the dotting request corresponding to the specified test case sent by the dotting client to a specified database comprises the following steps: and when the notice of the end of the test of the specified test case is received, correspondingly storing a dotting request sent by the dotting client between the start of the test and the end of the test and the identification information of the specified test case into a specified database.
A3, the method as in a1, wherein the obtaining, according to the dotting request, dotting response information corresponding to the dotting request includes:
creating a mapping relation file, wherein dotting response information corresponding to the dotting request is stored in the mapping relation file;
obtaining domain name information and a dotting request type in the dotting request;
and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
The invention also discloses B4 and test methods based on code instrumentation, wherein the method comprises the following steps:
acquiring test information of a specified test case;
controlling a dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case, and sending a corresponding dotting request to a proxy server;
after the test of the specified test case is finished, reading dotting request data corresponding to the specified test case from a specified database;
and judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
B5, the method of B4, wherein the method further comprises:
generating a corresponding dotting result report according to the judgment result;
and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
B6, the method according to B4, wherein,
before the dotting client sends a corresponding dotting request to the proxy server, the method further includes sending a notification specifying that a test case starts testing to the proxy server;
and before the dotting request data corresponding to the specified test case is read from the specified database, the method further includes sending a notification that the specified test case ends testing to the proxy server;
and the notification of starting the test of the specified test case comprises the identification information of the specified test case.
The method B7, as recited in B4, wherein the judging whether the obtained dotting request data correctly includes or more of:
judging whether the content of the dotting request data is correct or not;
judging whether the number of the dotting request data is correct or not;
and judging whether the order of the dotting request data is correct or not.
The invention also discloses a C8, proxy server, wherein, the proxy server includes:
the receiving unit is suitable for receiving a dotting request sent by a dotting client;
the acquisition unit is suitable for acquiring dotting response information corresponding to the dotting request according to the dotting request;
the change unit is suitable for changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
the forwarding unit is suitable for receiving dotting response information returned by the simulation server according to the changed dotting response configuration file and forwarding the received dotting response information to the dotting client;
and the storage unit is suitable for storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
C9, the proxy server as described in C8, wherein,
the receiving unit is suitable for receiving a notice of starting the test of the specified test case sent by the dotting client, wherein the notice of starting the test of the specified test case comprises the identification information of the specified test case; receiving a notice of ending the test of the specified test case sent by the dotting client;
and the storage unit is suitable for correspondingly storing the dotting request sent by the dotting client between the test start and the test end and the identification information of the specified test case to a specified database when receiving the notification of the test end of the specified test case.
C10, the proxy server as described in C8, wherein,
the acquisition unit is suitable for creating a mapping relation file, and dotting response information corresponding to the dotting request is stored in the mapping relation file; obtaining domain name information and a dotting request type in the dotting request; and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
The invention also discloses D11 and testing devices based on code instrumentation, wherein the device comprises:
the acquisition unit is suitable for acquiring the test information of the specified test case;
the control unit is suitable for controlling the dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case and sending a corresponding dotting request to the proxy server;
the reading unit is suitable for reading dotting request data corresponding to the specified test case from a specified database after the test of the specified test case is finished;
and the judging unit is suitable for judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
D12, the device of D11, wherein the device further comprises:
the report generating unit is suitable for generating a corresponding dotting result report according to the judgment result; and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
D13, the device of D11, wherein the device further comprises:
the sending unit is suitable for sending a notice of starting the test of the specified test case to the proxy server before the dotting client sends the corresponding dotting request to the proxy server, and the device further comprises the step of sending a notice of ending the test of the specified test case to the proxy server before the dotting request data corresponding to the specified test case is read from the specified database;
and the notification of starting the test of the specified test case comprises the identification information of the specified test case.
D14, the device of D11, wherein,
the judging unit judges whether the acquired dotting request data correctly include or more of the following types:
judging whether the content of the dotting request data is correct or not;
judging whether the number of the dotting request data is correct or not;
and judging whether the order of the dotting request data is correct or not.
The invention also discloses E15 and code instrumentation-based test systems, wherein the system comprises a proxy server as described in any of C8-C10, a code instrumentation-based test device as described in any of D11-D14, a dotting client and a simulation server.
The invention also discloses F16 and electronic equipment, wherein the electronic equipment comprises:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a method according to any of a 1-A3 or to perform a method according to any of B4-B7.
The invention also discloses G17 and computer readable storage media, wherein the computer readable storage media store or more programs, and the or more programs, when executed by a processor, implement the method of any of A1-A3 or implement the method of any of B4-B7.

Claims (10)

1, test method based on code instrumentation, wherein the method comprises:
receiving a dotting request sent by a dotting client;
obtaining dotting response information corresponding to the dotting request according to the dotting request;
changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
receiving dotting response information returned by the simulation server according to the changed dotting response configuration file, and forwarding the received dotting response information to the dotting client;
and storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
2. The method of claim 1, wherein the method further includes:
receiving a notice of starting a test of a specified test case sent by a dotting client, wherein the notice of starting the test of the specified test case comprises identification information of the specified test case; receiving a notice of ending the test of the specified test case sent by the dotting client;
the step of storing the dotting request corresponding to the specified test case sent by the dotting client to a specified database comprises the following steps: and when the notice of the end of the test of the specified test case is received, correspondingly storing a dotting request sent by the dotting client between the start of the test and the end of the test and the identification information of the specified test case into a specified database.
3. The method of claim 1, wherein the obtaining, according to the dotting request, dotting response information corresponding to the dotting test request comprises:
creating a mapping relation file, wherein dotting response information corresponding to the dotting request is stored in the mapping relation file;
obtaining domain name information and a dotting request type in the dotting request;
and acquiring dotting response information corresponding to the dotting request from the mapping relation file according to the acquired domain name information and the type of the dotting request.
4, code instrumentation based test method, wherein the method comprises:
acquiring test information of a specified test case;
controlling a dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case, and sending a corresponding dotting request to a proxy server;
after the test of the specified test case is finished, reading dotting request data corresponding to the specified test case from a specified database;
and judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
5. The method of claim 4, wherein the method further includes:
generating a corresponding dotting result report according to the judgment result;
and displaying the generated dotting result report, or sending the generated dotting result report to a specified device.
A proxy server of the type , wherein the proxy server comprises:
the receiving unit is suitable for receiving a dotting request sent by a dotting client;
the acquisition unit is suitable for acquiring dotting response information corresponding to the dotting request according to the dotting request;
the change unit is suitable for changing the corresponding dotting response information in the dotting response configuration file of the simulation server according to the obtained dotting response information;
the forwarding unit is suitable for receiving dotting response information returned by the simulation server according to the changed dotting response configuration file and forwarding the received dotting response information to the dotting client;
and the storage unit is suitable for storing the dotting request which is sent by the dotting client and corresponds to the specified test case into a specified database.
7, a code instrumentation based testing device, wherein the device comprises:
the acquisition unit is suitable for acquiring the test information of the specified test case;
the control unit is suitable for controlling the dotting client to execute the dotting operation of the specified test case according to the test information of the specified test case and sending a corresponding dotting request to the proxy server;
the reading unit is suitable for reading dotting request data corresponding to the specified test case from a specified database after the test of the specified test case is finished;
and the judging unit is suitable for judging whether the obtained dotting request data is correct or not according to the dotting result information preset by the specified test case.
Code instrumentation based test system of claim 8, , wherein the system comprises a proxy server of claim 6, a code instrumentation based test device of claim 7, a dotting client and a simulation server.
An electronic device of the type , wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that when executed cause the processor to perform the method of any of claims 1-5.
10, computer readable storage media, wherein the computer readable storage media stores or more programs, the or more programs when executed by a processor implement the method of any of claims 1-5.
CN201810804360.5A 2018-07-20 2018-07-20 Test method, proxy server, device and system based on code instrumentation Pending CN110737579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810804360.5A CN110737579A (en) 2018-07-20 2018-07-20 Test method, proxy server, device and system based on code instrumentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810804360.5A CN110737579A (en) 2018-07-20 2018-07-20 Test method, proxy server, device and system based on code instrumentation

Publications (1)

Publication Number Publication Date
CN110737579A true CN110737579A (en) 2020-01-31

Family

ID=69234893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810804360.5A Pending CN110737579A (en) 2018-07-20 2018-07-20 Test method, proxy server, device and system based on code instrumentation

Country Status (1)

Country Link
CN (1) CN110737579A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7996818B1 (en) * 2006-12-29 2011-08-09 Amazon Technologies, Inc. Method for testing using client specified references
CN105450476A (en) * 2015-12-07 2016-03-30 北京先进数通信息技术股份公司 Regression test system and test method
CN105530127A (en) * 2015-12-10 2016-04-27 北京奇虎科技有限公司 Method for processing network access request by proxy server and proxy server
CN106021085A (en) * 2016-05-24 2016-10-12 北京金山安全软件有限公司 Performance test method and device and data server
CN107547312A (en) * 2017-09-21 2018-01-05 广州四三九九信息科技有限公司 Applied program testing method and system
CN107783906A (en) * 2017-09-28 2018-03-09 广州酷狗计算机科技有限公司 Method of testing, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7996818B1 (en) * 2006-12-29 2011-08-09 Amazon Technologies, Inc. Method for testing using client specified references
CN105450476A (en) * 2015-12-07 2016-03-30 北京先进数通信息技术股份公司 Regression test system and test method
CN105530127A (en) * 2015-12-10 2016-04-27 北京奇虎科技有限公司 Method for processing network access request by proxy server and proxy server
CN106021085A (en) * 2016-05-24 2016-10-12 北京金山安全软件有限公司 Performance test method and device and data server
CN107547312A (en) * 2017-09-21 2018-01-05 广州四三九九信息科技有限公司 Applied program testing method and system
CN107783906A (en) * 2017-09-28 2018-03-09 广州酷狗计算机科技有限公司 Method of testing, device and storage medium

Similar Documents

Publication Publication Date Title
CN110673576B (en) Automatic test method and device, vehicle and storage medium
CN111240653B (en) Interface document generation method, device and readable storage medium
CN105787364B (en) Automatic testing method, device and system for tasks
CN108021505B (en) Data online method and device and computer equipment
CN111090577B (en) Multi-terminal synchronous test method and device, computer equipment and storage medium
KR101459869B1 (en) Exception handling test device and method thereof
CN111611140B (en) Report verification method and device for buried point data, electronic equipment and storage medium
CN110569159A (en) Baffle generation method, device, equipment and computer storage medium
CN111124911A (en) Automatic testing method, device, equipment and readable storage medium
CN111309602A (en) Software testing method, device and system
CN110096305B (en) Gray scale distribution method, device, equipment and storage medium
CN107632909B (en) Method and system for automatically testing device functions
CN114626683A (en) Product update message notification method and device based on RPA and AI and electronic equipment
CN107590389B (en) Security testing method and device, electronic equipment and computer storage medium
CN107590064A (en) A kind of application upgrade method of testing, device and system
CN109144874B (en) Method and device for monitoring test environment
CN110737579A (en) Test method, proxy server, device and system based on code instrumentation
CN109726124B (en) Test system, test method, management device, test device and computing equipment
CN114356769A (en) Software learning method, device, equipment and storage medium
CN110535685B (en) Fault determination method and device and computer readable storage medium
CN113110996A (en) Test method and device
CN113535538A (en) Application full-link automatic testing method and device, electronic equipment and storage medium
CN110958259A (en) Detection method, device, equipment and storage medium of snort rule
CN112769655B (en) Network variation testing method, device and system
CN110505649B (en) Automatic testing method and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131