This code is the companion of the blog post Apache Http Client and Asynchronous HTTP client timeouts explained in pictures
This project uses Docker to create an environment with an HTTP client which queries an HTTP server, with a ToxiProxy in the middle to mess around with the behaviour of the HTTP server.
Docker should be installed.
To run:
docker-compose up -d && docker-compose logs
Then connect to the REPL in port 47480.
To test the Apache HTTP client, see here. The Asynchronous HTTP Client example is here