作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (06): 161-163. doi: 10.3969/j.issn.1000-3428.2007.06.057

• 网络与通信 • 上一篇    下一篇

RIP一致性测试系统的设计与实现

宇 佳,赵保华,周 颢   

  1. (中国科学技术大学计算机科学技术系,合肥 230027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-03-20 发布日期:2007-03-20

Design and Realization for Conformance Test System of RIP

YU Jia, ZHAO Baohua, ZHOU Hao   

  1. (Department of Computer Science and Technology, University of Science and Technology of China, Hefei 230027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-03-20 Published:2007-03-20

摘要: 针对协议一致性测试的要求和特点,提出了一种RIP协议一致性测试系统的设计,并给出了具体的实现。该系统采用虚拟测试法来完成对被测体的测试,利用有限状态机以确保测试套的完备性,并使用TCL语言作为测试例的脚本描述语言。文中给出了一个基于该系统的测试实例。试验结果表明,这一系统具有较好的测试能力及可靠性高、可移植性好等特点,为今后相关协议测试系统的实现提供了有益的借鉴。

关键词: RIP, 一致性测试, 测试系统, TCL

Abstract: According to the characteristic and requirement of protocol conformance testing, design and realization for conformance testing system of RIP protocol are presented. The system uses virtual testing method to test the implement under test, uses finite state machine to make sure the integrality of test sequences, uses TCL as the description language for the testing scripts. An example illustrating how to implement a test case using this system is given out. The testing result shows that the system has good testing ability, reliability and flexibility. It can be used for reference when developing relevant protocol testing systems in future.

Key words: RIP, Conformance test, Test system, TCL

中图分类号: