March 2020
Intermediate to advanced
626 pages
14h 45m
English
Kenneth Reitz created a popular testing tool called http://httpbin.org.
This tool is an easy way to test HTTP code, test POST payloads, check headers, inspect requests and responses, create/read/delete cookies, and return anything that is passed to a request.
Traffic can be managed to external services if access to them is controlled through ServiceEntry. For example, routing rules can be applied to external services the same way we implemented them for local services.
Let's look at an example where we'll add a timeout of 3 seconds to the httpbin.org external site that will be accessed from our microservices:
# Script : 17-add-timeout-for-httpbin-virtual-service.yamlapiVersion: ...
Read now
Unlock full access