CN111813655A - Embedded point testing method and device, embedded point management system and storage medium - Google Patents
Embedded point testing method and device, embedded point management system and storage medium Download PDFInfo
- Publication number
- CN111813655A CN111813655A CN202010489894.0A CN202010489894A CN111813655A CN 111813655 A CN111813655 A CN 111813655A CN 202010489894 A CN202010489894 A CN 202010489894A CN 111813655 A CN111813655 A CN 111813655A
- Authority
- CN
- China
- Prior art keywords
- buried point
- buried
- preset
- point
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 193
- 238000000034 method Methods 0.000 claims abstract description 11
- 238000001514 detection method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012937 correction Methods 0.000 claims description 5
- 238000009933 burial Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101150053844 APP1 gene Proteins 0.000 description 1
- 101100189105 Homo sapiens PABPC4 gene Proteins 0.000 description 1
- 102100039424 Polyadenylate-binding protein 4 Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
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)
- Geophysics And Detection Of Objects (AREA)
Abstract
The invention discloses a client embedded point testing method, a client embedded point testing device, an embedded point management system and a storage medium, wherein the method comprises the following steps: calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point; correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition; executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log; acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the buried point log to be detected and the buried point log standard. The invention can improve the testing efficiency of the preset buried point.
Description
Technical Field
The invention relates to the technical field of software testing, in particular to a buried point testing method, a buried point testing device, a buried point management system and a storage medium.
Background
The buried point data can provide a large amount of user data, verify the product functions and reflect the popularity of the product functions, and has important directive significance for iterative updating of software products. At present, in order to ensure that preset embedded points can effectively acquire data during the operation of a product, after corresponding embedded points are set, embedded point test needs to be carried out on the embedded points so as to avoid the influence of the setting of the embedded points on the acquisition of the embedded point data.
The existing embedded point test generally includes that a tester carries out corresponding embedded point test operation on a corresponding product on test equipment, and checks an operation log to check whether the embedded point is set to be effective or not. The existing embedded point testing mode can only obtain an operation log from testing equipment, the operation of testing, the construction of a test case, the detection of an embedded point and the like all need to be executed manually, the automation degree of the embedded point testing is low, and the testing efficiency is not high.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for testing a buried point, a buried point management system, and a storage medium, which can improve the automation degree of a preset buried point test and improve the test efficiency of the preset buried point.
In order to solve the above technical problem, in a first aspect, the present invention provides a buried point testing method, including:
calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point;
correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
Further, each of the trigger conditions maintained in advance includes first description data and expected feedback data; the first description data comprises a trigger action and trigger time, and the expected feedback data comprises a buried point scheme associated with a trigger condition and the number of logs expected to be obtained by executing a test case corresponding to the trigger condition.
Furthermore, the matching strategy is pre-configured with data delay of the embedded point data corresponding to the test case and a generation time error of the embedded point data corresponding to the test case.
Further, the buried point data corresponding to each preset buried point comprises basic information for creating the test case, and the basic information at least comprises a field name, a field type, a data format and a sending opportunity corresponding to each field in the buried point data.
Further, after executing each test case according to a preset timing task, the method further includes:
and when the test case with the test failure is detected, responding to a correction instruction input by a user, and correcting the test case with the test failure.
In order to solve the above technical problem, in a second aspect, the present invention provides a buried point testing apparatus, including:
the device comprises a calling module, a storage module and a control module, wherein the calling module is used for calling a test script corresponding to a current product to be tested so as to trigger a plurality of preset buried points preset in the current product to be tested and collecting buried point data corresponding to each preset buried point;
the creating module is used for correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
the execution module is used for executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and the detection module is used for acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
In order to solve the above technical problem, in a third aspect, the present invention provides a buried point management system, where the system includes a buried point testing unit, and the buried point testing unit is configured to execute the following steps:
calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point;
correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
Further, the system further includes a buried point management unit, and the buried point management unit is specifically configured to:
storing the point burying schemes corresponding to different products to be detected; the point burying scheme comprises a plurality of sub-schemes, and each sub-scheme of each point burying scheme is classified and stored according to preset classification rules.
Further, the site management unit is further configured to:
and associating each buried point scheme with a preset buried point attribute interface so that other buried point management systems can inquire the buried point scheme through the buried point attribute interface.
In order to solve the above technical problem, in a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the buried point testing method according to any one of the first aspect.
According to the embedded point testing method, the embedded point testing device, the embedded point management system and the storage medium, the validity of triggering the preset embedded point, automatically creating the test case, automatically executing the test case and automatically detecting the preset embedded point can be known through the test script, the embedded point can be tested, the testing automation degree is high, manual operation is greatly reduced, and the embedded point testing efficiency is improved. The trigger condition of the invention is independently maintained relative to the specific buried point data, the trigger condition can be utilized to the maximum extent, the trigger condition corresponding to each buried point data does not need to be compiled respectively, and the waste of storage resources and the compiling time of compiling personnel are reduced.
Drawings
FIG. 1 is a schematic flow chart diagram of a preferred embodiment of a buried site testing method provided by the present invention;
FIG. 2 is a schematic structural diagram of a preferred embodiment of a buried site testing apparatus provided by the present invention;
fig. 3 is a schematic device structure diagram of a preferred embodiment of a site management system provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The present invention provides a buried point testing method, please refer to fig. 1, fig. 1 is a schematic flow chart of a preferred embodiment of the buried point testing method provided by the present invention, specifically, the method includes:
s1, calling a test script corresponding to the current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point.
It should be noted that the test script of the present invention is used for testing the embedded point, and includes a series of instructions to be automatically executed by a specific tool, so as to automatically trigger the preset embedded point of the current product to be tested, and correspondingly generate corresponding embedded point data. The preset buried points are triggered through the test script, and the situation that a tester triggers the preset buried points one by one is not needed.
S2, correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition.
It should be noted that a plurality of trigger conditions need to be maintained in advance in the execution device of the present invention, and the trigger conditions can be used to indicate test actions of test cases. The trigger conditions are associated and corresponding to the buried point data in a specific form, for example, each trigger condition has a unique identifier, and a trigger condition is correspondingly allocated to each buried point data by specifying the unique identifier of the trigger condition for the buried point data. The buried point data generally includes information such as basic information and test input data, and for example, if the present invention is used for testing game software, the basic information may include information such as a game product code, a character ID, and an account ID. After the test case is created according to the buried point data and the corresponding trigger condition, the test case compiles specific test input, trigger condition, expected result and other information for a certain test target.
More specifically, after a test task of the current product to be tested is created according to each piece of buried point data and the corresponding trigger condition, a test case of the current product to be tested is further created, wherein the test case is a specific operation entity of the test task, and one test task can correspond to a plurality of test cases. The corresponding relation between the test task and the test case needs to be determined when the attribute of the buried point data generated by the test script triggering is agreed, so that the buried point data can be analyzed according to the corresponding relation, and the test case can be constructed conveniently.
It should be noted that the pre-maintained trigger condition maintains independence with respect to a specific buried point test, and may be referred to and corresponded by buried point data generated by the test script for multiple times, so that the trigger condition may be reused in different test cases for multiple times.
S3, executing each test case according to a preset timing task, obtaining buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log.
It should be noted that, according to a preset timing task, once the execution time of a test case is reached, the corresponding test case is executed, and the buried point data corresponding to a plurality of test cases is obtained according to a matching strategy. Optionally, the buried point data corresponding to the test case is obtained from the distributed file system in a matching manner, and a log of the buried point to be detected is generated.
S4, acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
It should be noted that the embedded point log standard of the current product to be tested is one or more log documents generated by conversion according to the data analysis requirement in advance, the test program pushes the log data according to the embedded point log standard, and the subsequent updating and modification of the embedded point also take the embedded point log standard as a reference. And comparing and analyzing the to-be-detected buried point logs and the buried point log standards in an all-around manner, and detecting whether each preset buried point is effective or not. More specifically, whether the preset embedded point is valid is judged according to the number of the embedded point logs to be detected and the standard embedded point data of the embedded point logs, whether the field type, the field format, the field name and the like of each field in each embedded point data are the same, and a detection report can be further output according to the detection result.
According to the embedded point testing method provided by the invention, the validity of triggering the preset embedded point, automatically creating the test case, automatically executing the test case and automatically detecting the preset embedded point can be known through the test script, the embedded point can be tested, the testing automation degree is high, the manual operation is greatly reduced, and the embedded point testing efficiency is improved. The trigger condition of the invention is independently maintained relative to the specific buried point data, the trigger condition can be utilized to the maximum extent, the trigger condition corresponding to each buried point data does not need to be compiled respectively, and the waste of storage resources and the compiling time of compiling personnel are reduced.
It should be noted that, the point burying schemes of different products may be managed and maintained according to corresponding management rules set according to actual needs, for example, the point burying schemes take product items as first-order categories, and further classify and store sub-scheme documents of the point burying schemes in each first-order category as second-order categories in the first-order category, each point burying scheme defines a log name thereof, and each field in each point burying scheme has information such as a field format, a field category, and an example corresponding to each field.
Preferably, each of the trigger conditions maintained in advance includes first description data and expected feedback data; the first description data comprises a trigger action and trigger time, and the expected feedback data comprises a buried point scheme associated with a trigger condition and the number of logs expected to be obtained by executing a test case corresponding to the trigger condition.
In the present embodiment, the first description data of the trigger condition includes a trigger action and a trigger time, and each test action can be accurately expressed, for example, "login APP1 at 11: 00". And the expected feedback data comprises the associated buried point scheme and the expected acquired log quantity, and is used for evaluating whether the created test case is executed with an important index.
Preferably, the matching policy is preconfigured with a data delay of the embedded point data corresponding to the test case and a generation time error of the embedded point data corresponding to the test case.
It should be noted that, when obtaining the buried point data corresponding to the test case after executing the test case, the corresponding buried point data needs to be matched and queried in a specific document or system, for example, the corresponding buried point data is obtained from a distributed file system. The data delay in the matching strategy of the invention refers to a time interval from the execution of the test case to the query of the buried point data in the corresponding document, for example, the data delay configuration is 2 minutes, which means that the buried point data corresponding to the test case can be queried in the distributed file system after 2 minutes after the test case is executed. The generated time error is an error between the time when the embedded point data is actually generated after the test case is executed and the generated time of the embedded point data described in the corresponding document, and for example, the generated time error is configured to be 1 minute, which means that the embedded point data corresponding to the test case is distributed in a range of ± 1 minute of the time when the test case is executed, and the program acquires the corresponding embedded point data in the distribution range. The matching strategy can further configure other parameters according to actual needs, and it is expected that the matching strategy will affect the matching range of the buried point data obtained when the test case is executed, and further affect the accuracy of the test result of the preset buried point. The configuration of the corresponding parameters in the matching strategy should be reasonably configured in consideration of the network environment where the test is located, the data transfer link and other factors.
Preferably, the buried point data corresponding to each preset buried point includes basic information for creating the test case, where the basic information at least includes a field name, a field type, a data format, and a sending opportunity corresponding to each field in the buried point data.
Preferably, after executing each test case according to a preset timing task, the method further includes:
and when the test case with the test failure is detected, responding to a correction instruction input by a user, and correcting the test case with the test failure.
In this embodiment, in consideration of the fact that a matching strategy may have a certain defect, which causes a large error between a matching range of the buried point data corresponding to the obtained test case and a real situation, or a deviation of a test result from a test expectation due to other factors, the present invention also responds to a correction instruction input by a user, corrects the test case with a test failure, and realizes that the accuracy of the buried point test is improved in a mode of mainly automatic detection and secondarily manually correcting.
According to the embedded point testing method provided by the invention, the validity of triggering the preset embedded point, automatically creating the test case, automatically executing the test case and automatically detecting the preset embedded point can be known through the test script, the embedded point can be tested, the testing automation degree is high, the manual operation is greatly reduced, and the embedded point testing efficiency is improved. The trigger condition of the invention is independently maintained relative to the specific buried point data, the trigger condition can be utilized to the maximum extent, the trigger condition corresponding to each buried point data does not need to be compiled respectively, and the waste of storage resources and the compiling time of compiling personnel are reduced.
Example two
The present invention further provides a buried point testing device, please refer to fig. 2, fig. 2 is a schematic structural diagram of a preferred embodiment of the buried point testing device provided by the present invention, and specifically, the device includes:
the calling module 21 is configured to call a test script corresponding to a current product to be tested, so as to trigger a plurality of preset buried points preset in the current product to be tested, and collect buried point data corresponding to each preset buried point;
the creating module 22 is configured to correspondingly allocate a trigger condition to be maintained in advance for each piece of buried point data, and create a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
the execution module 23 is configured to execute each test case according to a preset timing task, obtain buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching policy, and generate a to-be-detected buried point log;
the detection module 24 is configured to obtain a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detect whether each preset buried point is valid according to the to-be-detected buried point log and the buried point log standard.
Preferably, each of the trigger conditions maintained in advance includes first description data and expected feedback data; the first description data comprises a trigger action and trigger time, and the expected feedback data comprises a buried point scheme associated with a trigger condition and the number of logs expected to be obtained by executing a test case corresponding to the trigger condition.
Preferably, the matching policy is configured in advance with a data delay of the embedded point data corresponding to the test case and a generation time error of the embedded point data corresponding to the test case.
Preferably, the buried point data corresponding to each preset buried point includes basic information for creating the test case, where the basic information at least includes a field name, a field type, a data format, and a sending opportunity corresponding to each field in the buried point data.
Preferably, the apparatus further comprises:
and the correcting module 25 is configured to respond to a correction instruction input by a user to correct the test case with the test failure when the test case with the test failure is detected after the executing module 23 executes each test case according to a preset timing task.
The embedded point testing device provided by the invention can know the effectiveness of triggering the preset embedded point, automatically creating the test case, automatically executing the test case and automatically detecting the preset embedded point through the test script, can test the embedded point, has high testing automation degree, greatly reduces manual operation and improves the efficiency of embedded point testing. The trigger condition of the invention is independently maintained relative to the specific buried point data, the trigger condition can be utilized to the maximum extent, the trigger condition corresponding to each buried point data does not need to be compiled respectively, and the waste of storage resources and the compiling time of compiling personnel are reduced.
It should be noted that the functions of the embedded point testing apparatus provided in the embodiment of the present invention correspond to the steps of the embedded point testing method described in the above embodiment, and the working principles and beneficial effects of the two are in one-to-one correspondence, so that the detailed description is omitted.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
EXAMPLE III
The present invention further provides a system for managing a site, please refer to fig. 3, fig. 3 is a schematic structural diagram of a preferred embodiment of the system for managing a site according to the present invention; specifically, the system includes a buried point testing unit, and the buried point testing unit 31 is configured to execute the following steps:
calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point;
correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
It should be noted that the embedded point testing unit of the embedded point management system may also be configured to execute corresponding steps of the embedded point testing method provided in the first embodiment, which is not described herein again.
Preferably, the system further includes a buried point management unit 32, and the buried point management unit 32 is specifically configured to:
storing the point burying schemes corresponding to different products to be detected; the point burying scheme comprises a plurality of sub-schemes, and each sub-scheme of each point burying scheme is classified and stored according to preset classification rules.
The point burying schemes of different products to be tested can be managed and maintained by setting corresponding management rules according to actual needs, so that standardized management of the point burying schemes is facilitated. For example, in a possible embodiment, the product items of the embedded point solutions are used as first-level categories, and the sub-solution documents of the embedded point solutions in each first-level category are further classified and stored as second-level categories in the first-level categories, each embedded point solution defines the log name thereof, and each field in each embedded point solution has information of the corresponding field format, field category, example, and the like.
Preferably, the site management unit 32 is further configured to:
and associating each buried point scheme with a preset buried point attribute interface so that other buried point management systems can inquire the buried point scheme through the buried point attribute interface.
In this embodiment, a uniform embedded point attribute interface is provided for the embedded point scheme, and different embedded point management systems can query the required embedded point scheme by calling the embedded point attribute interface, so that the embedded point scheme can be queried and utilized across systems.
Example four
The invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus in which the computer-readable storage medium is located is controlled to execute the buried point testing method according to any one of the embodiments.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A method of buried point testing, the method comprising:
calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point;
correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
2. The method of claim 1, wherein each of the pre-maintained trigger conditions comprises first descriptive data and expected feedback data; the first description data comprises a trigger action and trigger time, and the expected feedback data comprises a buried point scheme associated with a trigger condition and the number of logs expected to be obtained by executing a test case corresponding to the trigger condition.
3. The embedded point testing method of claim 1, wherein the matching policy is preconfigured with a data delay of the embedded point data corresponding to the test case and a generation time error of the embedded point data corresponding to the test case.
4. The method as claimed in claim 1, wherein the buried point data corresponding to each of the predetermined buried points includes basic information for creating the test case, and the basic information at least includes a field name, a field type, a data format and a sending time corresponding to each field in the buried point data.
5. The method of claim 1, wherein after said executing each of said test cases according to a predetermined timing task, said method further comprises:
and when the test case with the test failure is detected, responding to a correction instruction input by a user, and correcting the test case with the test failure.
6. A buried point testing apparatus, the apparatus comprising:
the device comprises a calling module, a storage module and a control module, wherein the calling module is used for calling a test script corresponding to a current product to be tested so as to trigger a plurality of preset buried points preset in the current product to be tested and collecting buried point data corresponding to each preset buried point;
the creating module is used for correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
the execution module is used for executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and the detection module is used for acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
7. The system for managing the embedded points is characterized by comprising an embedded point testing unit, wherein the embedded point testing unit is used for executing the following steps:
calling a test script corresponding to a current product to be tested to trigger a plurality of preset buried points in the current product to be tested, and collecting buried point data corresponding to each preset buried point;
correspondingly distributing a trigger condition which is maintained in advance for each piece of buried point data, and creating a plurality of test cases corresponding to the current product to be tested according to each piece of buried point data and the corresponding trigger condition;
executing each test case according to a preset timing task, acquiring buried point data corresponding to a plurality of test cases from all the buried point data according to a preset matching strategy, and generating a to-be-detected buried point log;
and acquiring a buried point log standard corresponding to the buried point scheme of the current product to be detected, and detecting whether each preset buried point is effective or not according to the to-be-detected buried point log and the buried point log standard.
8. The system according to claim 7, further comprising a site management unit, wherein the site management unit is specifically configured to:
storing the point burying schemes corresponding to different products to be detected; the point burying scheme comprises a plurality of sub-schemes, and each sub-scheme of each point burying scheme is classified and stored according to preset classification rules.
9. The point of burial management system of claim 8, wherein the point of burial management unit is further configured to:
and associating each buried point scheme with a preset buried point attribute interface so that other buried point management systems can inquire the buried point scheme through the buried point attribute interface.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the embedded point testing method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010489894.0A CN111813655B (en) | 2020-06-02 | 2020-06-02 | Buried point test method and device, buried point management system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010489894.0A CN111813655B (en) | 2020-06-02 | 2020-06-02 | Buried point test method and device, buried point management system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111813655A true CN111813655A (en) | 2020-10-23 |
CN111813655B CN111813655B (en) | 2024-08-06 |
Family
ID=72847996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010489894.0A Active CN111813655B (en) | 2020-06-02 | 2020-06-02 | Buried point test method and device, buried point management system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111813655B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559321A (en) * | 2020-11-18 | 2021-03-26 | 贝壳技术有限公司 | Method, system, electronic device and storage medium for determining access test case |
CN112685262A (en) * | 2021-01-05 | 2021-04-20 | 上海中通吉网络技术有限公司 | iOS application program embedded point acquisition method and device based on log |
CN113645342A (en) * | 2021-08-03 | 2021-11-12 | 杭银消费金融股份有限公司 | Mobile phone mobile terminal testing device and method thereof |
CN114064504A (en) * | 2021-11-25 | 2022-02-18 | 杭州网易云音乐科技有限公司 | Detection method, device, medium and computing equipment for full link pressure measurement data isolation |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018000607A1 (en) * | 2016-06-30 | 2018-01-04 | 乐视控股(北京)有限公司 | Method and electronic apparatus for identifying test case failure causes |
CN108259244A (en) * | 2018-01-15 | 2018-07-06 | 口碑(上海)信息技术有限公司 | Client application failure drilling method and device |
CN108874660A (en) * | 2018-05-03 | 2018-11-23 | 北京奇虎科技有限公司 | A kind of application testing method and device |
CN109960651A (en) * | 2019-02-13 | 2019-07-02 | 北京达佳互联信息技术有限公司 | Bury a test method, system, device and computer readable storage medium |
CN110083529A (en) * | 2019-03-20 | 2019-08-02 | 北京字节跳动网络技术有限公司 | Automated testing method, device, medium and electronic equipment |
CN110362480A (en) * | 2019-06-19 | 2019-10-22 | 平安普惠企业管理有限公司 | Client buries a test method, device, equipment and storage medium |
CN110990255A (en) * | 2019-10-28 | 2020-04-10 | 贝壳技术有限公司 | Buried point testing method and server |
CN111090592A (en) * | 2019-12-20 | 2020-05-01 | 上海品顺信息科技有限公司 | Automatic testing method of buried point, terminal and readable storage medium |
-
2020
- 2020-06-02 CN CN202010489894.0A patent/CN111813655B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018000607A1 (en) * | 2016-06-30 | 2018-01-04 | 乐视控股(北京)有限公司 | Method and electronic apparatus for identifying test case failure causes |
CN108259244A (en) * | 2018-01-15 | 2018-07-06 | 口碑(上海)信息技术有限公司 | Client application failure drilling method and device |
CN108874660A (en) * | 2018-05-03 | 2018-11-23 | 北京奇虎科技有限公司 | A kind of application testing method and device |
CN109960651A (en) * | 2019-02-13 | 2019-07-02 | 北京达佳互联信息技术有限公司 | Bury a test method, system, device and computer readable storage medium |
CN110083529A (en) * | 2019-03-20 | 2019-08-02 | 北京字节跳动网络技术有限公司 | Automated testing method, device, medium and electronic equipment |
CN110362480A (en) * | 2019-06-19 | 2019-10-22 | 平安普惠企业管理有限公司 | Client buries a test method, device, equipment and storage medium |
CN110990255A (en) * | 2019-10-28 | 2020-04-10 | 贝壳技术有限公司 | Buried point testing method and server |
CN111090592A (en) * | 2019-12-20 | 2020-05-01 | 上海品顺信息科技有限公司 | Automatic testing method of buried point, terminal and readable storage medium |
Non-Patent Citations (2)
Title |
---|
"如何对APP日志埋点数据进行自动化测试", Retrieved from the Internet <URL:https://www.zhihu.com/question/61012417?sort=created> * |
一班&蔡育锋: "GUI(图形用户界面)测试", Retrieved from the Internet <URL:https://www.cnblogs.com/ccvamy/p/4474546.html> * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559321A (en) * | 2020-11-18 | 2021-03-26 | 贝壳技术有限公司 | Method, system, electronic device and storage medium for determining access test case |
CN112685262A (en) * | 2021-01-05 | 2021-04-20 | 上海中通吉网络技术有限公司 | iOS application program embedded point acquisition method and device based on log |
CN113645342A (en) * | 2021-08-03 | 2021-11-12 | 杭银消费金融股份有限公司 | Mobile phone mobile terminal testing device and method thereof |
CN114064504A (en) * | 2021-11-25 | 2022-02-18 | 杭州网易云音乐科技有限公司 | Detection method, device, medium and computing equipment for full link pressure measurement data isolation |
Also Published As
Publication number | Publication date |
---|---|
CN111813655B (en) | 2024-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111813655A (en) | Embedded point testing method and device, embedded point management system and storage medium | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN100456191C (en) | Satellite automatization test platform and test method | |
CN109684847B (en) | Automatic repairing method, device, equipment and storage medium for script loopholes | |
CN106970880B (en) | Distributed automatic software testing method and system | |
CN106549810A (en) | Cloud service platform redaction issues front method of testing, device and system | |
CN107102949B (en) | Application program offline testing method and tool | |
CN104657270A (en) | Method and system for testing | |
CN105117345A (en) | Interface testing method and device for application program | |
CN105468507B (en) | Branch standard reaching detection method and device | |
CN113535538A (en) | Application full-link automatic testing method and device, electronic equipment and storage medium | |
CN115826521B (en) | Production process control method and device, electronic equipment and storage medium | |
CN111382071A (en) | User behavior data testing method and system | |
CN117493188A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN116319081B (en) | Electronic signature security management system based on big data cloud platform | |
CN109508204B (en) | Front-end code quality detection method and device | |
CN114661569B (en) | Dynamic buried point acquisition method for user behavior data | |
CN108710692A (en) | A kind of automobile part production line test system and method | |
CN111966394B (en) | ETL-based data analysis method, device, equipment and storage medium | |
CN115454851A (en) | Interface regression testing method and device, storage medium and electronic device | |
CN108710573A (en) | It is a kind of that test method, device, storage medium and terminal a little are buried based on daily record | |
CN113495750B (en) | Upgrade detection method and device for equipment and server | |
CN113868129A (en) | Method for verifying accuracy of back-end data and automatic testing tool | |
CN115509883A (en) | Code coverage rate detection method, device, platform, system and storage medium | |
CN113282496A (en) | Automatic interface test method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |