Constraint-Based Model-Driven Testing of Web Services for Behavior Conformance

被引:7
|
作者
Sun, Chang-ai [1 ]
Li, Meng [1 ]
Jia, Jingting [1 ]
Han, Jun [2 ]
机构
[1] Univ Sci & Technol Beijing, Sch Comp & Commun Engn, Beijing 100083, Peoples R China
[2] Swinburne Univ Technol, Sch Software & Elect Engn, Melbourne, Vic 3122, Australia
来源
基金
北京市自然科学基金; 中国博士后科学基金; 中国国家自然科学基金;
关键词
Web services; Conformance testing; Model-driven testing; Test case generation;
D O I
10.1007/978-3-030-03596-9_40
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In the current Web Service Description Language (WSDL), only the interface information of a web service is provided without any indication on its behavior logic. Naturally, it is difficult for the service user and developer to achieve a shared understanding of the service behavior through such a description. A particular challenge is how to make explicit the various behavior assumptions and restrictions of a service (for the user), and make sure that the service implementation conforms to them (for the developer). In order to improve the behavior conformance of services, in this paper we propose a constraint-based model-driven testing approach for web services. In our approach, constraints are introduced in an extended WSDL, called CxWSDL, to formally and explicitly express the implicit restrictions and assumptions on the behavior of web services, and then the predefined constraints are used to derive test cases in a model-driven manner to test the service implementation's conformance to these behavior constraints from the user's perspective. We have conducted an empirical study with three real-life web services as subject programs, and the experimental results have shown that our approach can effectively validate the service's conformance to the behavior constraints.
引用
收藏
页码:543 / 559
页数:17
相关论文
共 50 条
  • [1] Improving Conformance of Web Services: A Constraint-based Model-driven Approach
    Sun, Chang-Ai
    Fu, An
    Jia, Jingting
    Li, Meng
    Han, Jun
    [J]. ACM TRANSACTIONS ON THE WEB, 2023, 17 (02)
  • [2] Model-driven visualizations of constraint-based local search
    Dooms, Gregoire
    Van Hentenryck, Pascal
    Michel, Laurent
    [J]. CONSTRAINTS, 2009, 14 (03) : 294 - 324
  • [3] Model-driven visualizations of constraint-based local search
    Dooms, Gregoire
    Van Hentenryck, Pascal
    Michel, Laurent
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2007, 2007, 4741 : 271 - +
  • [4] Model-driven visualizations of constraint-based local search
    Grégoire Dooms
    Pascal Van Hentenryck
    Laurent Michel
    [J]. Constraints, 2009, 14 : 294 - 324
  • [5] Dynamic constraint-based invocation of Web services
    Cacciagrano, Diletta
    Corradini, Flavio
    Culmone, Rosario
    Vito, Leonardo
    [J]. WEB SERVICES AND FORMAL METHODS, PROCEEDINGS, 2006, 4184 : 138 - 147
  • [6] Model-driven web services development
    Gronmo, R
    Skogan, D
    Solheim, I
    Oldevik, J
    [J]. 2004 IEEE INTERNATIONAL CONFERNECE ON E-TECHNOLOGY, E-COMMERE AND E-SERVICE, PROCEEDINGS, 2004, : 42 - 45
  • [7] Model Driven Conformance Testing for Standardized Services
    Khalfallah, Malik
    Figay, Nicolas
    Barhamgi, Mahmoud
    Ghodous, Parisa
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC 2014), 2014, : 400 - 407
  • [8] Model-driven security based on a Web services security architecture
    Nakamura, Y
    Tatsubori, M
    Imamura, T
    Ono, K
    [J]. 2005 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING, VOL 1, PROCEEDINGS, 2005, : 7 - 15
  • [9] Model-driven agent-based web services IDE
    Li, YS
    Shen, WM
    Ghenniwa, H
    Lu, XH
    [J]. CONCEPTUAL MODELING FOR ADVANCED APPLICATION DOMAINS, PROCEEDINGS, 2004, 3289 : 518 - 528
  • [10] Model-driven software development of applications based on web services
    Quintero, Ricardo
    Zepeda, Leopoldo
    Vega, Liliana
    [J]. INTERNATIONAL JOURNAL OF WEB AND GRID SERVICES, 2010, 6 (03) : 313 - 330