Cargando…

Testing microservices with Mountebank /

Chapter 8. Protocols -- 8.1. How protocols work in mountebank -- 8.2. A TCP primer -- 8.3. Stubbing text-based TCP-based RPC -- 8.4. Binary support -- 8.5. Virtualizing a .NET Remoting service -- Summary -- Part 3. Closing the Loop -- Chapter 9. Mountebank and continuous delivery -- 9.1. A continuou...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Byars, Brandon (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Shelter Island, NY : Manning Publications, [2019]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Copyright
  • Brief Table of Contents
  • Table of Contents
  • Preface
  • Acknowledgments
  • About this book
  • About the author
  • About the cover illustration
  • Part 1. First Steps
  • Chapter 1. Testing microservices
  • 1.1. A microservices refresher
  • 1.2. The problem with end-to-end testing
  • 1.3. Understanding service virtualization
  • 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
  • Part 2. Using mountebank
  • Chapter 3. Testing using canned responses
  • 3.1. The basics of canned responses
  • 3.2. HTTPS imposters
  • 3.3. Saving the responses in a configuration file
  • Summary
  • Chapter 4. Using predicates to send different responses
  • 4.1. The basics of predicates
  • 4.2. Parameterizing predicates
  • 4.3. Using predicates on JSON values
  • 4.4. Selecting XML values
  • Summary
  • Chapter 5. Adding record/replay behavior
  • 5.1. Setting up a proxy
  • 5.2. Generating the correct predicates
  • 5.3. Capturing multiple responses for the same request
  • 5.4. Ways to replay a proxy
  • 5.5. Configuring the proxy
  • 5.6. Proxy use cases
  • Summary
  • Chapter 6. Programming mountebank
  • 6.1. Creating your own predicate
  • 6.2. Creating your own dynamic response
  • 6.3. A word of caution: security matters
  • 6.4. Debugging tips
  • Summary
  • Chapter 7. Adding behaviors
  • 7.1. Understanding behaviors
  • 7.2. Decorating a response
  • 7.3. Adding latency to a response
  • 7.4. Repeating a response multiple times
  • 7.5. Replacing content in the response
  • 7.6. A complete list of behaviors
  • 10.5. Scaling mountebank
  • Summary
  • Index
  • List of Figures
  • List of Tables
  • List of Listings