A Simple Approach for Testing Web Service Based Applications

  • Abbas Tarhini
  • Hacène Fouchal
  • Nashat Mansour
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3908)


The cost of developing and deploying web applications is reduced by dynamically integrating other heterogeneous self-contained web services. However, the malfunctioning of such systems would cause severe losses. This paper presents a technique for building reliable web applications composed of web services. All relevant web services are linked to the component under test at the testing time; thus, the availability of suitable web services is guaranteed at invocation time. In our technique, a web application and its composed components are specified by a two-level abstract model. The web application is represented as Task Precedence Graph (TPG) and the behavior of the composed components is represented as a Timed Labeled Transition System (TLTS). Three sets of test sequences are generated from the WSDL files, the TLTS and the TPG representing the integrated components and the whole web application. Test cases are executed automatically using a test execution algorithm and a test framework is also presented. This framework wraps the test cases with SOAP interfaces and validates the testing results obtained from the web services.


label transition systems testing verification web service web application 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    ALTOVA. Web service description language for weather forecasting (November 2005),
  2. 2.
    Arnold, T.: Testing web services (.net and otherwise). In: Software Test Automation Conference (March 2003)Google Scholar
  3. 3.
    Beizer, B.: Testing Techniques, 2nd edn. Van Nostrand Reinhold, New York (1990)Google Scholar
  4. 4.
    Milanova, A., Fu, C., Ryder, G., Wonnacott, D.: Testing of java web services for robustness. In: Proceedings of the International symposium on Software Testing and Analysis (ISSTA 2004), Boston, Massachusetts, USA, July 11-14, pp. 23–33 (2004)Google Scholar
  5. 5.
    Clune, J., Chen, L.: Testing web services (methods for ensuring server and client reliability). Web Sphere Journal (February 2005)Google Scholar
  6. 6.
    Heckel, R., Lohmann, M.: Towards contract-based testing of web services. In: International Workshop on Test and Analysis of Component Based Systems, Bercelona (March 2004)Google Scholar
  7. 7.
    Looker, N., Munro, M., Xu, J.: Testing web services. In: The 16th IFIP International Conference on Testing of Communicating Systems, Oxford (2004)Google Scholar
  8. 8.
    McCarthy, V.: A roadmap for web services management (November 2002),
  9. 9.
    Gold, N., Knight, C., Mohan, A., Munro, M.: Understanding service-oriented software. IEEE Software (March 2004)Google Scholar
  10. 10.
    Offutt, J., Xu, W.: Generating test cases for web services using data perturbation. In: Workshop on Testing, Analysis and Verification of Web Services, July 2004, Boston Mass. (September 2004)Google Scholar
  11. 11.
    Davidson, N.: The Red-Gate software technical papers. Web services testing (2002),
  12. 12.
    IBMWeb Services Architecture team. Web services overview. In: IBM (2004)Google Scholar
  13. 13.
    Tsai, W., Paul, R., Song, W., Cao, Z.: Coyote:an xml-based framework for web service testing. In: Proceedings of the 7th IEEE International Symposuim on High Assurance System Engineering (October 2002)Google Scholar
  14. 14.
    Tsai, W., Paul, R., Wang, Y., Fan, C., Wang, D.: Extending wsdl to facilitate web service testing. In: Proceedings of the 7th International Symposium On High Assurance Systems Engineering (2002)Google Scholar
  15. 15.
    Zhang, J.: An approach to facilitate reliability testing of web services components. In: Proceedings of the 15th International Symposium on Software Reliability Engineering, ISSRE 2004 (November 2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Abbas Tarhini
    • 1
    • 3
  • Hacène Fouchal
    • 2
  • Nashat Mansour
    • 3
  1. 1.LICA/CReSTICUniversité de Reims Champagne-ArdenneReimsFrance
  2. 2.GRIMAAGUniversité des Antilles et de GuyanePointe-à-Pitre, GuadeloupeFrance
  3. 3.Computer Science DivisionLebanese American UniversityBeirutLebanon

Personalised recommendations