首页> 外文学位 >Automatic test case generation of conformance testing for communication protocols specified in extended models.
【24h】

Automatic test case generation of conformance testing for communication protocols specified in extended models.

机译:针对扩展模型中指定的通信协议自动生成一致性测试的测试用例。

获取原文
获取原文并翻译 | 示例

摘要

A communication protocol, which is a set of rules governing the operation of a computer network, is essential for supporting the network's reliability. The written statement of these rules is called a protocol specification, which cannot function unless it is implemented. However, due to human errors or incompatibilities between the protocol and its lower layer systems, a protocol implementation may not behave as specified. Thus, conformance testing is used to ensure the consistency between a protocol specification and its implementation. An important area of conformance testing is test case generation (TCG), which automatically generates a set of test cases to discover any discrepancy between a protocol specification and its implementation.;Test case generation has been studied in the literature for protocols specified by the Finite State Machines (FSMs) model. However, many practical, real-world protocols are hard or infeasible to be specified by the FSM model because the model contains no memory. As the result, more sophisticated models with memory, called extended models, are used in practice. Although extended models can dramatically simplify a protocol specification, both the control and data flows of the specification need to be considered in order to generate a test case. Unfortunately, because of the difficulty in tracing the data flow, generating a test case for extended models remains a challenging problem, and little research has been done on this area.;In this dissertation, the test case generation problem for extended models is introduced. Because of its simplicity and generality, EFSM (Extended Finite State Machine) is used as the model in this dissertation. It is found that axiomatic semantics is a suitable technique for monitoring the data flow of an EFSM. Using axiomatic semantics as a tool, several methods for EFSM test case generation are proposed. The first method, called ATG (Axiomatic Test case Generation), generates test cases for the single-transition fault. Based on the same technique, the second method, called OAT (Optimized ATG), uses more complicated axioms to derive shorter test cases.;Next, a behavior model is proposed to describe the dynamic behavior of an EFSM. Using the model, TGF (Test case Generation for given Fault models) is used to generate a test case based on a given fault model. This method is also extended to generating test cases for an OSI standard specification language, Estelle. Finally, it is found that TGF can be transformed into a protocol validation problem. Therefore, many existing protocol validation tools can be used to generate test cases. As a result, a test case generator is implemented using an existing protocol validation tool.
机译:通信协议是控制计算机网络运行的一组规则,对于支持网络的可靠性至关重要。这些规则的书面声明称为协议规范,除非实施,否则它无法起作用。但是,由于人为错误或协议及其较低层系统之间的不兼容性,协议实现可能无法按指定方式运行。因此,一致性测试用于确保协议规范及其实现之间的一致性。一致性测试的一个重要领域是测试用例生成(TCG),它会自动生成一组测试用例,以发现协议规范与其实现之间的任何差异。测试用例生成已在有关Finite指定的协议的文献中进行了研究。状态机(FSM)模型。但是,由于FSM模型不包含任何内存,因此很难或不容易由FSM模型指定它们。结果,在实践中使用了具有内存的更复杂的模型,称为扩展模型。尽管扩展模型可以极大地简化协议规范,但为了生成测试用例,必须同时考虑规范的控制流和数据流。不幸的是,由于难以跟踪数据流,因此为扩展模型生成测试用例仍然是一个具有挑战性的问题,对此方面的研究很少。本文针对扩展模型的测试用例生成问题进行了介绍。由于其简单性和通用性,本文将EFSM(扩展有限状态机)用作模型。发现公理语义是监视EFSM数据流的合适技术。以公理语义为工具,提出了几种EFSM测试用例生成方法。第一种方法称为ATG(公理测试用例生成),它为单过渡故障生成测试用例。在相同技术的基础上,第二种方法称为OAT(Optimized ATG,优化ATG),它使用更复杂的公理来推导较短的测试用例。接下来,提出了一种行为模型来描述EFSM的动态行为。使用该模型,TGF(给定故障模型的测试用例生成)用于基于给定故障模型生成测试用例。该方法还扩展为生成OSI标准规范语言Estelle的测试用例。最后,发现TGF可以转化为协议验证问题。因此,可以使用许多现有的协议验证工具来生成测试用例。结果,使用现有协议验证工具实现了测试案例生成器。

著录项

  • 作者

    Wang, Chang-Jia.;

  • 作者单位

    The Ohio State University.;

  • 授予单位 The Ohio State University.;
  • 学科 Computer science.
  • 学位 Ph.D.
  • 年度 1994
  • 页码 221 p.
  • 总页数 221
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号