基于Tcl的OSPF协议一致性自动化测试系统设计

基于Tcl的OSPF协议一致性自动化测试系统设计(任务书,开题报告,外文翻译,论文13000字)
摘 要
众所周知,如今由于网络时代的迅速发展导致了该相关行业内对网络设备的性能以及相关服务的要求愈来愈高。而对于传统的手工操作技术来说,已经远远不能满足这一要求。因此,本文将利用开放最短路径优先(OSPF)协议一致性拆分点所编写的测试用例借助于自动化测试系统来进行自动化测试,以提高相关的工作测试效率。同时对两种情况进行了比较,所得结果对于普及自动化测试技术具有重要的指导意义。
本论文主要研究的是基于工具命令语言(Tcl)的OSPF协议一致性自动化测试系统,首先将相关的测试用例(OSPF协议的路由互通性测试)基于Tcl语言编写出来,这一部分包括工程的创建、配置文件的编写以及测试脚本的编写三个部分。然后利用Ixia公司开发的一款仪表来进行相关设备的配置,这一部分主要包括相关的IP配置、OSPF协议的配置以及流量的配置,将其保存为仪表配置文件以便自动化测试时直接调用。最后,利用自动化测试系统进行测试以及结果分析。
研究结果表明:9个测试用例,利用自动化测试系统进行测试需要用时67分钟,而手工测试需要93分钟,因此,自动化测试使工作人员的测试效率提高了28%。
[资料来源:http://Doc163.com]
关键词:自动化测试;开放最短路径优先协议;测试用例;工具命令语言
Abstract
As is known to all, now due to the rapid development of the Internet age led to the performance on the related industries within the network equipment and related services is increasingly demanding. And for the traditional manual techniques, has been far can not meet the requirements of the. Therefore, this paper will use the open shortest path first (OSPF) protocol consistency split point written test cases using in automatic test system to test automation, in order to improve the efficiency of test work related. At the same time the two were compared with results obtained for the popularity of automated testing technology is of important guiding significance.
In this paper, the main research is based on the tool command language (TCL) of OSPF protocol consistent automation test system, first the relevant test cases (OSPF routing interoperability test based on Tcl language written, this part including the project created, configuration files as well as the preparation of the test script written in three parts. Then the Ixia develops a instrument configuration of equipment related to, this part mainly includes the IP configuration, OSPF configuration and flow assignment, save it for instrument configuration file to self direct calls to dynamic test. Finally, the Test and result analysis with automated test system.
The results show that: 9 test cases, the use of automated testing system to test the need for 67 minutes, and manual testing takes 93 minutes, so the automated testing to improve the efficiency of the staff of 28%.
Key Words: Automated Testing; Open Shortest Path First protocol ; Tool command language
[资料来源:Doc163.com]




目 录
摘 要 I
Abstract II [资料来源:http://doc163.com]
第1章 绪论 1
1.1 课题研究的目的及意义 1
1.2 研究(设计)的基本内容及相关措施 1
1.2.1 基本内容 1
1.2.2 基本目标 2
1.2.3 拟采用的技术及措施 2
第2 章 Tcl脚本语言与协议一致性 3
2.1 Tcl脚本语言 3
2.1.1 Tcl语言的基本介绍 3
2.1.2关于Tcl语言的基本特点 3
2.2 协议一致性 3
2.2.1一致性的要求 3
2.2.2一致性测试分类 4
2.2.3协议一致性测试流程 4
第3章 OSPF协议的基本原理与实现 6
3.1简介 6
3.2 OSPF的特点 6
3.3 OSPF的工作过程 7
3.3.1 OSPF的五种数据报文和七种状态机 7
3.3.2 OSPF工作的具体过程 8
第4章 基于Tcl的OSPF协议一致性自动化测试系统 10 [资料来源:www.doc163.com]
4.1 自动化测试系统 10
4.1.1 测试平台组网方式与系统组成 11
4.1.2 系统模块描述 11
4.2 测试用例的开发及编写 13
4.2.1 创建工程 13
4.2.2 编写配置文件 14
4.2.3 编写测试脚本 15
4.3 自动化测试环境的搭建 19
4.3.1自动化测试环境拓扑 19
4.3.2 IXIA测试仪表IxNetwork简介 19
4.4自动化测试过程及结果分析 21
4.4.1自动化测试过程 21
4.4.2自动化测试结果及分析 23
第5章 结论与展望 27
参考文献 28
致谢 29 [资料来源:Doc163.com]
