yandex / yandex-tank

Load and performance benchmark tool
Other
2.42k stars 281 forks source link

TLS SNI support in yandex-tank with phantom #895

Open maxt opened 11 months ago

maxt commented 11 months 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.