Have anyone tried to use Yandex-tank as http load testing tool?
I have a usecase to test a http service with multiple requests containing different path and query params and different http headear.
E.G. First request type - /test/user1?param1=1 [X-Forwarded-For: 192.168.0.1], second request type - /test/user2?param1=2 [X-Forwarded-For: 192.168.0.2]
And the problem is how to configure ammo.txt file to have different http headers.
I tried:
# load.conf
[phantom]
address=myservice.loc #Target's address and port .
rps_schedule=line(1, 50, 1m) ## 1 minute, from 1 to 50 requests per second
# ammo.txt
[X-Forwarded-For: 192.168.0.1]
/test/user1?param1=1
[X-Forwarded-For: 192.168.0.2]
/test/user2?param1=2
Test performs ok but all the requestd have X-Forwarded-For: 192.168.0.1
I wounder how to configure ammo.txt to fit my usecase (to have different headers)? Also could you please suggest some alternative tool to do this?