• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2010, Vol. 32 ›› Issue (9): 81-83.doi: 10.3969/j.issn.1007130X.2010.

• 论文 • 上一篇    下一篇

一种新颖的Web服务安全性测试方法

施寅生,王峰,齐璇   

  1. (北京系统工程研究所,北京 100101)
  • 收稿日期:2010-03-11 修回日期:2010-06-09 出版日期:2010-09-02 发布日期:2010-09-02
  • 作者简介:施寅生(1983),男,河南商丘人,硕士,CCF会员(E200014353G),研究方向为软件测试技术和可信软件技术;王峰,男,博士,研究员,研究方向为软件测评和质量保证;齐璇,博士,副研究员,研究方向为软件测评。
  • 基金资助:

    国家863计划资助项目(2009AA01Z146)

A New Web Services Security Testing Method

SHI Yinsheng,WANG Feng,QI Xuan   

  1. (Beijing Institute of System Engineering,Beijing 100101,China)
  • Received:2010-03-11 Revised:2010-06-09 Online:2010-09-02 Published:2010-09-02

摘要:

针对传统的Web服务安全性测试方法存在的低效、缺乏灵活性、不适应复杂安全功能测试及难以实现异常测试等问题,本文提出一种基于WSDL文件动态解析和安全功能分解的Web服务安全性测试方法。该方法采用运行时动态解析WSDL文件的方式解决了传统测试方法与被测Web服务紧耦合的问题,将复杂安全功能分解为7类原子安全处理类型,使其能够有效适应复杂安全功能测试的需要,采用故障注入机制生成错误的SOAP消息使其支持异常测试。实验结果表明,该方法具有灵活性、高效性和先进性。

关键词: Web服务, 安全性测试, 软件测试

Abstract:

The traditional Web services security testing methods are inefficient,inflexible and do not meet the complex security testing requirements and have difficulty in achieving negative testing. This paper presents a Web services security testing method based on dynamically parsing WSDLs and decomposing security functions. The method solves the problem that traditional testing methods are tightly coupled to the services under testing by dynamically parsing WSDLs. Complex security functions are divided into seven categories of atom security functions so that it can be adapted to complex security testing. It also uses a  fault injection mechanism to generate error messages. The experimental results show that the method is flexible,efficient and advanced.

Key words: Web service;security testing;software testing