Skip to main content

Model-Based Testing of Web Service with EFSM

  • Conference paper
  • First Online:
Practical Applications of Intelligent Systems

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 279))

Abstract

Web services are becoming more and more widespread as an emerging technology; it is hard to test Web services because they are distributed applications with numerous aspects of runtime behavior that are different from typical applications. This paper presents a new approach to testing Web services based on Extended Finite State Machine (EFSM). Web Services Description Language (WSDL) file alone does not provide dynamic behavior information. This problem can be overcome by appending the formal model of EFSM to standard WSDL, we can generate a set of test cases which has a better test coverage than other methods. Moreover, a procedure for deriving an EFSM model from WSDL specification is provided to help a service provider augment, the EFSM model describing dynamic behaviors of the Web service. To show the efficacy of our approach, we applied our approach to Parlay-X Web services. In this way, we can test Web services with greater confidence in potential fault detection.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Institutional subscriptions

References

  1. Booth D, Haas H, McCabe F, Newcomer E, Champion M, Ferris C, Orchard D (2004) Web services architecture. W3C working group note, W3C,1201 Massachusetts Avenue, Cambridge, USA

    Google Scholar 

  2. Shafique M, Labiche Y (2010) A systematic review of model based testing tool support. Carleton University, Technical report, May 2010

    Google Scholar 

  3. Bourhfir C, Aboulhamid E, Khendek F, Dssouli R (2012) Test cases selection from SDL specifications. Comput Netw 35(6):693–708

    Google Scholar 

  4. Heckel R, Mariani L (2005) Automatic conformance testing of web services, vol 3442. Springer LNCS, New York, pp 34–48

    Google Scholar 

  5. Baldan P, Konig B, Sturmer I (2011) Generating test cases for code generators by unfolding graph transformation systems. In: Proceedings of 9th International conference on graph transformation, Rome

    Google Scholar 

  6. Ammann P, Offutt J (2011) Introduction to software testing. Cambridge University Press, New York

    Google Scholar 

  7. Weyuker E, Jeng B (2006) Analyzing partition testing strategies. IEEE Trans Softw Eng 31:703–711

    Google Scholar 

  8. White L, Cohen EJ (1980) A domain strategy for computer program testing. IEEE Trans Softw Eng 6:247–257

    Article  MATH  Google Scholar 

  9. Tsai WT, Paul R, Wang Y, Fan C, Wang D (2008) In: Extending WSDL to facilitate web services testing. HASE 2008

    Google Scholar 

  10. Bourhfir C, Dssouli R, Aboulhamid E, Rico N (1997) Automatic executable test case generation for EFSM specified protocols. IWTCS’97, pp 75–90

    Google Scholar 

  11. Offutt J, Xu W (2004) Generating test cases for web services using data perturbation. ACM SIGSOFT Softw Eng Notes 29:1–10

    Google Scholar 

  12. Li Y, Li M, Yu J (2009) “Web service testing, the methodology, and the implementation of the automation-testing tool”, GCC2009. LNCS 3032:940–947

    Article  Google Scholar 

  13. Sabnani K, Dahbura A (1985) A new technique for generating protocol tests. ACM Comput Commun 15(4):39–48

    Google Scholar 

  14. Hausmann JH, Heckel R, Lohmann M (2006) Model-based discovery of web services. ICWS’06, pp 63–75

    Google Scholar 

  15. Parlay X (2012) Working group, Parlay-X White Paper. http://www.parlay.org

Download references

Acknowledgment

This work is funded by the Shandong Provincial Natural Science Foundation of China (Grant No.ZR2011FL013) and partially supported by the Natural Science Foundation of China (NSFC, Grant No.60873237), Natural Science Foundation of Beijing (Grant No.4092037).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Longbo Zhang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sun, F., Liao, L., Zhang, L. (2014). Model-Based Testing of Web Service with EFSM. In: Wen, Z., Li, T. (eds) Practical Applications of Intelligent Systems. Advances in Intelligent Systems and Computing, vol 279. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-54927-4_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-54927-4_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-54926-7

  • Online ISBN: 978-3-642-54927-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics