yandex / yandex-tank

Load and performance benchmark tool
Other
2.46k stars 280 forks source link

TLS SNI support in yandex-tank with phantom #895

Open maxt opened 1 year ago

maxt commented 1 year ago

Hello! My test scenario implies interaction with https endpoint which relies on TLS SNI.

As far as I understand, yandex-tank generates config for phantom loader, and despite I specify hostname and port in load.yml it uses IP address for this configuration, so, phantom doesn't have an information about hostname => it can't provide ongoing secure connection with SNI field. So, my endpoint can't determine destination of ingoing connection and just throws 503 and service doesn't exist error code.

My environment is openshift and traffic is going through openshift route to istio ingress gateway which terminates tls connection.