PracticalWeb Ltd

Websites that work for you.

SSL Problems in Jmeter and Java 1.7

When using jmeter on an ssl enabled site I was seeing an error

SSL handshake alert: unrecognized_name error

But I’d read that since jmeter version 2.4 ssl should work fine

It turns out that Java 7 introduced a feature (SNI support) and can trigger this error in some circumstances.

As workaround you can disable this feature by setting the property jsse.enableSNIExtension to false.

and run jmeter like

jmeter -Djsse.enableSNIExtension=false -t mytest.jmx