CN109240919B - Test data volume statistical system and method - Google Patents
Test data volume statistical system and method Download PDFInfo
- Publication number
- CN109240919B CN109240919B CN201810949122.3A CN201810949122A CN109240919B CN 109240919 B CN109240919 B CN 109240919B CN 201810949122 A CN201810949122 A CN 201810949122A CN 109240919 B CN109240919 B CN 109240919B
- Authority
- CN
- China
- Prior art keywords
- data
- counted
- subsystem
- interface unit
- database unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title abstract description 7
- 238000007619 statistical method Methods 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 230000007547 defect Effects 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000013522 software testing Methods 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/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)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a test data volume statistical system and a method thereof, wherein the system comprises a data sharing module and a data statistical module; the data sharing module comprises a subsystem database unit to be counted and a subsystem interface unit to be counted; the subsystem database unit to be counted is used for storing the data of the subsystem to be counted; the subsystem interface unit to be counted is used for providing the data of the subsystem database unit to be counted to the data counting module; and the data statistics module is used for acquiring the data of the subsystem database unit to be counted through the subsystem interface unit to be counted. The method comprises the following steps: the subsystem to be counted stores the data in a subsystem database unit to be counted; the data sharing module provides data in the subsystem database unit to be counted to the outside through the system interface unit to be counted; and the data statistics module acquires data in the subsystem database unit to be counted through the subsystem interface unit to be counted. The invention automatically acquires the data of different application programs and improves the efficiency.
Description
Technical Field
The invention belongs to the field of software test statistics, and particularly relates to a test data volume statistical system and a test data volume statistical method.
Background
In the software testing industry, a test engineer needs to count the test data volume every month, such as the number of BUGs, the number of writing test cases, the number of executing test cases, and the like. The number of BUGs is managed by a special defect management system, and the number of written test cases and the number of executed test cases are managed by the test case management system. Usually, a test engineer needs to count data of different application programs, and the efficiency is low because the test engineer relies on manual calculation statistics.
This is a disadvantage of the prior art, and therefore, it is necessary to provide a statistical system and method for testing data amount to overcome the above-mentioned disadvantages of the prior art.
Disclosure of Invention
The invention aims to provide a system and a method for counting the test data volume aiming at the defect of low efficiency caused by manual accounting statistics when the software test is used for counting data of different application programs, so as to solve the technical problem.
In order to achieve the purpose, the invention provides the following technical scheme:
a test data volume statistical system comprises a data sharing module and a data statistical module;
the data sharing module comprises a subsystem database unit to be counted and a subsystem interface unit to be counted;
the subsystem database unit to be counted is used for storing the data of the subsystem to be counted;
the subsystem interface unit to be counted is used for providing the data of the subsystem database unit to be counted to the data counting module;
and the data statistics module is used for acquiring the data of the subsystem database unit to be counted through the subsystem interface unit to be counted.
Furthermore, the subsystem interface unit to be counted is also used for receiving a data operation instruction of the data counting module and operating the data of the subsystem database unit to be counted;
and the data counting module is also used for sending a data operation instruction to the data sharing module.
Further, the data operation instruction comprises a data operation type and a data address to be operated.
Further, the data operation types comprise data addition, data deletion, data modification and data query;
and the interface unit of the subsystem to be counted operates the acquired data according to the data operation type in the received data operation instruction.
Further, the address of the data to be operated comprises a subsystem number to be counted and a data path;
the data sharing module selects the subsystem to be tested according to the serial number of the subsystem to be tested in the operation data address to be tested, and the corresponding subsystem interface unit to be counted obtains the data of the corresponding subsystem database unit to be counted according to the data path.
Further, the data path is represented by a uniform resource locator, URI;
and the subsystem interface unit to be counted is also used for acquiring the data path through the URI analysis tool.
The invention also provides the following technical scheme:
a statistical method for testing data quantity comprises the following steps:
the subsystem to be counted stores the data in a subsystem database unit to be counted;
the data sharing module provides data in the subsystem database unit to be counted to the outside through the system interface unit to be counted;
and the data statistics module acquires data in the subsystem database unit to be counted through the subsystem interface unit to be counted.
Furthermore, the data sharing module receives a data operation instruction of the data statistics module through the interface unit of the subsystem to be counted, and operates the data of the database unit of the subsystem to be counted;
the data statistics module also sends a data operation instruction to the received data sharing module.
Further, the data operation instruction comprises a data operation type and a data address to be operated; the data operation types comprise data addition, data deletion, data modification and data query;
the interface unit of the subsystem to be counted acquires data of a database unit of the subsystem to be counted according to a data address in the received data operation instruction;
and the interface unit of the subsystem to be counted operates the acquired data according to the data operation type in the received data operation instruction.
Further, the address of the data to be operated comprises the number of the subsystem to be counted and a data path;
the data sharing module selects the subsystem to be tested according to the serial number of the subsystem to be tested in the operation data address to be tested, and the corresponding subsystem interface unit to be counted obtains the data of the corresponding subsystem database unit to be counted according to the data path.
The invention has the beneficial effects that:
the invention avoids the cross-application manual statistics of the test data volume, automatically acquires the data of different application programs, reduces the trouble caused by manual accounting workload each time, and improves the working efficiency.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention;
FIG. 2 is a flow chart of a method of the present invention;
wherein, 1-a data sharing module; 1.1-a database unit of a subsystem A to be tested; 1.2-the subsystem B database unit to be tested; 1.3-interface unit of subsystem A to be tested; 1.4-interface unit of subsystem B to be tested; and 2, a data statistics module.
The specific implementation mode is as follows:
in order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1:
as shown in fig. 1, for a subsystem a to be tested and a subsystem B to be tested, the invention provides a test data amount statistical system, which includes a data sharing module 1 and a data statistical module 2;
the data sharing module 1 comprises a subsystem A database unit 1.1 to be counted, a subsystem A interface unit 1.3 to be counted, a subsystem B database unit 1.2 to be measured and a subsystem B interface unit 1.4 to be measured;
the subsystem A to be counted is a database unit 1.1 used for storing the data of the subsystem A to be counted;
the subsystem B to be counted is a database unit 1.2 used for storing the data of the subsystem B to be counted;
the subsystem A interface unit 1.3 to be counted is used for providing the data of the subsystem A database unit 1.1 to be counted to the data counting module 2;
the subsystem B interface unit 1.4 to be counted is used for providing the data of the subsystem B database unit 1.2 to be counted to the data counting module 2;
the data statistics module 2 is used for acquiring data of the subsystem A database unit 1.1 to be counted through the subsystem A interface unit 1.3 to be counted; the statistical system is used for acquiring data of the subsystem B database unit 1.2 to be counted through the subsystem B interface unit 1.4 to be counted.
In the above-described embodiment 1, the first embodiment,
the interface unit 1.3 of the subsystem A to be counted is also used for receiving a data operation instruction of the data counting module 2 and operating the data of the database unit 1.1 of the subsystem A to be counted;
the interface unit 1.4 of the subsystem B to be counted is also used for receiving a data operation instruction of the data counting module 2 and operating the data of the database unit 1.2 of the subsystem B to be counted;
the data operation instruction comprises a data operation type and a data address to be operated;
the data operation types comprise data addition, data deletion, data modification and data query;
the data address to be operated comprises a subsystem number to be counted and a data path; the data path is represented by a uniform resource locator (URI); the format of URI is scheme:// host?
scheme is a network communication protocol, host is a host, port is a port number, and path is a path. The path is used to represent data that we want to operate on, for example we want to operate on a record with ID 1 in table a, and the constructed path is: if the name field of the record with the ID of 1 in the A table needs to be operated, the constructed path is as follows: a/1/name;
the data sharing module 1 selects a subsystem A to be tested according to a subsystem serial number A to be tested in an operation data address to be tested, the interface unit 1.3 of the subsystem A to be counted obtains data of the database unit 1.1 of the subsystem A to be counted according to a data path, and the obtained data are operated according to a data operation type in a received data operation instruction;
the data sharing module 1 selects a subsystem B to be tested according to the serial number B of the subsystem to be tested in the operation data address to be tested, the interface unit 1.4 of the subsystem B to be counted acquires data of the database unit 1.2 of the subsystem B to be counted according to a data path, and the acquired data are operated according to the data operation type in the received data operation instruction;
the interface unit 1.3 of the subsystem A to be counted and the interface unit 1.4 of the subsystem B to be counted are also used for acquiring a data path through a URI (Uniform resource identifier) analysis tool;
the data statistics module 2 is further configured to send a data operation instruction to the data sharing module 1.
Example 2:
with the statistical method of test data amount according to embodiment 1, the data of the defect management system is stored in the sqlite database, and is set as sqlite1, and the interface unit of the defect management system is provider 1; the data of the test case management system is also stored in a qlite database and is set as sqlite2, and the interface unit of the test case management system is provider 2;
when the data statistics module needs to acquire the number of the BUGs of the defect management system, the interface unit provider1 of the defect management system receives the BUG number query instruction and the BUG number storage path of the data statistics module 2, and queries the BUG number according to the path of the BUG number in the database sqlite1 of the defect management system.
Example 3:
as shown in fig. 2, the present invention provides a statistical method for testing data amount, which comprises the following steps:
the subsystem to be counted stores the data in a subsystem database unit to be counted;
the data sharing module provides data in the subsystem database unit to be counted to the outside through the system interface unit to be counted; the data sharing module receives a data operation instruction of the data statistics module through the interface unit of the subsystem to be counted and operates the data of the subsystem database unit to be counted;
the data statistics module acquires data in a subsystem database unit to be counted through a subsystem interface unit to be counted; the data statistics module also sends a data operation instruction to the received data sharing module.
Example 4:
a statistical method for testing data quantity comprises the following steps:
the subsystem to be counted stores the data in a subsystem database unit to be counted;
the data sharing module provides data in the subsystem database unit to be counted to the outside through the system interface unit to be counted; the data sharing module receives a data operation instruction of the data statistics module through the interface unit of the subsystem to be counted and operates the data of the subsystem database unit to be counted;
the data operation instruction comprises a data operation type and a data address to be operated;
the data operation types comprise data addition, data deletion, data modification and data query;
the data address to be operated comprises a subsystem number to be counted and a data path;
the data sharing module selects a subsystem to be tested according to the serial number of the subsystem to be tested in the operation data address to be tested, and the corresponding subsystem interface unit to be counted acquires the data of the corresponding subsystem database unit to be counted according to the data path;
the interface unit of the subsystem to be counted operates the acquired data according to the data operation type in the received data operation instruction;
the data statistics module acquires data in a subsystem database unit to be counted through a subsystem interface unit to be counted; the data statistics module also sends a data operation instruction to the received data sharing module.
The embodiments of the present invention are illustrative rather than restrictive, and the above-mentioned embodiments are only provided to help understanding of the present invention, so that the present invention is not limited to the embodiments described in the detailed description, and other embodiments derived from the technical solutions of the present invention by those skilled in the art also belong to the protection scope of the present invention.
Claims (6)
1. A test data volume statistical system is characterized by comprising a data sharing module (1) and a data statistical module (2);
the data sharing module (1) comprises a subsystem database unit to be counted and a subsystem interface unit to be counted;
the subsystem database unit to be counted is used for storing the data of the subsystem to be counted;
the subsystem interface unit to be counted is used for providing the data of the subsystem database unit to be counted to the data counting module (2);
the data statistics module (2) is used for acquiring data of the subsystem database unit to be counted through the subsystem interface unit to be counted;
the subsystem interface unit to be counted is also used for receiving a data operation instruction of the data counting module (2) and operating the data of the subsystem database unit to be counted;
the data statistics module (2) is also used for sending a data operation instruction to the data sharing module (1);
the data operation instruction comprises a data address to be operated;
the data address to be operated comprises a subsystem number to be counted and a data path;
the data sharing module selects the subsystem to be tested according to the serial number of the subsystem to be tested in the operation data address to be tested, and the corresponding subsystem interface unit to be counted obtains the data of the corresponding subsystem database unit to be counted according to the data path.
2. The test data volume statistic system of claim 1 wherein said data operation instruction further includes a data operation type.
3. The system of claim 2, wherein the data operation types include data addition, data deletion, data modification, and data query;
and the interface unit of the subsystem to be counted operates the acquired data according to the data operation type in the received data operation instruction.
4. The test data volume statistical system of claim 1, wherein the data path is represented by a uniform resource locator, URI;
and the subsystem interface unit to be counted is also used for acquiring the data path through the URI analysis tool.
5. A statistical method for testing data quantity is characterized by comprising the following steps:
the subsystem to be counted stores the data in a subsystem database unit to be counted;
the data sharing module provides data in the subsystem database unit to be counted to the outside through the system interface unit to be counted;
the data statistics module acquires data in a subsystem database unit to be counted through a subsystem interface unit to be counted;
the data sharing module also receives a data operation instruction of the data statistics module through the interface unit of the subsystem to be counted and operates the data of the subsystem database unit to be counted;
the data statistics module also sends a data operation instruction to the received data sharing module;
the data operation instruction comprises a data address to be operated;
the data address to be operated comprises a subsystem number to be counted and a data path;
the data sharing module selects the subsystem to be tested according to the serial number of the subsystem to be tested in the operation data address to be tested, and the corresponding subsystem interface unit to be counted obtains the data of the corresponding subsystem database unit to be counted according to the data path.
6. The statistical method of test data amount according to claim 5,
the data operation instruction also comprises a data operation type; the data operation types comprise data addition, data deletion, data modification and data query;
the interface unit of the subsystem to be counted acquires data of a database unit of the subsystem to be counted according to a data address in the received data operation instruction;
and the interface unit of the subsystem to be counted operates the acquired data according to the data operation type in the received data operation instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810949122.3A CN109240919B (en) | 2018-08-20 | 2018-08-20 | Test data volume statistical system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810949122.3A CN109240919B (en) | 2018-08-20 | 2018-08-20 | Test data volume statistical system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109240919A CN109240919A (en) | 2019-01-18 |
CN109240919B true CN109240919B (en) | 2022-03-22 |
Family
ID=65071570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810949122.3A Active CN109240919B (en) | 2018-08-20 | 2018-08-20 | Test data volume statistical system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240919B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302726A (en) * | 2015-11-13 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Test method and device |
CN105681126A (en) * | 2015-12-30 | 2016-06-15 | 合一网络技术(北京)有限公司 | Automatic test method and system based on protocol interface |
CN107040504A (en) * | 2016-02-04 | 2017-08-11 | 北京京东尚科信息技术有限公司 | Method of testing and device |
CN107229562A (en) * | 2016-03-25 | 2017-10-03 | 展讯通信(天津)有限公司 | A kind of test report automatic statistical analysis method and device |
CN107423223A (en) * | 2017-08-10 | 2017-12-01 | 中国民航信息网络股份有限公司 | Test and management system |
CN108255700A (en) * | 2017-03-27 | 2018-07-06 | 平安科技(深圳)有限公司 | Test result generation method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6801903B2 (en) * | 2001-10-12 | 2004-10-05 | Ncr Corporation | Collecting statistics in a database system |
US20060036907A1 (en) * | 2004-08-11 | 2006-02-16 | Emc Corporation | Area-and product-independent test automation system and method for automatically synchronizing tests of multiple devices |
US7958387B2 (en) * | 2008-05-30 | 2011-06-07 | Spirent Communications, Inc. | Realtime test result promulgation from network component test device |
US9532246B2 (en) * | 2012-10-04 | 2016-12-27 | Rohde & Schwarz Gmbh & Co. Kg | Method and a test system for automatically configuring a tester |
CN104281584A (en) * | 2013-07-02 | 2015-01-14 | 北大方正集团有限公司 | XML database performance testing system and method |
US9928162B2 (en) * | 2015-03-27 | 2018-03-27 | International Business Machines Corporation | Identifying severity of test execution failures by analyzing test execution logs |
CN106844196B (en) * | 2016-12-22 | 2019-12-10 | 福建瑞之付微电子有限公司 | Payment terminal embedded software testing workload statistical system |
US10289529B2 (en) * | 2017-01-26 | 2019-05-14 | International Business Machines Corporation | Testing a guarded storage facility |
-
2018
- 2018-08-20 CN CN201810949122.3A patent/CN109240919B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302726A (en) * | 2015-11-13 | 2016-02-03 | 浪潮电子信息产业股份有限公司 | Test method and device |
CN105681126A (en) * | 2015-12-30 | 2016-06-15 | 合一网络技术(北京)有限公司 | Automatic test method and system based on protocol interface |
CN107040504A (en) * | 2016-02-04 | 2017-08-11 | 北京京东尚科信息技术有限公司 | Method of testing and device |
CN107229562A (en) * | 2016-03-25 | 2017-10-03 | 展讯通信(天津)有限公司 | A kind of test report automatic statistical analysis method and device |
CN108255700A (en) * | 2017-03-27 | 2018-07-06 | 平安科技(深圳)有限公司 | Test result generation method and device |
CN107423223A (en) * | 2017-08-10 | 2017-12-01 | 中国民航信息网络股份有限公司 | Test and management system |
Also Published As
Publication number | Publication date |
---|---|
CN109240919A (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112612675B (en) | Distributed big data log link tracking method and system under micro-service architecture | |
CN107634848B (en) | System and method for collecting and analyzing network equipment information | |
CN109885496B (en) | Test log management method and system | |
CN109254907A (en) | A kind of interface testing report-generating method and system based on Java | |
CN108540349B (en) | Automatic performance testing method and system based on Jmeter | |
CN111181800A (en) | Test data processing method and device, electronic equipment and storage medium | |
CN113704790A (en) | Abnormal log information summarizing method and computer equipment | |
CN103746879A (en) | Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol | |
CN116467189B (en) | Method and system for interface call completion performance pressure measurement and full link data monitoring | |
US10346281B2 (en) | Obtaining and analyzing a reduced metric data set | |
CN109510729B (en) | Implementation method for discovering application topological relation based on CMDB and Netstat | |
CN109240919B (en) | Test data volume statistical system and method | |
CN112416557B (en) | Method and device for determining call relation, storage medium and electronic device | |
CN107301125B (en) | Method and device for searching root error and electronic equipment | |
CN106888126B (en) | Network management data modeling method | |
CN108809677A (en) | The system of testing characteristics of network | |
CN106304122B (en) | Business data analysis method and system | |
CN110266554A (en) | A kind of test method of privately owned communication protocol | |
CN114860432A (en) | Method and device for determining information of memory fault | |
CN114817300A (en) | Log query method based on SQL (structured query language) statements and application thereof | |
CN115878721A (en) | Data synchronization method, device, terminal and computer readable storage medium | |
CN111611320A (en) | Method for counting data based on log service package and storage medium | |
CN113452533A (en) | Charging self-inspection and self-healing method and device, computer equipment and storage medium | |
CN113965489B (en) | Link timeout detection method, device, computer equipment and storage medium | |
CN116737834B (en) | Real-time synchronization system for dealer multi-tenant database and table division scene data |
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 |