个人云盘自动化监控系统的实现

2021-08-09 02:06:38黎伟健胡斌柯树森张建豪区德成
科技资讯 2021年12期

黎伟健 胡斌 柯树森 张建豪 区德成

摘  要:该文以个人云盘为例,基于Jenkins持续集成框架与ATX自动化测试框架,通过模拟用户真实操作,在终端设备上实现个人云盘应用的关键性能指标自动化测试,并通过7×24 h任务调度与分省部署,开展分省测试数据采集,实现多地域常态化品质监控。通过该系统实时获取个人云盘产品的真实使用数据,并加以多维度分析,一方面可以发现产品突发或潜在的性能缺陷,另一方面也可以快速针对产品功能改动、运营策略调整得到测试数据的反馈,达到全面把控产品关键性能表现的目的。

关键词:持续集成  自动化测试  ATX  品质监控

中图分类号:TP311                          文献标识码:A文章编号:1672-3791(2021)04(c)-0006-05

Implementation of Automatic Monitoring System for Personal Cloud disk

LI Weijian  HU Bin  KE Shusen  ZHANG Jianhao  OU Decheng

(Quality Management Department, China Mobile Internet Co., Ltd., Guangzhou, Guangdong Province, 510640  China)

Abstract:Taking personal cloud disk as an example, based on Jenkins continuous integration framework and ATX automated testing framework, this paper realizes the automatic testing of the key performance indicators of personal cloud disk application on terminal devices by simulating the real operation of users, and carries out provincial test data collection through 7×24 hour task scheduling and provincial deployment to achieve multi-regional normal quality monitoring. Through the system to obtain the real usage data of personal cloud disk products in real time and make multi-dimensional analysis, on the one hand, we can find sudden or potential performance defects of the product, on the other hand, we can quickly get the feedback of the test data according to the product function change and operation strategy adjustment, so as to achieve the purpose of comprehensively controlling the key performance of the product.

Key Words:Continuous integration; Automated testing; ATX; Quality monitoring

对于运营商的互联网应用产品来说,产品基础功能的稳定是第一要务。如何实时感知用户对产品的实际使用体验、获知产品当前的基础功能表现情况,并与历史数据对比来判断产品当前的品质表现,一直是各互联网公司亟待解决的问题。针对这个问题,目前主要有两种解决方法:人工拨测与服务器数据监控。但这两种方法均存在一定缺陷。

人工拨测主要依赖人力,定期对产品主要功能点进行拨测以判断是否正常。此方法存在的缺陷显而易见,手工测试的时间覆盖粒度大,某个用例被执行后需等待较长时间方能再次被执行,难以及时发现异常,若提高覆盖粒度则人力成本倍增。此外,人工拨测也难以进行7×24 h的实时监控。

服务器数据监……

登录APP查看全文