首页> 中文期刊>计算机科学 >基于Session的Web应用软件EFSM模型构建方法研究

基于Session的Web应用软件EFSM模型构建方法研究

     

摘要

在Web应用软件模型表示研究领域中,研究对象主要为不合Ajax技术的应用程序.少数针对Ajax(Asynchronous JavaScript and XML)的模型构建采用传统的FSM模型表示方法,并不能描述客户端消息触发后的参数传递问题;在FSM模型的基础上引入UML分层模型的表示方法因需要人工干预,不利于测试用例的自动生成.针对上述问题,借鉴EFSM模型这一重要的软件描述模型,从用户的Session数据出发,通过日志数据分析用户的行为,并记录客户端的操作事件.通过对用户行为和客户端操作事件进行匹配,生成完整的用户会话,从而建立EFSM模型.实验结果表明,该EFSM模型能够有效地表示Web应用程序的状态以及状态的变化情况,并可以有效地为测试用例自动生成服务.%In the research field of Web application model,the main research object is the applications which don't include Ajax.A small number of models which consider the specialty of Ajax use the traditional FSM,and can't describe the parameter transfer problems after the message is triggered in client.There is a method in which the UML layered models is introduced into the FSM for Ajax.However,this method needs manual intervention.It is not convenient for the automatic generation of the test case.To address the above problems,this paper presented an approach which builds model for Web applications based on EFSM as an important software description model.This approach firstly analyzes users' behaviors from users-session data which are recorded in server-side.Meanwhile,the client side events will be recorded.Then,the users' behaviors with client-side events are matched to generate the complete user session data,from which the EFSM model can be built for the Web application.The experiments show that the EFSM model built by using the proposed approach can represent the state and its changes of Web applications effectively.The EFSM model is also convenient for generating test cases automatically.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号