Writing web services or applications that consume APIs is a common part of web development. Be it either a web service that is developed internally or by using an existing API from a 3rd party. When writing tests against an external API one can face a number of issues tests fail due to connectivity issues service has a limited hit rate and responds with errors after a while service does not exist