CN114826871A - Cloud platform monitoring alarm processing function test method and system - Google Patents
Cloud platform monitoring alarm processing function test method and system Download PDFInfo
- Publication number
- CN114826871A CN114826871A CN202210167017.0A CN202210167017A CN114826871A CN 114826871 A CN114826871 A CN 114826871A CN 202210167017 A CN202210167017 A CN 202210167017A CN 114826871 A CN114826871 A CN 114826871A
- Authority
- CN
- China
- Prior art keywords
- alarm
- data
- test
- cloud platform
- test data
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 55
- 238000012545 processing Methods 0.000 title claims abstract description 49
- 238000010998 test method Methods 0.000 title claims description 15
- 238000012360 testing method Methods 0.000 claims abstract description 148
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000013461 design Methods 0.000 claims description 7
- 238000013075 data extraction Methods 0.000 claims description 6
- 238000013500 data storage Methods 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Alarm Systems (AREA)
Abstract
The invention particularly relates to a cloud platform monitoring alarm processing function testing method and system. According to the cloud platform monitoring alarm processing function testing method and system, an automatic method is adopted, alarm data are injected into a cloud platform system in batches, a cloud platform monitoring alarm processing scene is simulated, the accuracy of an alarm rule is tested by combining a business process comprising data receiving, data storing and data processing, and the cloud platform monitoring alarm processing scene and the full coverage test of the alarm rule are realized. According to the cloud platform monitoring alarm processing function testing method and system, the traditional testing method is used as a support, the testing efficiency is improved by combining an automatic method, the testing of various demand scenes of the cloud platform monitoring alarm can be more efficiently and comprehensively covered, all scenes are associated as a whole, the testing result is more referential, and the problems of complexity and low efficiency of testing the cloud platform monitoring alarm are effectively solved.
Description
Technical Field
The invention relates to the technical field of cloud computing, in particular to a method and a system for testing a monitoring alarm processing function of a cloud platform.
Background
In the cloud computing era, the monitoring and alarming technology of the cloud platform is becoming mature. However, at the same time, huge data generated by monitoring alarms also brings trouble to the cloud platform test work, if the traditional function service function test method is always used, the low-efficiency work of personnel can be caused, more comprehensive tests cannot be provided, and the test result is lack of persuasion.
The cloud platform monitoring alarm processing is one of the most important operations in the cloud platform operation and maintenance operation, because the alarm data of each cloud center is huge, the accuracy of the monitoring alarm is particularly important to the efficiency of the operation and maintenance operation, and the large amount of alarm data also brings difficulty to the test operation.
In order to improve the testing work efficiency of the monitoring alarm module and reduce the manual testing cost so as to provide a more comprehensive and accurate testing conclusion, the invention provides a testing method and a testing system for a monitoring alarm processing function of a cloud platform.
Disclosure of Invention
In order to make up for the defects of the prior art, the invention provides a simple and efficient cloud platform monitoring alarm processing function test method and system.
The invention is realized by the following technical scheme:
a cloud platform monitoring alarm processing function test method is characterized by comprising the following steps: the method adopts an automatic method, the alarm data is injected into the cloud platform system in batch, the cloud platform monitoring alarm processing scene is simulated, the accuracy of the alarm rule is tested by combining the business processes including data receiving, data storing and data processing, and the full coverage test of the cloud platform monitoring alarm processing scene and the alarm rule is realized.
The method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data to form an alarm key field document;
step 2: designing test data based on the alarm rule and the test data experience base, and forming a test data document;
and step 3: and importing the alarm key field document into an interface test tool for execution, deleting the test data if an alarm cannot be triggered, and adding the test data into a test data experience base if the alarm is triggered.
The alarm key fields include, but are not limited to, a cloud center name regionCode, an alarm rule name alert name, and a host.
The original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
The cloud platform monitoring alarm processing function test system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience base;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience base, identifying and extracting alarm key fields in the alarm data experience base, forming alarm key field documents and importing the alarm key field documents into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule in combination with the test data experience base, forming a test data document and importing the test data document into the interface test tool module
The interface testing tool module is responsible for testing the accuracy of the alarm rule by using the alarm key field document and the test data document and sending the test data for triggering the alarm to the test data experience base;
the test data experience base is responsible for managing and storing all test data for triggering the warning.
The original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
The alarm key fields include, but are not limited to, a cloud center name regionCode, an alarm rule name alert name, and a host.
The interface testing tool module simulates a cloud platform monitoring alarm processing scene, tests the accuracy of an alarm rule by combining with a business process comprising data receiving, data storage and data processing, and deletes the test data if the alarm cannot be triggered.
The invention has the beneficial effects that: according to the cloud platform monitoring alarm processing function testing method and system, the traditional testing method is used as a support, the testing efficiency is improved by combining an automatic method, the testing of various demand scenes of the cloud platform monitoring alarm can be more efficiently and comprehensively covered, all scenes are used as a whole to be associated, the testing result is more referential, and the problems of complexity and low efficiency of the testing of the cloud platform monitoring alarm are effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a testing method for monitoring alarm processing function of a cloud platform according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the embodiment of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
The traditional test method designs a complete service flow test scheme for the alarm service logic according to the alarm service logic, and comprises the steps of alarm rule configuration, alarm manual triggering (for example, a rule that the state monitoring of a cloud server can be triggered by shutdown operation of the cloud server, and monitoring alarm with abnormal state can be triggered in a shutdown state), alarm data storage, execution of one to more than two flows, recording the result of the flow, and analysis according to an expected result.
Through traditional manual testing, the correctness of the service function logic can be tested to the greatest extent, and the function logic can be ensured to reach the expectation.
A common scenario for monitoring alarm functions is typically the bulk sending of a large number of different alarm data, with a large number of different alarm rules triggered at the same time. However, since various scenes may appear in the permutation and combination of the alarm rules, if only one scene or alarm rule can be tested, the test coverage cannot be achieved, and therefore, the method is very important for the comprehensive and efficient test of the monitoring alarm.
The cloud platform monitoring alarm processing function test method adopts an automatic method, alarm data are injected into a cloud platform system in batches, a cloud platform monitoring alarm processing scene is simulated, the accuracy of an alarm rule is tested by combining a business process comprising data receiving, data storage and data processing, and the full coverage test of the cloud platform monitoring alarm processing scene and the alarm rule is realized.
The method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data to form an alarm key field document;
step 2: designing test data based on the alarm rule and the test data experience base, and forming a test data document;
and step 3: and importing the alarm key field document into an interface test tool for execution, deleting the test data if an alarm cannot be triggered, and adding the test data into a test data experience base if the alarm is triggered.
The alarm key fields include, but are not limited to, a cloud center name regionCode, an alarm rule name alert name, and a host.
The original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
The cloud platform monitoring alarm processing function test system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience base;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience base, identifying and extracting alarm key fields in the alarm data experience base, forming alarm key field documents and importing the alarm key field documents into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule in combination with the test data experience base, forming a test data document and importing the test data document into the interface test tool module
The interface testing tool module is responsible for testing the accuracy of the alarm rule by using the alarm key field document and the test data document and sending the test data for triggering the alarm to the test data experience base;
the test data experience base is responsible for managing and storing all test data for triggering the warning so as to be used in the next test.
The original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
The alarm key fields include, but are not limited to, a cloud center name regionCode, an alarm rule name alert name, and a host.
The interface testing tool module simulates a cloud platform monitoring alarm processing scene, tests the accuracy of an alarm rule by combining with a business process comprising data receiving, data storage and data processing, and deletes the test data if the alarm cannot be triggered.
Compared with the prior art, the cloud platform monitoring alarm processing function test method and the cloud platform monitoring alarm processing function test system have the following characteristics:
firstly, a traditional testing method is used as a support, and an automatic method is combined to improve the testing efficiency, so that the testing of various demand scenes of monitoring and alarming of the cloud platform can be more efficiently and comprehensively covered;
secondly, associating all scenes as a whole, so that the test result has higher referential property;
and thirdly, the problems of complex test and low efficiency of the cloud platform monitoring alarm are effectively solved.
The above-described embodiment is only one specific embodiment of the present invention, and general changes and substitutions by those skilled in the art within the technical scope of the present invention are included in the protection scope of the present invention.
Claims (8)
1. A cloud platform monitoring alarm processing function test method is characterized by comprising the following steps: the method adopts an automatic method, the alarm data is injected into the cloud platform system in batch, the cloud platform monitoring alarm processing scene is simulated, the accuracy of the alarm rule is tested by combining the business processes including data receiving, data storing and data processing, and the full coverage test of the cloud platform monitoring alarm processing scene and the alarm rule is realized.
2. The cloud platform monitoring alarm processing function testing method according to claim 1, wherein: the method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data to form an alarm key field document;
step 2: designing test data based on the alarm rule and the test data experience base, and forming a test data document;
and step 3: and importing the alarm key field document into an interface test tool for execution, deleting the test data if an alarm cannot be triggered, and adding the test data into a test data experience base if the alarm is triggered.
3. The cloud platform monitoring alarm processing function testing method according to claim 2, characterized in that: the alarm key fields include, but are not limited to, a cloud centric name regionCode, an alarm rule name alert name, and a host.
4. The cloud platform monitoring alarm processing function testing method according to claim 2, characterized in that: the original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
5. The utility model provides a cloud platform control warning processing function test system which characterized in that: the system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience library;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience base, identifying and extracting alarm key fields in the alarm data experience base, forming alarm key field documents and importing the alarm key field documents into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule in combination with the test data experience base, forming a test data document and importing the test data document into the interface test tool module
The interface testing tool module is responsible for testing the accuracy of the alarm rule by using the alarm key field document and the test data document and sending the test data for triggering the alarm to the test data experience base;
the test data experience base is responsible for managing and storing all test data for triggering the warning.
6. The cloud platform monitoring alarm processing function test system of claim 5, wherein: the original data of the test data experience base is real test data obtained by simulating a monitoring alarm processing function scene by adopting a traditional test method.
7. The cloud platform monitoring alarm processing function test system of claim 5, wherein: the alarm key fields include, but are not limited to, a cloud center name regionCode, an alarm rule name alert name, and a host.
8. The cloud platform monitoring alarm processing function test system of claim 5, wherein: the interface testing tool module simulates a cloud platform monitoring alarm processing scene, tests the accuracy of an alarm rule by combining with a business process comprising data receiving, data storage and data processing, and deletes the test data if the alarm cannot be triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167017.0A CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167017.0A CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114826871A true CN114826871A (en) | 2022-07-29 |
CN114826871B CN114826871B (en) | 2024-04-12 |
Family
ID=82527835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210167017.0A Active CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114826871B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376100A (en) * | 2015-12-09 | 2016-03-02 | 国云科技股份有限公司 | Distributed alarm rule assessment method suitable for cloud platform resource monitoring |
US20170279669A1 (en) * | 2016-03-28 | 2017-09-28 | TUPL, Inc. | Intelligent configuration system for alert and performance monitoring |
CN108490282A (en) * | 2018-01-31 | 2018-09-04 | 中国电力科学研究院有限公司 | A kind of pre-setting method and system of intelligent substation alarm test data |
CN109218097A (en) * | 2018-09-19 | 2019-01-15 | 山东浪潮云投信息科技有限公司 | A kind of warning system and alarm method of cloud platform configurable alert rule |
US20190052551A1 (en) * | 2016-02-26 | 2019-02-14 | Nokia Solutions And Networks Oy | Cloud verification and test automation |
CN110535945A (en) * | 2019-08-30 | 2019-12-03 | 苏州浪潮智能科技有限公司 | Test method, device, equipment and the storage medium of storage cluster alarm function |
CN111698121A (en) * | 2020-06-10 | 2020-09-22 | 浪潮商用机器有限公司 | SNMP trap alarm test method and related device |
CN113595761A (en) * | 2021-06-25 | 2021-11-02 | 国网辽宁省电力有限公司电力科学研究院 | Micro-service component optimization method of power system information and communication integrated scheduling platform |
-
2022
- 2022-02-23 CN CN202210167017.0A patent/CN114826871B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376100A (en) * | 2015-12-09 | 2016-03-02 | 国云科技股份有限公司 | Distributed alarm rule assessment method suitable for cloud platform resource monitoring |
US20190052551A1 (en) * | 2016-02-26 | 2019-02-14 | Nokia Solutions And Networks Oy | Cloud verification and test automation |
US20170279669A1 (en) * | 2016-03-28 | 2017-09-28 | TUPL, Inc. | Intelligent configuration system for alert and performance monitoring |
CN108490282A (en) * | 2018-01-31 | 2018-09-04 | 中国电力科学研究院有限公司 | A kind of pre-setting method and system of intelligent substation alarm test data |
CN109218097A (en) * | 2018-09-19 | 2019-01-15 | 山东浪潮云投信息科技有限公司 | A kind of warning system and alarm method of cloud platform configurable alert rule |
CN110535945A (en) * | 2019-08-30 | 2019-12-03 | 苏州浪潮智能科技有限公司 | Test method, device, equipment and the storage medium of storage cluster alarm function |
CN111698121A (en) * | 2020-06-10 | 2020-09-22 | 浪潮商用机器有限公司 | SNMP trap alarm test method and related device |
CN113595761A (en) * | 2021-06-25 | 2021-11-02 | 国网辽宁省电力有限公司电力科学研究院 | Micro-service component optimization method of power system information and communication integrated scheduling platform |
Non-Patent Citations (1)
Title |
---|
陈拥军;徐罡;方琳琳;: "综合网管告警集中监控系统设计与实现", 计算机与现代化, no. 03, 15 March 2013 (2013-03-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN114826871B (en) | 2024-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109002391A (en) | The method of automatic detection embedded software interface testing data | |
CN103631713A (en) | ERP software automated testing system and method | |
US20170126530A1 (en) | Mechanism for analysing correlation during performance degradation of an application chain | |
CN112540887A (en) | Fault drilling method and device, electronic equipment and storage medium | |
CN109284331B (en) | Certificate making information acquisition method based on service data resources, terminal equipment and medium | |
CN111475411A (en) | Server problem detection method, system, terminal and storage medium | |
US9734042B1 (en) | System, method, and computer program for automated parameterized software testing | |
CN116205396A (en) | Data panoramic monitoring method and system based on data center | |
CN115757150A (en) | Production environment testing method, device, equipment and storage medium | |
CN109408361A (en) | Monkey tests restored method, device, electronic equipment and computer readable storage medium | |
CN109818808B (en) | Fault diagnosis method and device and electronic equipment | |
CN111367782B (en) | Regression testing data automatic generation method and device | |
CN112087320A (en) | Abnormity positioning method and device, electronic equipment and readable storage medium | |
CN114826871B (en) | Cloud platform monitoring alarm processing function test method and system | |
CN115878400A (en) | Test method, test apparatus, computer device, storage medium, and program product | |
CN106919748B (en) | Device and method for improving FPGA prototype verification efficiency | |
CN112131090B (en) | Service system performance monitoring method, device, equipment and medium | |
CN113961465A (en) | Method, device and program product for processing reproduction of program crash scene | |
CN109086196B (en) | Computer lab equipment test case management system | |
CN111026631B (en) | Automatic interface detection method, device and server | |
CN113282506A (en) | Test data acquisition method, device, equipment and computer readable storage medium | |
CN113742213A (en) | Method, system, and medium for data analysis | |
CN111835566A (en) | System fault management method, device and system | |
CN114860549B (en) | Buried data verification method, buried data verification device, buried data verification equipment and storage medium | |
CN114745256B (en) | Server alarm tracing method, device 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 |