节点文献

基于WCA的Web组件测试研究

Study Based on Web Components Testing of WCA

【作者】 方磊

【导师】 谭运猛;

【作者基本信息】 华中科技大学 , 软件工程, 2005, 硕士

【摘要】 随着Web 应用的增多,新的模式解决方案中以Web 为核心的应用也越来越多,那么要获得Web 应用的高效率和高性能就自然成为了人们关注的问题。同一般软件测试一样,Web 测试应运而生,围绕着Web 应用的测试技术也随着人们对Web 应用不同的关注面而得到飞速地发展。本文在认真阅读了Web 架构、Web 测试相关文档和仔细研究了WCA(一种面向Web 系统的通用组件架构)的基础上,对基于WCA 的Web 组件测试工作进行了研究,设计、建立起一种基于WCA 的Web 组件测试的测试平台,并相应地进行了单一Web 组件的测试工作。该测试平台的建立是以WCA 核心思想为基础,整个测试平台需要用到JSP+JavaBean 技术,Tomcat 服务器,MySQL 数据库等资源。Tomcat 服务器负责处理JSP 页面请求并返回相关信息; MySQL 负责用户数据信息的存储和修改; JSP+JavaBean 技术负责模拟GlobalBean(系统虚拟总线),实现系统对用户信息参数的获取; 模拟LocalBean(组件方法接口)所需的信息,实现各种业务功能,从而达到对单一Web 组件最大程度上解耦的目的。在此测试平台下,根据边界值、等价类等测试方法规划测试用例,对该Web组件进行功能、性能上进行测试,以及进行回归测试。基于WCA 的Web 组件测试平台的建立是Web 测试平台的一个重大改进,能够对单一Web 组件进行功能或者性能方面的测试,可以提高Web 组件的质量,进而形成性能更优的Web 系统。

【Abstract】 With the development of Web application, more and more applications take Web as the kernel present to technique of new mode, so that how to get the high efficiency and the high performance naturally becomes the question concerned by people. The Web Testing emerges as the times require as the Sofeware Testing.The Testing Technique about Web application has rapidly developed with the different aspects of Web application concerned by people. Based on the widely related document about Web Architecture and Web Testing and carefully studying WCA(Web Component Architecture), a testing platform based on Web Component Testing of WCA is designed and set up after studying work based on Web Component Testing of WCA. The testing platform is built on the kernel of WCA, and the whole testing platform needs some resource such as technique of JSP+JavaBean, Tomcat WebServer, MySQL Database and etc. Tomcat WebServer manages requests of JSP and response interrelated information; MySQL stores and modifies users’data; the technique of JSP+JavaBean simulates GlobalBean(system virtual bus), and acquires users’parameter; to simulate the information that LocalBean(the interface of component) requires realizes all kinds of functions, so the aim of eliminating coupling furthest for one Web component can be reached. Under the testing platform, marking out the testing case according to boundary value and equivalence and testing the Web component with function testing, load testing and functional regression testing. It is an important improvement of Web testing platform that Web component testing platform is built on WCA, which could test function and performance for one Web component and improve the quality of Web component, thus, the Web system of better performance could be produced.

  • 【分类号】TP311.10
  • 【被引频次】1
  • 【下载频次】98
节点文献中: 

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

本文的引文网络