Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this book

About the author

About the cover illustration

1. First Steps

Chapter 1. Testing microservices

1.1. A microservices refresher

1.1.1. The path toward microservices

1.1.2. Microservices and organizational structure

1.2. The problem with end-to-end testing

1.3. Understanding service virtualization

1.3.1. Test-by-test setup using an API

1.3.2. Using a persistent data store

1.3.3. Record and replay

1.4. Introducing mountebank

1.5. The service virtualization tool ecosystem

Summary

Chapter 2. Taking mountebank for a test drive

2.1. Setting up the example

2.2. HTTP and mountebank: a primer

2.3. Virtualizing the product catalog service

2.4. Your first test

Summary

2. Using mountebank

Chapter 3. Testing using canned responses

3.1. The basics of canned responses

3.1.1. The default response

3.1.2. Understanding how the default response works

3.1.3. Changing the default response