基于浏览器引擎数据的自动化测试系统的设计与实现
发布时间:2018-06-09 02:27
本文选题:自动化测试 + 网络嗅探 ; 参考:《中国科学院大学(工程管理与信息技术学院)》2014年硕士论文
【摘要】:当今世界网络技术以及互联网浏览器的发展已到达较为成熟的阶段,Compuware公司的互联网性能解决方案APM(Application Performance Management)的核心产品—Browser Agent(浏览器引擎),是通过模拟浏览器和用户的足迹访问网站,得到诸如下载延迟、可靠性、响应时间等关键数据。对该产品的测试的重点之一是结合具有网络嗅探功能的较底层和相对权威的第三方工具同步得到数据,并试图通过较大的数据样本与Browser Agent产生的数据进行对比来测试产品生成的数据是否精确。 基于以上背景,本文以实现精准测试Browser Agent所产生网络数据的自动化测试系统为目标,以数据采集,分析,对比以及数据对比结果展示这一流程为主线展开学习和研究。论文的主要工作包括: (1)对本论文的背景进行深入剖析,对国内外的关于网络嗅探(Sniffer)技术和网络数据解析相关技术进行了研究,通过这些研究分析自动化测试系统的可行性。 (2)在对背景和相关技术研究的基础上,对自动化测试系统进行系统方案和架构设计。提出了以NET架构和MySQL数据库为基础,Python数据分析为辅的整套自动化测试解决方案。并不同程度地对系统调度,资源分配等功能模块进行了介绍。 (3)集中详尽阐述数据分析自动化测试所涉及的各个模块的实现,包括以Windows服务和Wireshark为基础的数据采集模块,Python和Xml技术为基础的数据分析模块,以及ASP.NET为基础的数据测试报告展示模块。最后验证了自动化测试系统的各项功能。 本系统主要基于.NET架构结合Python, MySQL来实现Browser Agent产品数据质量的测试,实现整个测试过程除参数输入外,无人工干预,系统自动执行。相比之前的纯手工或是半手工测试,极大程度提高了测试效率和测试精准度,尤其在产品开发周期短的敏捷模式中,使得频繁的回归测试变得可能。
[Abstract]:The development of network technology and Internet browser in the world today has reached a relatively mature stage. The core product of Compuware's Internet performance solution, APMN Application performance Management, is the browser engine, which is based on simulating browsers and users. To visit the website, Key data such as download delay, reliability, response time are obtained. One of the key points in testing the product is to synchronize data with lower-level and relatively authoritative third-party tools with network sniffing capabilities. This paper attempts to test whether the data generated by the product is accurate or not by comparing the larger data samples with the data generated by browser Agent. Based on the above background, this paper aims at realizing the automatic test system for precisely testing the network data generated by browser Agent. Data acquisition, analysis, comparison and data comparison results show this process as the main line of learning and research. The main work of this paper includes: 1) deeply analyzing the background of this paper, studying the network sniffing sniffer technology and the related technology of network data analysis at home and abroad. Through these studies, the feasibility of the automated test system is analyzed. Based on the research of background and related technology, the system scheme and architecture of the automated test system are designed. This paper presents a complete set of automated test solution based on net structure and MySQL database, which is supplemented by Python data analysis. Different degrees of system scheduling, resource allocation and other functional modules are introduced. It includes the data analysis module based on Windows service and Wireshark technology and the data analysis module based on Python and XML technology, and the data test report demonstration module based on ASP.NET. Finally, the functions of the automated test system are verified. This system is mainly based on .NET architecture and Python, MySQL to realize the testing of browser Agent product data quality, the whole testing process except parameter input, no human intervention, system automatic execution. Compared with the previous manual or semi-manual testing, the efficiency and accuracy of the test are greatly improved, especially in the agile mode with short product development cycle, which makes frequent regression testing possible.
【学位授予单位】:中国科学院大学(工程管理与信息技术学院)
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.092
【参考文献】
相关期刊论文 前6条
1 张卫东,王伟,韩维桓;网络流量测量与监控系统的设计与实现[J];计算机工程与应用;2005年32期
2 林嘉燕;;基于Wireshark的文件传输协议研究[J];内江师范学院学报;2012年08期
3 胡鸿彬;以Tcpdump为基础的网络统计软件[J];计算机与通信;1998年04期
4 罗青林;徐克付;臧文羽;刘金刚;;Wireshark环境下的网络协议解析与验证方法[J];计算机工程与设计;2011年03期
5 沈路;一种基于WinDump的网络安全分析系统[J];铁路计算机应用;2003年09期
6 朱菊;王志坚;杨雪;;基于数据驱动的软件自动化测试框架[J];计算机技术与发展;2006年05期
,本文编号:1998403
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1998403.html