Skip to main content

Learning-Based Testing of Distributed Microservice Architectures: Correctness and Fault Injection

  • Conference paper
  • First Online:
Software Engineering and Formal Methods (SEFM 2015)

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

Included in the following conference series:

Abstract

We report on early results in a long term project to apply learning-based testing (LBT) to evaluate the functional correctness of distributed systems and their robustness to injected faults. We present a case study of a commercial product for counter-party credit risk implemented as a distributed microservice architecture. We describe the experimental set-up, as well as test results. From this experiment, we draw some conclusions about prospects for future research in learning-based 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 EPUB and 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

Notes

  1. 1.

    A fault is a triple consisting of a type, a location and a time [9].

References

  1. Angluin, D.: Learning regular sets from queries and counterexamples. Inf. Comput. 75, 87–106 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  2. 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: Proceedings of International Conference on Computer-Aided Verification (CAV 2002) (2002)

    Google Scholar 

  3. Feng, L., Lundmark, S., Meinke, K., Niu, F., Sindhu, M.A., Wong, P.Y.H.: Case studies in learning-based testing. In: Yenigün, H., Yilmaz, C., Ulrich, A. (eds.) ICTSS 2013. LNCS, vol. 8254, pp. 164–179. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  4. Fowler, M.: Microservices (2014). http://martinfowler.com/articles/microservices.html

  5. Meinke, K., Sindhu, M.A.: Incremental learning-based testing for reactive systems. In: Gogolla, M., Wolff, B. (eds.) TAP 2011. LNCS, vol. 6706, pp. 134–151. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  6. Meinke, K., Sindhu, M.: LBTest: a learning-based testing tool for reactive systems. In: Proceedings of Sixth International IEEE Conference on Software Testing, Verification and Validation (ICST 2013) (2013)

    Google Scholar 

  7. Niese, O.: An Integrated Approach to Testing Complex Systems. Ph.D. thesis, University of Dortmund (2003)

    Google Scholar 

  8. Shepperd, M., Bowes, D., Hall, T.: Researcher bias: the use of machine learning in software defect prediction. IEEE Trans. Software Eng. 40(6), 603–616 (2014)

    Article  Google Scholar 

  9. Svenningson, R.: Model Implemented Fault-injection for Robustness Assessment. Licentiate Thesis, KTH, Stockholm (2011)

    Google Scholar 

  10. VINNOVA FFI project, VIRTUES (Virtualized Embedded Systems for Testing and Development). http://www.csc.kth.se/~karlm/virtues/

  11. Whalen, M., Rajan, A, Heimdahl, M., Miller, S.: Coverage metrics for requirements-based testing. In: Proceedings of International Symposium on Software Testing and Analysis, ISSTA 2006, pp 25–35. ACM Press (2006)

    Google Scholar 

Download references

Acknowledgement

K. Meinke wishes to thank VINNOVA and Scania AB for financial support of this research within [10], and R. Svenningson for valuable discussions on fault injection. P. Nycander wishes to thank TriOptima AB for hosting his Masters thesis research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Karl Meinke .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meinke, K., Nycander, P. (2015). Learning-Based Testing of Distributed Microservice Architectures: Correctness and Fault Injection. In: Bianculli, D., Calinescu, R., Rumpe, B. (eds) Software Engineering and Formal Methods. SEFM 2015. Lecture Notes in Computer Science(), vol 9509. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-49224-6_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-49224-6_1

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-49223-9

  • Online ISBN: 978-3-662-49224-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics