Abstract
It is now well-established that to be reliable, software have to be tested during the software life cycle, and this is particularly true with recent technologies such as Web services. Test purpose based methods are black box testing techniques which take advantage of reducing the time required for test derivation. Nevertheless, test purposes must be constructed by hand. To solve this issue, we propose, in this paper, some automatic test purpose generation methods for testing the operation existence, the critical states and the exception handling, in stateful Web services. To take into account the SOAP environment in which they are deployed, we also augment the specification with SOAP messages. We show that SOAP gives more observable reactions and helps to test specific properties.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
GarcÃa-Fanjul, J., Tuya, J., de la Riva, C.: Generating test cases specifications for compositions of web services. In: Bertolino, A., Polini, A. (eds.) Proceedings of International Workshop on Web Services Modeling and Testing (WS-MaTe 2006), Palermo, Sicily, Italy, pp. 83–94 (2006)
Frantzen, L., Tretmans, J., de Vries, R.: Towards model-based testing of web services. In: Bertolino, A., Polini, A. (eds.) Proceedings of International Workshop on Web Services Modeling and Testing (WS-MaTe 2006), Palermo, Sicily, Italy, pp. 67–82 (2006)
Lallali, M., Zaidi, F., Cavalli, A., Hwang, I.: Automatic timed test case generation for web services composition. In: The 6th IEEE European Conference on Web Services (ECOWS 2008), Dublin, pp. 53–63. IEEE Computer Society Press, Los Alamitos (2008)
Escobedo, J.P., Gaston, C., Le Gall, P., Cavalli, A.: Observability and controllability issues in conformance testing of web service compositions. In: Núñez, M., Baker, P., Merayo, M.G. (eds.) TESTCOM 2009. LNCS, vol. 5826, pp. 217–222. Springer, Heidelberg (2009)
Cao, T.D., Felix, P., Castanet, R.: Wsotf: An automatic testing tool for web services composition. In: Proceedings of the 2010 Fifth International Conference on Internet and Web Applications and Services ICIW 2010, pp. 7–12. IEEE Computer Society, Washington, DC, USA (2010)
Henniger, O., Lu, M., Ural, H.: Automatic generation of test purposes for testing distributed systems. In: Petrenko, A., Ulrich, A. (eds.) FATES 2003. LNCS, vol. 2931, pp. 178–191. Springer, Heidelberg (2004)
Frantzen, L., Tretmans, J., Willemse, T.A.C.: Test Generation Based on Symbolic Specifications. In: Grabowski, J., Nielsen, B. (eds.) FATES 2004. LNCS, vol. 3395, pp. 1–15. Springer, Heidelberg (2005)
WWW Consortium. Simple object access protocol v1.2 (soap) (2003)
Amazon. Amazon e-commerce service (2010), http://docs.amazonwebservices.com/AWSEcommerceService/4-0/
WI organization. Ws-i basic profile (2006), http://www.ws-i.org/docs/charters/WSBasic_Profile_Charter2-1.pdf
Salva, S., Rabhi, I.: Automatic test purpose generation for Web services. LIMOS Research report RR-11-04 (2011)
Cohen, M.B., Gibbons, P.B., Mugridge, W.B.: Constructing test suites for interaction testing. In: Proc. Intl. Conf. on Software Engineering (ICSE), pp. 38–48 (2003)
Eviware. Soapui (2011), http://www.soapui.org/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Salva, S. (2011). Automatic Test Purpose Generation for Web Services. In: Wan, X. (eds) Electrical Power Systems and Computers. Lecture Notes in Electrical Engineering, vol 99. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21747-0_92
Download citation
DOI: https://doi.org/10.1007/978-3-642-21747-0_92
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-21746-3
Online ISBN: 978-3-642-21747-0
eBook Packages: EngineeringEngineering (R0)