计算机工程与应用 ›› 2014, Vol. 50 ›› Issue (6): 77-82.

• 网络、通信、安全 • 上一篇    下一篇

iSCSI协议一致性测试研究与实现

易  奇,贾  婧,路  杨,张  玉,胡怀湘   

  1. 华北计算技术研究所,北京 100083
  • 出版日期:2014-03-15 发布日期:2015-05-12

Research and realization of iSCSI protocol conformance testing

YI Qi,JIA Jing, LU Yang, ZHANG Yu, HU Huaixiang   

  1. North China Institute of Computing Technology, Beijing 100083, China
  • Online:2014-03-15 Published:2015-05-12

摘要: 不同iSCSI协议实现之间能否互联互通取决于协议实现是否与iSCSI协议规范相一致。针对这个问题,研究了iSCSI协议一致性测试的测试原理和测试流程,设计了适合于iSCSI协议一致性测试的测试系统以及基于XML描述的iSCSI协议一致性测试套,给出了较为完整的iSCSI协议一致性测试例。使用该测试例对某产品的iSCSI协议实现进行一致性测试,发现了被测实现存在与协议规范不一致的地方。

关键词: Internet小型计算机系统接口(iSCSI)协议, 一致性测试, 测试系统, 可扩展标记语言(XML), 测试套, 测试例

Abstract: The interconnection of the different iSCSI protocols implementation depends on the conformance between the protocol implementation and the iSCSI protocol specification. In view of this problem, the test principle and processes of the iSCSI protocol conformance testing are proposed in this paper. The test system suitable for iSCSI protocol conformance testing and test suite which is described by XML is designed. A set of relative integrity testcases is provided. Moreover, the iSCSI protocol implementation of a particular product is tested using the test cases. Test result shows that there are some inconsistence existing between the tested implementation and the protocol specification.

Key words: Internet Small Computer System Interface(iSCSI) protocol, conformance testing, test system, Extensible Markup Language(XML), test suite, test case