|国家预印本平台
首页|带有外部变量依赖的并行参数化扩展有限状态机测试

带有外部变量依赖的并行参数化扩展有限状态机测试

esting of Parallel Parameterized Extended Finite State Machines with Dependence on External Variables

中文摘要英文摘要

现阶段基于模型的测试的相关研究主要关注单一组件模型,如FSM和EFSM。但是在某些协议中,可能存在一些带有对其它组件的变量依赖的并行组件,而这类协议难以使用单一模型精确描述。本文使用外部变量扩展了扩展有限状态机,形成了并行扩展参数化有限状态机,并使用一组状态机描述协议。为了使用新模型进行测试生成,本文首先使用修改的EFSM测试生成方法为每个状态机生成测试序列,然后结合使用其他状态机中的变量的变迁和定义这些变量的变迁,生成最终的可执行测试例。该方法被用于测试源地址验证协议SAVI的一致性测试,建立了一组模型并由模型生成了测试例,使用生成的测试例测试了来自4个厂商的10个设备,发现了很多设备实现中存在的错误。

he status of research on model-based testing mainly focus on the model with single component, such as FSM and EFSM. But in some protocols, parallel components with external dependence on variables of other components maybe exist. It is infeasible to precisely specify such protocol by single model. In this paper we extend the Extended Finite State Machine with external variables to form our new model, Parallel Parameterized Extended Finite State Machine (PaP-EFSM), and describe a protocol by a set of PaP-EFSMs. Then we present an approach for tests generation from the new models. Our methodology first use EFSM testing method with minor modifications to generate test sequences for each machine, then we take into account transitions which use external variables or define variables which are used in other machines, and generating final test cases. We apply this method to the conformance testing of Source Address Validation Improvements (SAVI) protocols. A set of PaP-EFSMs are built, there group of test sequences are derived and applied on the 10 devices from 4 manufacturers. Many implement faults are exposed.

吴建平、尹霞、姚姜源、王之梁

计算技术、计算机技术自动化技术、自动化技术设备

协议测试一致性测试基于模型的测试并行参数化扩展有限状态机外部变量

Protocol TestingConformance TestingModel-Based TestingParallel Parameterized Extended Finite State MachinesExternal Variables

吴建平,尹霞,姚姜源,王之梁.带有外部变量依赖的并行参数化扩展有限状态机测试[EB/OL].(2011-12-06)[2025-08-02].http://www.paper.edu.cn/releasepaper/content/201112-105.点此复制

评论