Abstract
Micro-service architecture has become a standard software architecture style, with loosely coupled, specified, and implemented services owned by small teams and independently deployable. In particular, with the emergence of managed services, deployment aspects have to be addressed explicitly. While tools and frameworks support micro-service developers in developing and unit-testing their services, less attention has been given to higher testing levels, particularly to the integration testing phase. This paper identifies aspects that limit the expressiveness of integration testing in the context of managed micros-services and function as a service. We propose the introduction of instance identification to overcome these limitations and illustrate how instance identification can be used to enhance integration testing’s expressiveness.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In this paper, we are not discussing test case generation or test case evaluation strategies but concentrate on the minimum requirements that any testing strategy implies, interacting with a group of components at the edges and evaluating observations.
- 2.
While we do not limit the application of IIDs in different protocols, we are focusing here on the HTTP.
- 3.
The assignment and communication of authorization keys is outside the scope of this paper and will be discussed in the future.
- 4.
The assignment and communication of authorization keys is outside the scope of this paper and will be discussed in the future.
References
Ashikhmin, N., Radchenko, G., Tchernykh, A.: RAML-based mock service generator for microservice applications testing. In: Voevodin, V., Sobolev, S. (eds.) Supercomputing. RuSCDays 2017. CCIS, vol. 793, pp. 456–467. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-71255-0_37
AWS: AWS X-Ray concepts - AWS X-Ray. https://docs.amazonaws.cn/en_us/xray/latest/devguide/xray-concepts.html
Binder, R.V.: Design for testability in object-oriented systems. Commun. ACM 37(9), 87–101 (1994). https://doi.org/10.1145/182987.184077
Bucchiarone, A., Severoni, F.: Testing service composition. In: ASSE: Proceedings of the 8th Argentine Symposium on Software Engineering (2007)
Canfora, G., Di Penta, M.: Service-oriented architectures testing: a survey. In: De Lucia, A., Ferrucci, F. (eds.) ISSSE 2006–2008. LNCS, vol. 5413, pp. 78–105. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-540-95888-8_4
Canfora, G., Penta, M.D.: SOA: testing and self-checking. In: Bertolino, A. (ed.) Proceedings of International Workshop on Web Services - Modeling and Testing (WS-MaTE), Palermo, Italy, pp. 3–11, June 2006
Fielding, R., Reschke, J.: Hypertext transfer protocol (HTTP/1.1): Semantics and Content - RFC 7231, June 2014. https://tools.ietf.org/html/rfc7231. Library Catalog: tools.ietf.org
Fielding, R.T.: Architectural styles and the design of network-based software architectures. Doctoral thesis. University of California, Irvine (2000). https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
Google Cloud: Cloud Trace documentation—Google Cloud. https://cloud.google.com/trace/docs
ISTQB.International Software Testing Qualifications Board: ISTQB Glossary. https://glossary.istqb.org/en/search/
Reschke, J.F., Fielding, R.T.: Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing - RFC 7230. https://tools.ietf.org/html/rfc7230#page-26
Savchenko, D., Radchenko, G.: Microservices validation: methodology and implementation. In: CEUR Workshop Proceedings. CEUR Workshop Proceedings, Yekaterinburg, Russia, vol. 1513, pp. 21–28 (2015). iSSN: 16130073
Vassiliou-Gioles, T.: A simple, lightweight framework for testing RESTful services with TTCN-3. In: 2020 IEEE 20th International Conference on Software Quality, Reliability and Security Companion (QRS-C), QRS-C 2020, Macao, China, pp. 498–505. IEEE, October 2020. https://doi.org/10.1109/QRS-C51114.2020.00089. https://qrs20.techconf.org/QRSC2020_FULL/pdfs/QRS-C2020-4QOuHkY3M10ZUl1MoEzYvg/891500a498/891500a498.pdf
Viglianisi, E., Dallago, M., Ceccato, M.: RESTTESTGEN: automated black-box testing of restful APIs. In: 2020 IEEE 13th International Conference on Software Testing, Validation and Verification (ICST), pp. 142–152, October 2020. https://doi.org/10.1109/ICST46399.2020.00024. iSSN: 2159-4848
W3C: Simple Object Access Protocol (SOAP) 1.1 (2000). https://www.w3.org/TR/2000/NOTE-SOAP-20000508/
W3C: Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language (2007). https://www.w3.org/TR/wsdl20/
Acknowledgment
Funded by the Federal Ministry of Education and Research of Germany (BMBF) under grant no. 16DII113. We are also grateful to the anonymous reviewers for their valuable suggestions to improve the presented ideas in this paper.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 IFIP International Federation for Information Processing
About this paper
Cite this paper
Vassiliou-Gioles, T. (2022). Solving the Instance Identification Problem in Micro-service Testing. In: Clark, D., Menendez, H., Cavalli, A.R. (eds) Testing Software and Systems. ICTSS 2021. Lecture Notes in Computer Science, vol 13045. Springer, Cham. https://doi.org/10.1007/978-3-031-04673-5_15
Download citation
DOI: https://doi.org/10.1007/978-3-031-04673-5_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-04672-8
Online ISBN: 978-3-031-04673-5
eBook Packages: Computer ScienceComputer Science (R0)