Closed sumikawa closed 6 years ago
Yes, this is doable.
@sumikawa How do you know SNI is not working? Using the below command I can verify the server_name
is properly set in the Client Hello
packet with go version go1.7.3 darwin/amd64
:
$ echo "GET https://www.yahoo.com/" | vegeta attack -duration=1s | tee results.bin | vegeta report
To benchmark https site which only accessible with SNI extension, I want to specify servername otherwise TLS handshake will failure from server side.
Reference: https://golang.org/pkg/crypto/tls/#ClientHelloInfo