Skip to main content

Solving the Instance Identification Problem in Micro-service Testing

  • Conference paper
  • First Online:
Testing Software and Systems (ICTSS 2021)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13045))

Included in the following conference series:

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.

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

Notes

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

    While we do not limit the application of IIDs in different protocols, we are focusing here on the HTTP.

  3. 3.

    The assignment and communication of authorization keys is outside the scope of this paper and will be discussed in the future.

  4. 4.

    The assignment and communication of authorization keys is outside the scope of this paper and will be discussed in the future.

References

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

    Chapter  Google Scholar 

  2. AWS: AWS X-Ray concepts - AWS X-Ray. https://docs.amazonaws.cn/en_us/xray/latest/devguide/xray-concepts.html

  3. Binder, R.V.: Design for testability in object-oriented systems. Commun. ACM 37(9), 87–101 (1994). https://doi.org/10.1145/182987.184077

    Article  Google Scholar 

  4. Bucchiarone, A., Severoni, F.: Testing service composition. In: ASSE: Proceedings of the 8th Argentine Symposium on Software Engineering (2007)

    Google Scholar 

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

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

    Google Scholar 

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

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

  9. Google Cloud: Cloud Trace documentation—Google Cloud. https://cloud.google.com/trace/docs

  10. ISTQB.International Software Testing Qualifications Board: ISTQB Glossary. https://glossary.istqb.org/en/search/

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

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

    Google Scholar 

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

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

  15. W3C: Simple Object Access Protocol (SOAP) 1.1 (2000). https://www.w3.org/TR/2000/NOTE-SOAP-20000508/

  16. W3C: Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language (2007). https://www.w3.org/TR/wsdl20/

Download references

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

Authors

Corresponding author

Correspondence to Theofanis Vassiliou-Gioles .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics