List of Listings
Chapter 2. Taking mountebank for a test drive
Listing 2.1. Creating an imposter on the command line
Listing 2.2. The HTTP response from the curl command
Listing 2.3. An imposter with predicates
Listing 2.4. Combining product data with marketing content
Listing 2.5. Using a fluent interface to build imposters in code
Listing 2.6. Creating the product imposter in code
Listing 2.7. Creating the content imposter
Chapter 3. Testing using canned responses
Listing 3.1. Hello world! in an HTTP response
Listing 3.2. The HTTP response structure in JSON
Listing 3.3. The imposter configuration to respond with Hello, world!
Get Testing Microservices with Mountebank now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.