Engineering the Future of Software
16–18 October 2017: Conference & Tutorials
18–19 October 2017: Training
London, UK

Reality is overrated: API simulation for microservice testing

Daniel Bryant (SpectoLabs), Andrew Morgan (OpenCredo)
9:0012:30 Wednesday, 18 October 2017
Microservices, pros and cons
Location: Windsor Suite Level: Beginner
Secondary topics:  Hands-on
Average rating: ***..
(3.67, 3 ratings)

Prerequisite Knowledge

  • A basic understanding of microservices and typical testing approaches (unit, integration, acceptance, etc.)

Materials or downloads needed in advance

  • A laptop (preferably Linux) with access to the command line and the ability to install binaries (A VirtualBox VM will be provided to run on any compatible laptop.)

What you'll learn

  • Explore the theory, techniques, and practices behind testing distributed microservice systems
  • Understand how to isolate tests within a large microservice ecosystem via a technique known as API simulation


Testing microservices is challenging. Dividing a system into components naturally creates interservice dependencies, and each service has its own performance and fault-tolerance characteristics that need to be validated during development and the QA process. Daniel Bryant and Andrew Morgan share the theory, techniques, and practices needed to overcome this challenge.

Topics include:

  • The challenges of testing distributed microservice systems
  • Breaking the reliance on dependent services and APIs
  • A practical guide to API simulation
  • Isolating tests within a large microservice ecosystem
  • Implementing fault-injection testing to validate nonfunctional requirements
  • Using API simulation for testing work undertaken during DevOps, legacy system and cloud migration, and high-volume load testing
Photo of Daniel Bryant

Daniel Bryant


Daniel Bryant is an independent technical consultant and the CTO at SpectoLabs, where he specializes in enabling continuous delivery within organizations through the identification of value streams, the creation of build pipelines, and the implementation of effective testing strategies. Daniel’s technical expertise focuses on DevOps tooling, cloud and container platforms, and microservice implementations. He contributes to several open source projects, writes for InfoQ, O’Reilly, and Voxxed, and regularly presents at international conferences, including OSCON, QCon, and JavaOne.

Photo of Andrew Morgan

Andrew Morgan


Andrew Morgan is a consultant at OpenCredo. His interests and experiences include application development in languages such as Java and Go and working with programmable infrastructure tooling (e.g., Terraform). Andrew contributes to a number of open source projects, presents at conferences, and writes for InfoQ.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)


Picture of Daniel Bryant
Daniel Bryant | CTO
17/10/2017 21:11 BST

The password for the VirtualBox image is ‘spectolabs’, but please note that if you are using macOS or Linux then you don’t need to install the VirtualBox image :-)

Picture of Daniel Bryant
Daniel Bryant | CTO
17/10/2017 20:42 BST

Hi everyone, apologies for the communication issues around the prerequisites for the course – there appears to be some challenges with mailing links around. I’m including a link here to a Google doc with all of the installation instructions you need:

17/10/2017 17:55 BST

Is there an url to download the virtualbox image?