Advertisement

Towards Automated WSDL-Based Testing of Web Services

  • Cesare Bartolini
  • Antonia Bertolino
  • Eda Marchetti
  • Andrea Polini
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5364)

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.

References

  1. 1.
  2. 2.
    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)Google Scholar
  3. 3.
    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)CrossRefGoogle Scholar
  4. 4.
    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)Google Scholar
  5. 5.
    Eviware. soapUI; the Web Services Testing tool (accessed May 30, 2008), http://www.soapui.org/
  6. 6.
    Ostrand, T.J., Balcer, M.J.: The category-partition method for specifying and generating fuctional tests. Commun. ACM 31(6), 676–686 (1988)CrossRefGoogle Scholar
  7. 7.
    Parasoft. SOATest (accessed June 3, 2008), http://www.parasoft.com/jsp/products/home.jsp?product=SOAP
  8. 8.
    PushToTest. PushToTest TestMaker (accessed June 3, 2008) http://www.pushtotest.com/Docs/downloads/features.html
  9. 9.
    TAXI. Testing by automatically generated XML instances (2007), http://labse.isti.cnr.it/index.php?option=com_content&task=view&id=94&Itemid=49
  10. 10.
    Toxgene. Toxgene (2005), http://www.cs.toronto.edu/tox/toxgene/

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Cesare Bartolini
    • 1
  • Antonia Bertolino
    • 1
  • Eda Marchetti
    • 1
  • Andrea Polini
    • 1
    • 2
  1. 1.Istituto di Scienza e Tecnologie dell’Informazione “A. Faedo”, Consiglio Nazionale delle RicerchePisaItaly
  2. 2.Dipartimento di Matematica ed InformaticaUniversity of CamerinoCamerinoItaly

Personalised recommendations