节点文献

REST架构应用软件测试系统的研究与实现

Research and Implementation of Test System for REST Framework Based Application Software

【作者】 王存玮

【导师】 宋茂强;

【作者基本信息】 北京邮电大学 , 计算机科学与技术, 2008, 硕士

【摘要】 REST架构风格是全新的针对网络应用的开发风格,是当今世界一个成功的互联网超媒体分布式系统架构。近年来,REST架构应用软件的使用日益广泛,特别是在企业的内容协作应用中,REST架构应用软件以其特有的性质获得了人们的青睐。同时,人们对其质量也提出了更高的要求。软件测试作为软件生命周期的一个重要阶段,是保障软件质量的有效手段。软件测试问题的研究越来越引起人们的重视。传统的网络测试技术集中在网络的UI(用户界面)层,不易发现深层次的软件错误且效率低下。由于REST架构软件对外提供统一规范的接口,因此对REST架构应用软件的测试可以集中在API接口层,再引入先进的自动化测试技术,可以大大提高REST的架构应用软件的开发效率。本文首先介绍了软件测试技术的发展,其中包括软件测试的基本概念、软件测试模型、自动化测试以及当前广为应用的JUnit自动化测试框架;其次分析了REST架构应用软件的特点,并在此基础上提炼出REST架构应用软件的公共测试点、测试方法和验证点;最后,设计并实现了一套REST架构应用软件测试系统。

【Abstract】 REST style, which is a new framework for the development of network software, is the most successful Internet distributed hypermedia system architecture in the world. In recent years, the software based on REST framework has been used increasingly, especially in the enterprises for content collaboration by virtue of its nature. Meanwhile, the users also required high quality of this kind of software.As an important phase in software lifecycle, software testing is effective to ensure software quality, and the software developers are paying more and more attention to software testing at present. Traditional testing technology for network software focused on the UI (User Interface) layer, which is difficult to find the deep software bugs and inefficient. Since the software based on REST framework provides a standardized interface, the testing technology for it should focus on API interface layer, and introduce the advanced automation testing technology, as a result, this technology can enhance the efficiency of development for the software based on REST framework.In this paper, the current software testing technology is reviewed, including the basic testing conception, testing model, automation testing and JUnit testing framework; Then we analyze the feature of REST software, and on the basic of it we get the common testing points, testing methods and verification points; At last, we design a REST software testing system and put it into practice.

【关键词】 REST软件测试自动化测试HTTPATOM
【Key words】 RESTSoftware TestingAutomation TestingHTTPATOM
  • 【分类号】TP311.52
  • 【被引频次】11
  • 【下载频次】295
节点文献中: