Skip to main content

Automated Generation of Web Service Stubs Using LTL Satisfiability Solving

  • Conference paper
Web Services and Formal Methods (WS-FM 2010)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6551))

Included in the following conference series:

Abstract

Given a web service W, a stub is a simple service S intended to impersonate W and simulate some of its input-output patterns. When W’s behaviour is represented by a logic formula ϕ, S can use a satisfiability solver to drive the simulation and generate valid messages compliant with ϕ. A satisfiability solver for a variant of first-order temporal logic, called LTL-FO + , is described. Using a chain of existing, off-the-shelf tools, a stub can be generated from a set of LTL-FO +  formulæ expressing a wide range of constraints, including message sequences, parameter values, and interdependencies between both. This, in turn, produces a faithful simulation of the original service that can be used for development and testing.

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Amazon flexible payments service sandbox, http://docs.amazonwebservices.com/AmazonFPS/latest/SandboxLanding/index.html (retrieved May 28, 2010)

  2. PayPal sandbox user guide. Technical Report 100007.en_US-200910 (October 2009), https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_Sandbox_UserGuide.pdf (retrieved May 28, 2010)

  3. soapUI: the web services testing tool (2009), http://www.soapui.org/

  4. Bai, X., Dong, W., Tsai, W.-T., Chen, Y.: WSDL-based automatic test case generation for web services testing. In: IEEE International Workshop on Service-Oriented System Engineering (SOSE) 2005, pp. 207–212 (2005)

    Google Scholar 

  5. Bartolini, C., Bertolino, A., Marchetti, E., Polini, A.: Towards automated WSDL-based testing of web services. In: Bouguettaya, A., Krüger, I., Margaria, T. (eds.) ICSOC 2008. LNCS, vol. 5364, pp. 524–529. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  6. Bauer, J.A., Finger, A.B.: Test plan generation using formal grammars. In: Proceedings of the 4th International Conference on Software Engineering, Munich, Germany, pp. 425–432 (September 1979)

    Google Scholar 

  7. Cimatti, A., Clarke, E.M., Giunchiglia, E., Giunchiglia, F., Pistore, M., Roveri, M., Sebastiani, R., Tacchella, A.: NuSMV 2: An opensource tool for symbolic model checking. In: Brinksma, E., Larsen, K.G. (eds.) CAV 2002. LNCS, vol. 2404, pp. 359–364. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  8. Csallner, C., Smaragdakis, Y.: JCrasher: an automatic robustness tester for Java. Softw. Pract. Exper. 34(11), 1025–1050 (2004)

    Article  Google Scholar 

  9. Duncan, A.G., Hutchison, J.S.: Using attributed grammars to test designs and implementations. In: Proceedings of the 5th International Conference on Software Engineering, New York, NY, USA, pp. 170–178 (March 1981)

    Google Scholar 

  10. Fielding, R.J., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., Berners-Lee, T.: Hypertext transfer protocol – HTTP/1.1. Technical Report RFC 2616, IETF (June 1999)

    Google Scholar 

  11. Fielding, R.T.: Architectural Styles and the Design of Network-based Software Architectures. PhD thesis, University of California, Irvine (2000)

    Google Scholar 

  12. Hallé, S., Hughes, G., Bultan, T., Alkhalaf, M.: Generating interface grammars from WSDL for automated verification of web services. In: Baresi, L., Chi, C.-H., Suzuki, J. (eds.) ICSOC-ServiceWave 2009. LNCS, vol. 5900, pp. 516–530. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  13. Hallé, S., Villemaire, R.: Runtime monitoring of message-based workflows with data. In: EDOC, pp. 63–72. IEEE Computer Society, Los Alamitos (2008)

    Google Scholar 

  14. Hallé, S., Villemaire, R., Cherkaoui, O.: Specifying and validating data-aware temporal web service properties. IEEE Trans. Software Eng. 35(5), 669–683 (2009)

    Article  Google Scholar 

  15. Holzmann, G.J.: The SPIN Model Checker: Primer and Reference Manual. Addison-Wesley Professional, Reading (2003)

    Google Scholar 

  16. Hughes, G., Bultan, T., Alkhalaf, M.: Client and server verification for web services using interface grammars. In: Bultan, T., Xie, T. (eds.) TAV-WEB, pp. 40–46. ACM, New York (2008)

    Chapter  Google Scholar 

  17. Josephraj, J.: Web services choreography in practice (2005), http://www-128.ibm.com/developerworks/webservices/library/ws-choreography/

  18. Martin, E., Basu, S., Xie, T.: Automated testing and response analysis of web services. In: ICWS, pp. 647–654. IEEE Computer Society, Los Alamitos (2007)

    Google Scholar 

  19. Maurer, P.M.: Generating test data with enhanced context-free grammars. IEEE Software 7(4), 50–55 (1990)

    Article  Google Scholar 

  20. O’Reilly, T.: REST vs. SOAP at Amazon (2003), http://www.oreillynet.com/pub/wlg/3005 (retrieved June 2, 2010)

  21. Programmable Web. Web services directory (2010), http://www.programmableweb.com (retrieved June 1, 2010)

  22. Rozier, K.Y., Vardi, M.Y.: LTL satisfiability checking. In: Bošnački, D., Edelkamp, S. (eds.) SPIN 2007. LNCS, vol. 4595, pp. 149–167. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  23. Sirer, E., Bershad, B.N.: Using production grammars in software testing. In: Proceedings of DSL 1999: the 2nd Conference on Domain-Specific Languages, Austin, TX, US, pp. 1–13 (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hallé, S. (2011). Automated Generation of Web Service Stubs Using LTL Satisfiability Solving. In: Bravetti, M., Bultan, T. (eds) Web Services and Formal Methods. WS-FM 2010. Lecture Notes in Computer Science, vol 6551. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19589-1_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-19589-1_3

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-19588-4

  • Online ISBN: 978-3-642-19589-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics