Abstract
With the emergence of service-oriented computing, proper approaches are needed to validate a Web Service (WS) behaviour. In the last years several tools automating WS testing have been released. However, generally the selection of which and how many test cases should be run, and the instantiation of the input data into each test case, is still left to the human tester.
In this paper we introduce a proposal to automate WSDL-based testing, which combines the coverage of WS operations with data-driven test case generation. We sketch the general architecture of a test environment that basically integrates two existing tools: soapUI, which is a popular tool for WS testing, and TAXI, which is a tool we have previously developed for the automated derivation of XML instances from a XML Schema.
The test suite generation can be driven by basic coverage criteria and by the application of some heuristics, aimed in particular at systematically combining the generated instance elements in different ways, and at opportunely varying the cardinalities and the data values used for the generated instances.
The authors wish to thank Antonino Sabetta for his help in defining the test cases. This work was supported by the TAS3 Project (EU FP7 CP n. 216287).
Chapter PDF
Similar content being viewed by others
References
Altova. XML Spy, http://www.altova.com/products/xmlspy/xml_editor.html
Bai, X., Dong, W., Tsai, W.-T., Chen, Y.: WSDL-based automatic test case generation for web services testing. In: Proc. of IEEE Int. Work. SOSE, Washington, DC, USA, pp. 215–220. IEEE Computer Society, Los Alamitos (2005)
Bertolino, A., Gao, J., Marchetti, E., Polini, A.: Systematic generation of XML instances to test complex software applications. In: Guelfi, N., Buchs, D. (eds.) RISE 2006. LNCS, vol. 4401, pp. 114–129. Springer, Heidelberg (2007)
Bertolino, A., Gao, J., Marchetti, E., Polini, A.: Automatic test data generation for XML Schema based partition testing. In: Proc. Int. Work. on Automation of Software Test (ICSE 2007 companion), Minneapolis, Minnesota, USA (May 2007)
Eviware. soapUI; the Web Services Testing tool (accessed May 30, 2008), http://www.soapui.org/
Ostrand, T.J., Balcer, M.J.: The category-partition method for specifying and generating fuctional tests. Commun. ACM 31(6), 676–686 (1988)
Parasoft. SOATest (accessed June 3, 2008), http://www.parasoft.com/jsp/products/home.jsp?product=SOAP
PushToTest. PushToTest TestMaker (accessed June 3, 2008) http://www.pushtotest.com/Docs/downloads/features.html
TAXI. Testing by automatically generated XML instances (2007), http://labse.isti.cnr.it/index.php?option=com_content&task=view&id=94&Itemid=49
Toxgene. Toxgene (2005), http://www.cs.toronto.edu/tox/toxgene/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bartolini, C., Bertolino, A., Marchetti, E., Polini, A. (2008). Towards Automated WSDL-Based Testing of Web Services. In: Bouguettaya, A., Krueger, I., Margaria, T. (eds) Service-Oriented Computing – ICSOC 2008. ICSOC 2008. Lecture Notes in Computer Science, vol 5364. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89652-4_41
Download citation
DOI: https://doi.org/10.1007/978-3-540-89652-4_41
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-89647-0
Online ISBN: 978-3-540-89652-4
eBook Packages: Computer ScienceComputer Science (R0)