Docker-YaTank is a Yandex.Tank container for load testing. This container is based on ErgoZ's one, but uses PyPI Tank package instead of .deb
/yandex-example-configs/load.iniload.ini./tank.log/etc/yandex-tank/*.ini and ~/.yandex-tank<section>.<option>=value Example: yandex-tank -o "console.short_only=1" --option="phantom.force_stepping=1"Add an ammo file name as a nameless parameter, e.g.:
yandex-tank ammo.txt or yandex-tank ammo.gz
ATENTION!!! Main folder is /yandex-tank-configs in container. All paths in load.ini must follow this folder! See ammo example config below.
[phantom]
address=example.com:80 ; Target's address and port
rps_schedule=const(5,1m) ; load scheme
header_http = 1.1
headers = [Host: example.com] [Cookies: None] [Connection: close]
ammo = /yandex-tank-configs/ammo.txt
docker run --name yatank -ti --rm -v /path-to-config-dir:/yandex-tank-configs direvius/docker-yatank -c /yandex-tank-configs/load.ini
or
docker run --name yatank -ti --rm -v /path/to/config/dir:/yandex-tank-configs direvius/docker-yatank /yandex-tank-configs/ammo.txt
All report files will be created in /path/to/config/dir used for mount config.
Content type
Image
Digest
sha256:d2250dc05…
Size
143 MB
Last updated
almost 11 years ago
docker pull m0sth8/docker-yatank