CN112783754A - Method and device for testing page - Google Patents

Method and device for testing page Download PDF

Info

Publication number
CN112783754A
CN112783754A CN201911083317.5A CN201911083317A CN112783754A CN 112783754 A CN112783754 A CN 112783754A CN 201911083317 A CN201911083317 A CN 201911083317A CN 112783754 A CN112783754 A CN 112783754A
Authority
CN
China
Prior art keywords
data
page
input parameters
operation information
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
CN201911083317.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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201911083317.5A priority Critical patent/CN112783754A/en
Publication of CN112783754A publication Critical patent/CN112783754A/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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for testing a page, and relates to the technical field of computers. One embodiment of the method comprises: acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information; aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data; and carrying out automatic testing on the page by using the test data. According to the implementation mode, the operation scene of the user can be reproduced by combining the front-end buried data and the request data and the response data corresponding to the page operation, so that the historical behavior data of the user can be more accurately acquired, the accumulation of the test data is better realized, the efficient execution of an automatic test tool can be more conveniently and fully exerted, the test tool is close to the reality, and the regression test is better performed.

Description

Method and device for testing page
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for testing a page.
Background
The log file is a record file or a file set for recording system operation events and can be divided into an event log and a message log. The method has important roles in processing historical data, tracing diagnosis problems, understanding system activities and the like. Therefore, log files play an important role in many business scenarios.
At present, when a page test is performed, in order to ensure the accuracy of data, most of the data is obtained by analyzing a log file at the rear end of a system, and automated testing is performed by using the historical behavior data of a user.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
although the log file of the system can record the system operation event, when the historical behavior data of the user is acquired according to the log file, the operation scene of the user cannot be reproduced, so that the acquired historical behavior data of the user is not objective and accurate enough, great confusion is brought to the accumulation of test data, and the high-efficiency execution of an automatic test tool is not facilitated.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for testing a page, which can combine front-end buried point data, request data and response data corresponding to page operations to reproduce an operation scene of a user, so as to more accurately obtain historical behavior data of the user, better achieve accumulation of test data, and more conveniently give full play to efficient execution of an automated test tool, and make the automated test tool approach reality, thereby better performing regression testing.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of testing a page.
A method of testing a page, comprising: acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information; aggregating and classifying the operational information, the input parameters, the request data, and the response data to generate test data; and carrying out automatic testing on the page by using the test data.
Optionally, aggregating and classifying the operation information, the input parameters, the request data, and the response data includes: respectively acquiring data generation time of the operation information, the input parameters, the request data and the response data; determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data; and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
Optionally, the request data and the response data corresponding to the page operation are acquired in a log or interface manner.
Optionally, the performing an automated test of the page using the test data includes: the automatic testing tool uses the test data to carry out the automatic testing of the page by establishing the mapping relation between the test data and the automatic testing tool.
According to another aspect of the embodiments of the present invention, there is provided an apparatus for testing a page.
An apparatus for testing a page, comprising: the data acquisition module is used for acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information; the data processing module is used for aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data; and the page testing module is used for carrying out automatic testing on the page by using the test data.
Optionally, the data processing module is further configured to: respectively acquiring data generation time of the operation information, the input parameters, the request data and the response data; determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data; and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
Optionally, the request data and the response data corresponding to the page operation are acquired in a log or interface manner.
Optionally, the page testing module is further configured to: the automatic testing tool uses the test data to carry out the automatic testing of the page by establishing the mapping relation between the test data and the automatic testing tool.
According to yet another aspect of an embodiment of the present invention, there is provided an electronic device for testing a page.
An electronic device for testing a page, comprising: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for testing the page provided by the embodiment of the invention.
According to yet another aspect of embodiments of the present invention, a computer-readable medium is provided.
A computer readable medium, on which a computer program is stored, which when executed by a processor implements a method of testing a page as provided by an embodiment of the invention.
One embodiment of the above invention has the following advantages or benefits: acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information; aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data; the automatic testing method based on the embedded point technology + data + automatic testing tool is realized, the operation scene of a user can be reproduced by combining the front-end embedded point data, the request data and the response data corresponding to the page operation, so that the historical behavior data of the user can be acquired more accurately, the accumulation of the testing data is realized better, the efficient execution of the automatic testing tool can be brought into full play more conveniently, the method is close to reality, and the regression testing is performed better.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a method of testing a page according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a page testing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of an apparatus for testing a page according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In order to solve the technical problems in the prior art, the invention provides a method and a device for testing a page. Because what operation is executed by the UI layer of the front-end page cannot be analyzed only by the back-end log, the user operation can be better repeated by combining the front-end data and the back-end data by collecting the front-end data and combining the back-end log data for aggregation and classification processing, so that more accurate user behavior data can be obtained.
Fig. 1 is a schematic diagram of the main steps of a method of testing a page according to an embodiment of the present invention. As shown in fig. 1, the method for testing a page according to the embodiment of the present invention mainly includes the following steps S101 to S103.
Step S101: acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information;
step S102: aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data;
step S103: and carrying out automatic testing on the page by using the test data.
When acquiring the buried point data corresponding to the page operation of the user, the buried point code may be written into the front-end code during front-end development, and pushed to the data platform, so that the user operation data of the front end can be acquired through the buried point. Generally, data embedding is to add a statistical code behind a product function code, record a user operation behavior, add the statistical code to a corresponding place when a user performs a certain operation, such as clicking a certain button, presenting a certain page, and the like, and generate a log record when the data is embedded. However, the embedded point at the front end can only collect the number of times of each click operation on the client, and cannot obtain other information of the user on the page. The invention improves the embedded point code to collect the operation information and input parameters of the user through the embedded point, wherein the operation information of the user can comprise: the button clicked by the user, the number of clicks, the time of the click, etc.
After the user executes the page operation on the front-end page, the front end sends a page operation generation request of the user to the server, and the server processes the request sent by the front-end page and returns response data corresponding to the page operation. According to the embodiment of the invention, the request data and the response data corresponding to the page operation can be acquired in a log or interface mode. Since there are multiple users accessing the system corresponding to the page at the same time, there are many users operating, inputting parameters, requesting data and responding data. After that, these data will be collectively processed according to step S102.
According to an embodiment of the present invention, when aggregating and classifying the operation information, the input parameters, the request data and the response data in step S102, the following steps may be specifically performed:
step S1021: respectively acquiring data generation time of operation information, input parameters, request data and response data;
step S1022: determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data;
step S1023: and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
And matching sample data corresponding to each page operation according to the operation information, the input parameters and the data generation time. And then, classifying the sample data according to the operation information, so that the test data corresponding to different functions of the page can be conveniently accumulated.
According to another embodiment of the present invention, when the test data is used for performing the automated test of the page, the following steps may be specifically performed: and establishing a mapping relation between the test data and the automatic test tool so that the automatic test tool can use the test data to carry out automatic test on the page. The test data can be filled into the automatic test script by establishing a data mapping relation between the test data and the automatic test tool, so that the automatic test of the page by using the test data is realized by running the automatic test script through the automatic test tool.
The following describes a specific implementation process of the present invention by taking an example of testing the function implementation of the home page of a certain system.
FIG. 2 is a flowchart illustrating a page testing method according to an embodiment of the present invention. As shown in fig. 2, according to the technical solution of the present invention, the specific process of the page test is as follows:
1. the user enters a home page of the xxx system, selects a city, a name and a price, and then clicks a 'search' button;
2. the front end collects buried point data of user search operation through the buried point, wherein the buried point data comprises operation information and input parameters;
3. after the front end initiates a search request, response data returned by the server end is received, and the request data and the response data are obtained by analyzing the log or the interface data;
4. storing operation information, input parameters, request data and response data of user search operation;
5. aggregating page operation data of a plurality of users in the system to obtain sample data, and classifying the sample data according to the operation information to obtain test data;
6. the automated test tool reads test data, including: user operation behavior (operation information and input parameters) and data (request data, response data);
7. automated testing of the xxx system home pages is performed.
The following describes the implementation of the method for testing a page according to the present invention with reference to another embodiment. In this embodiment, the specific implementation process includes the following steps:
1. a, a user enters a xxx system home page, selects a city, Beijing, a name, a palace and a price of 60, and clicks a 'search' button;
2. the buried point data of the search operation of the user A collected by the front end is: search _ beijing _ palace _ 60;
3. saving buried point data of the search operation of the user A and request data and response data (for example, in json format) acquired through an interface;
4. b, C and D users respectively perform: city-shanghai operation and price-70 operation, city-tianjin search operation. The buried point data of the page operation of the B user is as follows: city _ shanghai, the buried point data of the page operation of the C user is: price _70, the buried point data of the page operation of the D user is: search _ Tianjin;
5. the buried point data and the request and response data of the above A, B, C, D users are aggregated and classified to obtain test data as follows:
searching: search _ beijing _ palace _60, json data requested and responded to;
search _ Tianjin, json data requested and responded to;
city: city _ shanghai, json data requested and responded to;
the price is as follows: price _70, json data requested and responded to;
from these data, it can be seen that the A, B user performed a search operation, the C user performed a city selection operation, and the D user performed a price selection operation;
6. the automatic test tool establishes mapping with the test data and fills scripts;
7. the automated test tool performs the testing of the xxx system front pages.
Fig. 3 is a schematic diagram of main blocks of an apparatus for testing a page according to an embodiment of the present invention. As shown in fig. 3, the apparatus 300 for testing a page according to the embodiment of the present invention mainly includes a data obtaining module 301, a data processing module 302, and a page testing module 303.
The data acquisition module 301 is configured to acquire buried point data, request data, and response data corresponding to a page operation of a user, where the buried point data includes input parameters and operation information;
a data processing module 302, configured to aggregate and classify the operation information, the input parameters, the request data, and the response data to generate test data;
and the page testing module 303 is configured to perform an automatic test on a page by using the test data.
According to an embodiment of the present invention, the data processing module 302 may be further configured to:
respectively acquiring data generation time of the operation information, the input parameters, the request data and the response data;
determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data;
and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
According to another embodiment of the invention, the request data and the response data corresponding to the page operation can be obtained through a log or an interface.
According to another embodiment of the present invention, the page test module 303 may be further configured to:
the automatic testing tool uses the test data to carry out the automatic testing of the page by establishing the mapping relation between the test data and the automatic testing tool.
According to the technical scheme of the embodiment of the invention, the data of the embedded point, the request data and the response data corresponding to the page operation of the user are obtained, wherein the data of the embedded point comprises input parameters and operation information; aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data; the automatic testing method based on the embedded point technology + data + automatic testing tool is realized, the operation scene of a user can be reproduced by combining the front-end embedded point data, the request data and the response data corresponding to the page operation, so that the historical behavior data of the user can be acquired more accurately, the accumulation of the testing data is realized better, the efficient execution of the automatic testing tool can be brought into full play more conveniently, the method is close to reality, and the regression testing is performed better.
Fig. 4 shows an exemplary system architecture 400 of a method of testing a page or an apparatus for testing a page to which embodiments of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 401, 402, 403. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for testing the page provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the device for testing the page is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use with a terminal device or server implementing an embodiment of the invention is shown. The terminal device or the server shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes a data acquisition module, a data processing module, and a page test module. The names of these units or modules do not in some cases constitute a limitation on the units or modules themselves, and for example, the data acquisition module may also be described as a "module for acquiring buried point data, request data, and response data corresponding to a page operation by a user".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information; aggregating and classifying the operational information, the input parameters, the request data, and the response data to generate test data; and carrying out automatic testing on the page by using the test data.
According to the technical scheme of the embodiment of the invention, the data of the embedded point, the request data and the response data corresponding to the page operation of the user are obtained, wherein the data of the embedded point comprises input parameters and operation information; aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data; the automatic testing method based on the embedded point technology + data + automatic testing tool is realized, the operation scene of a user can be reproduced by combining the front-end embedded point data, the request data and the response data corresponding to the page operation, so that the historical behavior data of the user can be acquired more accurately, the accumulation of the testing data is realized better, the efficient execution of the automatic testing tool can be brought into full play more conveniently, the method is close to reality, and the regression testing is performed better.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of testing a page, comprising:
acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information;
aggregating and classifying the operational information, the input parameters, the request data, and the response data to generate test data;
and carrying out automatic testing on the page by using the test data.
2. The method of claim 1, wherein aggregating and classifying the operational information, the input parameters, the request data, and the response data comprises:
respectively acquiring data generation time of the operation information, the input parameters, the request data and the response data;
determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data;
and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
3. The method according to claim 1, wherein the request data and the response data corresponding to the page operation are obtained by means of a log or an interface.
4. The method of claim 1, wherein using the test data for automated testing of pages comprises:
the automatic testing tool uses the test data to carry out the automatic testing of the page by establishing the mapping relation between the test data and the automatic testing tool.
5. An apparatus for testing a page, comprising:
the data acquisition module is used for acquiring buried point data, request data and response data corresponding to page operation of a user, wherein the buried point data comprises input parameters and operation information;
the data processing module is used for aggregating and classifying the operation information, the input parameters, the request data and the response data to generate test data;
and the page testing module is used for carrying out automatic testing on the page by using the test data.
6. The apparatus of claim 5, wherein the data processing module is further configured to:
respectively acquiring data generation time of the operation information, the input parameters, the request data and the response data;
determining request data and response data corresponding to each page operation according to the operation information, the input parameters and the data generation time, and taking the operation information, the input parameters, the request data and the response data corresponding to each page operation as a piece of sample data; and obtaining a user behavior category corresponding to the sample data according to the operation information, and classifying the sample data according to the user behavior category.
7. The apparatus according to claim 5, wherein the request data and the response data corresponding to the page operation are obtained by means of a log or an interface.
8. The apparatus of claim 5, wherein the page test module is further configured to:
the automatic testing tool uses the test data to carry out the automatic testing of the page by establishing the mapping relation between the test data and the automatic testing tool.
9. An electronic device for testing a page, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201911083317.5A 2019-11-07 2019-11-07 Method and device for testing page Pending CN112783754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911083317.5A CN112783754A (en) 2019-11-07 2019-11-07 Method and device for testing page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911083317.5A CN112783754A (en) 2019-11-07 2019-11-07 Method and device for testing page

Publications (1)

Publication Number Publication Date
CN112783754A true CN112783754A (en) 2021-05-11

Family

ID=75748753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911083317.5A Pending CN112783754A (en) 2019-11-07 2019-11-07 Method and device for testing page

Country Status (1)

Country Link
CN (1) CN112783754A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal
CN106598868A (en) * 2016-12-24 2017-04-26 上海亿账通互联网科技有限公司 Dynamic point burying method and system for application program of client
CN107111625A (en) * 2014-09-26 2017-08-29 甲骨文国际公司 Realize the method and system of the efficient classification and exploration of data
CN107193733A (en) * 2017-05-12 2017-09-22 微梦创科网络科技(中国)有限公司 Simulate the methods, devices and systems of Monkey tests
CN108920354A (en) * 2018-05-07 2018-11-30 上海陆家嘴国际金融资产交易市场股份有限公司 Bury a management method, device, computer equipment and storage medium
CN109062780A (en) * 2018-06-25 2018-12-21 深圳市远行科技股份有限公司 The development approach and terminal device of automatic test cases
CN109101414A (en) * 2018-06-14 2018-12-28 挖财网络技术有限公司 Based on the magnanimity UI Self -adaptive method and device thereof for burying point data
CN109144842A (en) * 2017-06-16 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for test application
CN109308254A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of test method, device and test equipment
CN109308266A (en) * 2018-11-30 2019-02-05 北京微播视界科技有限公司 Construction method, test method, device, equipment and the medium of test case
CN109684583A (en) * 2018-11-12 2019-04-26 深圳壹账通智能科技有限公司 Analysis method, device, terminal and the readable storage medium storing program for executing of Page user behavior
CN110245080A (en) * 2019-05-28 2019-09-17 厦门美柚信息科技有限公司 Generate the method and device of scrnario testing use-case

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713989A (en) * 2012-09-29 2014-04-09 百度在线网络技术(北京)有限公司 Test case generating method and test case generating device for user terminal
CN107111625A (en) * 2014-09-26 2017-08-29 甲骨文国际公司 Realize the method and system of the efficient classification and exploration of data
CN106598868A (en) * 2016-12-24 2017-04-26 上海亿账通互联网科技有限公司 Dynamic point burying method and system for application program of client
CN107193733A (en) * 2017-05-12 2017-09-22 微梦创科网络科技(中国)有限公司 Simulate the methods, devices and systems of Monkey tests
CN109144842A (en) * 2017-06-16 2019-01-04 百度在线网络技术(北京)有限公司 Method and apparatus for test application
CN109308254A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of test method, device and test equipment
CN108920354A (en) * 2018-05-07 2018-11-30 上海陆家嘴国际金融资产交易市场股份有限公司 Bury a management method, device, computer equipment and storage medium
CN109101414A (en) * 2018-06-14 2018-12-28 挖财网络技术有限公司 Based on the magnanimity UI Self -adaptive method and device thereof for burying point data
CN109062780A (en) * 2018-06-25 2018-12-21 深圳市远行科技股份有限公司 The development approach and terminal device of automatic test cases
CN109684583A (en) * 2018-11-12 2019-04-26 深圳壹账通智能科技有限公司 Analysis method, device, terminal and the readable storage medium storing program for executing of Page user behavior
CN109308266A (en) * 2018-11-30 2019-02-05 北京微播视界科技有限公司 Construction method, test method, device, equipment and the medium of test case
CN110245080A (en) * 2019-05-28 2019-09-17 厦门美柚信息科技有限公司 Generate the method and device of scrnario testing use-case

Similar Documents

Publication Publication Date Title
US9590880B2 (en) Dynamic collection analysis and reporting of telemetry data
CN109660397B (en) System, method and device for collecting logs
CN110362544B (en) Log processing system, log processing method, terminal and storage medium
CN111522978B (en) Data pushing method and device
CN111190888A (en) Method and device for managing graph database cluster
US11502899B2 (en) Dynamic product installation based on user feedback
CN110928934A (en) Data processing method and device for business analysis
CN108011936B (en) Method and device for pushing information
CN114629929A (en) Log recording method, device and system
CN112988915A (en) Data display method and device
CN109144864B (en) Method and device for testing window
WO2023169165A1 (en) Access data processing method and apparatus, electronic device, and computer readable medium
CN111488386A (en) Data query method and device
CN112579406A (en) Log call chain generation method and device
CN110110197B (en) Information acquisition method and device
CN110557351B (en) Method and apparatus for generating information
CN111723063A (en) Method and device for processing offline log data
CN111698109A (en) Method and device for monitoring log
CN110020166A (en) A kind of data analysing method and relevant device
CN112783754A (en) Method and device for testing page
CN109803017B (en) File intercommunication method and device, computing equipment and computer readable storage medium
CN113076254A (en) Test case set generation method and device
CN111178014A (en) Method and device for processing business process
CN111767447A (en) Method and device for determining user traffic path
CN112783716B (en) Monitoring method and device

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