Yandex.tank is a sophisticated, extemely powerful load generator. Target of the generated load (“address” key) has to be an IP address, as per the docs:
So, how to make your system-under-test to work properly, if it expects correct hostname to be specified?
Easy, just put hostname into HTTP headers in load.yml excplicitely:
To start the load test just run the following:
docker run -it --rm -v $(pwd):/var/loadtest direvius/yandex-tank
Here is the full content of demo load.yml: