How to specify domain name as target address in yandex.tank?

Vastly
1 min readFeb 16, 2020

--

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:

address is always IP in yandex.tank’s world

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:

Specifing valid hostname for Yandex.Tank

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:

load.yml

--

--

Vastly
Vastly

Written by Vastly

Making the world a better place for someone else. https://github.com/ivastly/

No responses yet