Skip to main content

A Simple Approach for Testing Web Service Based Applications

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 3908))

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. ALTOVA. Web service description language for weather forecasting (November 2005), www.altova.com

  2. Arnold, T.: Testing web services (.net and otherwise). In: Software Test Automation Conference (March 2003)

    Google Scholar 

  3. Beizer, B.: Testing Techniques, 2nd edn. Van Nostrand Reinhold, New York (1990)

    Google Scholar 

  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. Clune, J., Chen, L.: Testing web services (methods for ensuring server and client reliability). Web Sphere Journal (February 2005)

    Google Scholar 

  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. 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. McCarthy, V.: A roadmap for web services management (November 2002), www.oetrends.com

  9. Gold, N., Knight, C., Mohan, A., Munro, M.: Understanding service-oriented software. IEEE Software (March 2004)

    Google Scholar 

  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. Davidson, N.: The Red-Gate software technical papers. Web services testing (2002), www.redgate.com

  12. IBMWeb Services Architecture team. Web services overview. In: IBM (2004)

    Google Scholar 

  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. 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. 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 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tarhini, A., Fouchal, H., Mansour, N. (2006). A Simple Approach for Testing Web Service Based Applications. In: Bui, A., Bui, M., Böhme, T., Unger, H. (eds) Innovative Internet Community Systems. IICS 2005. Lecture Notes in Computer Science, vol 3908. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11749776_12

Download citation

  • DOI: https://doi.org/10.1007/11749776_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-33973-1

  • Online ISBN: 978-3-540-33974-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics