用户名: 密码: 验证码:
基于WCF的广域监控系统功能测试平台研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前广域监控系统已被广泛地应用于社会生活的各个领域中,计算机通信技术的飞速发展使得技术人员无须亲临现场就能够监视并控制广域分布的各现场设备的运行状态及各种参数。在广域监控系统为生活生产带来效率便捷的同时,也对监控系统的质量提出了更高的要求,尤其是对功能的要求,因此对广域监控系统的功能测试进行研究具有十分重要的意义。
     监控系统对广域分布的被控对象的监控功能是通过通信网络系统,由监控层软件系统与安装在现场的远程终端相互交互实现的。论文以路灯监控系统为被测对象进行功能测试平台的研究与设计。此处研究的功能测试是针对监控层软件系统开展的,该系统由监控中心监控客户端组成,它们通过WCF(Windows Communication Foundation)来实现消息的交互,处理监控功能的主要业务逻辑都集中在监控中心。论文研究对监控中心的功能测试。首先分析了测试系统的功能需求,然后利用WCF技术设计了测试客户端用于将测试用例驱动到被测系统进行执行,同时也实现了对测试信息过程的管理。此外,远程终端监控层软件系统以及测试系统是同时开发的。为了给监控系统的开发提供调试环境以及给功能测试的进行提供测试环境,设计并实现了测试桩。最后由监控系统功能测试的特点提出了测试的方案,并通过实例讲述了运用黑盒测试方法对监视功能控制功能进行测试的方法。
The wide-area monitoring system has been widely applied in various fields of social life, With the rapid development of computer communication technology, the engineers could monitor and control the operational status and parameters of the wide-area distribution equipment in different area. By the efficiency and convenience which the wide-area monitoring brings to our life and production, the demand to the monitoring system quality is higher, especially for functional requirements, therefore, the research of the functional testing of wide-area monitoring system is very significance.
     The monitoring and controlling function of Wide-area monitoring system for distributed object is realized by the interaction of monitoring layer software and the remote terminal unit on site through the communication network system.The paper researches and designs the functional testing platform by taking the street light control system as the measured object. The function test focus on soft system of the monitoring layer, it consists of monitoring center and monitoring client, which exchange information by the WCF (Windows Communication Foundation), The main business logic of the monitoring system all is in monitoring center. Taking the monitoring certer as the function tested system.the paper first analyzes the functional requirements of the test macro, then designs the testing client which is used to drive the test case to the monitoring certer for execution, it also realizes the process of testing information and management. In addition, the remote terminal unit and monitoring layer software and testing system is developed at the same time. In order to provide the debugging environment for system development and the test environment for testing system, the paper designs and implement Test-Stub.Finally, the paper gives the testing program by the characteristics of the control system functional testing, and describes the method of monitoring and controlling functional testing by using black box testing with examples.
引文
[1]马玉春.计算机监控技术与系统开发.北京:清华大学出版社,2007
    [2]杨世兴,郭秀才.监测监控系统原理与实用设计.北京:中国电力出版社,2007
    [3]Michele Leroux Bustamante著.庞引明,侯伯薇译.学习WCF从原理到实践.北京:电子工业出版社,2008
    [4]毛新生.SOA原理·方法·实践.北京:电子工业出版社,2007
    [5]Juval Lowy. Programming WCF Services.南京:东南大学出版社,2007
    [6]周伟明.软件测试实践.北京:电子工业出版社,2008
    [7]朱少民.软件测试.北京:人民邮电出版社,2009
    [8]Glenford J. Myers. The Art of Software Testing.2edition. New York:Wiley,2004
    [9]余公平.软件自动化测试系统的研究与实现.上海交通大学硕士学位论文.2007
    [10]高雯雯,兰雨晴,高静,郭敏华,金茂忠.自动化测试执行管理工具的研究与设计.计算机应用研究.2008(1):126-128
    [11]Siblini R, Mansour N. Testing Web Services. Computer Systems and Applications.2005: 135-142
    [12]姜瑛,辛国茂,单锦辉等.一种Web服务的测试数据自动生成方法.计算机学报.2005(4):568-577
    [13]Suet Chun Lee, Offutt J. Generating test cases for XML-based web component interaction using mutation analysis. Software Reliability Engineering.2001:200-209
    [14]Wuzhi Xu, Offutt J, Juan Luo. Testing Web services by XML perturbation. Software Reliability Engineering.2005:256-266
    [15]de Almeida, L.F, Vergilio,S.R, Exploring Perturbation Based Testing for Web Services. Web Services.2006:717-726
    [16]Xiaoying Bai, Wenli Dong, Wei-Tek Tsai, Yinong Chen. WSDL-based automatic test case generation for Web services testing. Service-Orirnted System Engineering.2005: 207-212
    [17]Xiaoying Bai, Guilan Dai, Edzheng Xu, Wei-Tek Tsai. A multi-agent based framework for collaborative testing on Web services. Software Technologies for Future Embedded. 2006
    [18]饶元,冯博琴,李尊朝.基于web services的服务合成技术研究综述.系统工程与电子技术.2005(8):1481-1489.
    [19]钱柱中,陆桑璐,谢立.基于pertri网的Web服务自动组合研究.计算机学报. 2006(7):1057-1066
    [20]Garcia-Fanjul J, de la Riva, C Tuya. Generation of Conformance Test Suites for Compositions of Web Services Using Model Checking. Testing:Academic and Industrial Conference-Practice And Research Techniques.2006:127-130
    [21]Foster H, Uchitel S, Magee J, Kramer J. Model-based verification of Web service compositions. Automated Software Engineering.2003:152-161
    [22]WCF绑定介绍.http://www.router.net.cn/Article/30440.html
    [23]WCF足迹2:契约.http://hi.baidu.com/grayworm/blog/item/b38308a759aaa59fd04358-2f.html
    [24]Steve Resnick, Richard Crane, Chris Bowen著.鲁成东,戚文敏译.WCF核心技术.北京:人民邮电出版社,2009
    [25]David Sceppa著.贾洪峰译.ADO.NET2.0技术内幕.北京:清华大学出版社,2007
    [26]赵喜来,崔程,夏素广著.SQL Server 2005从入门到精通.北京:电子工业出版社,2007
    [27]Craig McMurtry, Marc Mercuri, Nigel Watling, Matt Winkler著.赵科平,龚岑等译.WCF3.5揭秘.北京:人民邮电出版社,2009
    [28]软件测试流程.http://blog.sina.com.cn/s/blog_605b4e400100esal.html
    [29]Creating a Data Access Layer. http://www.asp.net/learn/data-access/tutorial-01-vb.aspx
    [30]介绍ADO.NET中的数据并发.http://msdn.microsoft.com/zh-cn/library/cs6hb8k4(-VS.80).aspx
    [31]WCF技术剖析之二十五:元数据(Metadata)架构体系全景展现.http://m.-cnblogs.com/22886/1630001.html
    [32]WCF技术剖析之二十七:如何将一个服务发布成WSDL. http://www.cnblogs.com-/artech/archive/2009/12/25/1632312.html
    [33]张华龙.软件测试管理支持系统研究与应用.合肥工业大学硕士学位论文.2008
    [34]武剑洁,陈传波,肖来元.软件测试技术基础.武汉:华中科技大学出版社,2008
    [35]协议.http://baike.baidu.com/view/36190.htm?fr=ala0_1_1
    [36]马俊,郑逢斌,沈夏炯.C#网络应用高级编程.北京:人民邮电出版社,2006
    [37]Socket方法.http://msdn.microsoft.com/zhcn/library/system.net.sockets.socket_metho-ds(v=VS.80).aspx
    [38]IPEndPoint类.http://msdn.microsoft.com/zh-cn/library/fzszfbba(v=VS.95).aspx
    [39]程杰.大话设计模式.北京:清华大学出版社,2007
    [40]Dictionary泛型类.http://msdn.microsoft.com/zh-cn/library/xfhwa508(VS.80).aspx
    [41]黎连业,王华,李淑春.软件测试与测试技术.北京:清华大学出版社,2009
    [42]灰盒测试.http://baike.baidu.com/view/105632.htm?fr=ala0_1
    [43]张大方,李玮.软件测试技术与管理.长沙:湖南大学出版社,2007
    [44]王子元,徐宝文,聂长海.组合测试用例生成技术.计算机科学与探索.2008(6):571-588
    [45]Simon Robinson,Christian Nagel等著.李敏波译.黄静,张少华审校.C#高级编程.第3版.北京:清华大学出版社,2005

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700