Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 860 Bytes

readme.md

File metadata and controls

50 lines (38 loc) · 860 Bytes

Yandex Tank in a Docker container

This is Yandex Tank installed in a Docker container.

How to use it

Create appropriate configuration file (load-file) and launch the Yandex Tank with command like:

docker run --rm -it -v $(pwd):/ammo gtrafimenkov/yandex-tank -c /ammo/load.ini

Example of load.ini:

[phantom]
address=IP_ADDRESS_OF_YOUR_SERVER
port=80
rps_schedule=const(100, 1m)
header_http = 1.1
headers = [Host: HOSTNAME_OF_YOUR_SERVER]
  [Connection: close]
uris = /

[monitoring]
config=none

[tank]
plugin_rcheck =

Example of load.ini to test an https server:

[phantom]
address=IP_ADDRESS_OF_YOUR_SERVER
port=443
ssl=1
rps_schedule=const(50, 1m)
header_http = 1.1
headers = [Host: HOSTNAME_OF_YOUR_SERVER]
  [Connection: close]
uris = /

[monitoring]
config=none

[tank]
plugin_rcheck =