用户需求驱动的Web服务测试  被引量:4

Testing Web Services Based on User Requirements

在线阅读下载全文

作  者:许蕾[1] 陈林[2] 徐宝文[1] 

机构地区:[1]南京大学计算机科学与技术系,南京210093 [2]南京大学计算机软件新技术国家重点实验室,南京210093

出  处:《计算机学报》2011年第6期1029-1040,共12页Chinese Journal of Computers

基  金:国家"九七三"重点基础研究发展规划项目基金(2009CB320703);国家自然科学基金(60873050;90818027;61003020;91018005);武汉大学软件工程国家重点实验室开放基金(SKLSE20080717)资助

摘  要:Web服务涉及开发者、提供者、注册中心、用户等多方,各方测试目的、所掌握的资源以及所使用的测试方法各异.以用户需求来驱动Web服务测试,更切合现状且能提升测试效率.文中建立了用户需求特征模型,引入层次关系、控制结构、约束条件等要素;对照目标级、服务组合、原子服务需求,分别进行基于等价类划分、数据流分析和变异测试的测试用例生成选择;当需求变动时,通过波动分析能迅速定位到服务的相关路径和变量,保证回归测试的效率;最后通过行程安排实例展示了工作流程和实验结果.Web service testing can be carried out by developers, providers, integrators, third-party certifiers and users, and different testers have different testing objects, testing resources and testing techniques. In realities, testing Web services in the view of users is more practical than others, and can improve testing efficiency in the case study. The authors set up user requirement model firstly, which began with general and abstract object requirements, and then decomposed and refined into concrete and determined atomic Web services, together with such key ele-ments as layer relationships, control structures and restrict conditions, presented as a tree-style model; Next, test case generation and selection is carried out for the object level, service combination level and atomic service level of the user requirement model, and the corresponding tech- niques are based on equivalence division, data flow analysis and mutation testing; Then, the regression testing would have better efficiency. Based on the dependence relationships in the user requirement model and the fluctuation analysis method, the related paths and variables of Services under testing could be determined quickly; Finally, the workflow and case study are shown with the travel scheduling example.

关 键 词:WEB服务测试 用户需求 测试用例生成 依赖性分析 回归测试 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象