节点文献

Web应用测试模型研究及改进

Research on Testing Model of Web Application and Improvement

【作者】 曾刚

【导师】 傅鹤岗;

【作者基本信息】 重庆大学 , 计算机软件与理论, 2007, 硕士

【摘要】 随着计算机网络技术的发展,Web应用已经渗透到社会的各个应用领域。在市场需求推动下,Web应用的规模越来越大,结构也变得越来越复杂。为保证Web应用软件的质量,Web应用测试非常重要。目前,国内外对软件测试的研究工作已取得很多成果,如各种测试方法和测试策略的提出,以及测试工具的开发等。但是,国内在Web应用测试上的发展还相对滞后,特别是对整个Web应用测试建模,制定测试策略的研究上还处于起步阶段。本文在研究已有测试模型的基础上,作者提出了一种Web应用测试组合模型,用于整个Web应用系统的建模测试。本文的研究工作有以下几点:①在分析已有测试模型的基础上,作者提出了一种Web应用测试组合模型(WATM)。模型从对象、导航行为和结构三方面对Web应用系统建模,分析测试用例,执行测试生成测试报告。在建立对象模型时,除引用传统对象的继承、关联和聚合关系外,还定义了Web应用对象特有的请求、响应、导航和重定向关系,用这七种对象关系测试Web应用对象的状态和行为。导航模型为页面间的导航行为构建页面导航图,并且分析了浏览器对导航行为的影响。根据页面导航图生成页面导航树,从页面导航树获取导航行为的测试序列,测试Web应用的导航行为。结构模型在继承传统的控制流和数据流测试方法基础上,引入了控制流图分析Web应用的控制流和数据流信息。还解决了Web应用中forward节点的控制流和数据流测试问题。②研究了回归测试模型MaxQ在Web测试中的应用。针对Web应用多用户同步执行测试的特点,本文对MaxQ模型进行了改进。同时还研究了测试用例记录文件的结构,提出了一种结构优化方法,为维护繁多的Web应用测试用例提供了方便。③提出了Web应用组合测试模型的设计方案,以《重庆铁路物流电子商务平台》为实验背景,进行控制流和数据流测试实验。并利用改进的回归测试模型MaxQ进行了回归测试实验,发现了系统中隐藏的错误,证明了测试模型的有效性。本文提出的Web应用组合测试模型和回归测试模型对Web应用所制定的测试方案,可提高Web应用测试的效率,节约资源,在Web应用测试中有一定的实用价值。

【Abstract】 With the development of the computer network technology, the scale of Web application is becoming huger and huger, and the structure is becoming more and more complex. In order to insure the correctness and the reliability of Web application, Web application testing is extremely important.At present, there are many successes in software testing area, such as some software testing methods, some testing strategies and some testing tools etc. But the development of Web application testing inland goes behind the overseas, even constructing model testing Web application is at the beginning. Based on the foretime testing models, this paper proposes Web association testing model which is used for Web application test. The research content of this paper is as follows:①This paper proposes Web association testing model, which is built by the analysis of the object, navigation and structure in Web application. Based on the model, test case can be got, and then test report can be created after executing test. Object model analyze not only Inherit, Association and Aggregation traditional relation, but also Request, Response, Navigation and Redirect relation which exist in Web application only. The seven relations can be used for modeling Web application’s objects, then the state and the action of Web application’s objects can be analyzed. Navigation model constructs page navigation graph by pages’navigation, in which the author analyzes the impact of browser on page navigation. Based on page navigation graph, page navigation tree can be generated, and then test sequence can be got. Structure model introduce control flow graph into analyzing control flow and data flow of Web application after the traditional control flow and data flow testing methods. In this process, the author resolves the analysis of control flow and data flow of forward point in Web application.②Research a regression testing model MaxQ which is used for testing system error leaded by module amending. In order to simulate multi-user testing environment, the author improve MaxQ testing model. Convenient for maintenance complex test case of Web application, the author optimizes structure of testing case recording file.③Design a Web application testing tool. Based on the experiment of <the E-commerce Platform of Chonqqing Railway Transportation>, the control flow and data flow testing was experimented. Experiment on regression testing by improved regression testing model MaxQ, finds some errors hidden in the platform, which proves the availability of regression testing model.Web association testing model and regression testing model design a Web application testing plan, which can enhance efficiency of Web application testing, save resource, and be useful to Web application testing.

  • 【网络出版投稿人】 重庆大学
  • 【网络出版年期】2007年 06期
  • 【分类号】TP393.06
  • 【被引频次】12
  • 【下载频次】304
节点文献中: 

本文链接的文献网络图示:

本文的引文网络