%A GUO Jun-xia, GUO Ren-fei, XU Nan-shan and ZHAO Rui-lian %T Study on Construction of EFSM Model for Web Application Based on Session %0 Journal Article %D 2018 %J Computer Science %R 10.11896/j.issn.1002-137X.2018.04.034 %P 203-207 %V 45 %N 4 %U {https://www.jsjkx.com/CN/abstract/article_28.shtml} %8 2018-04-15 %X 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.