When calling the Amazon API Gateway, the client needs to support Server Name Indication. Here’s how to get it working through Apache JMeter. I am using JMeter version 2.13.
The Issue
Let’s assume you’ve set up your thread groups, and now you’re sorting out your HTTP Request sampler.
Your sampler configuration may look something a bit like this:
However, when you try and hit the API, you may get an SSLHandshakeException stack trace from JMeter that looks something like this:
The Fix
This issue is caused by the HttpClient4 implementation. Change your http client implementation to be HttpClient3.1 and try again: