I currently load testing my service using Gatling in AWS. I did several load tests using HTTP and my service works perfectly. No TLS handshake errors. When we moved to the HTTPS, the load test result showed TLS handshake timeout exception all over the place and finally thrown OOM because unprocessed request getting queued.
Additional information:
- The Gatling scenario will be like this:
Sends three requests and send one request with the
connection: closeheader. I wanted to simulate sending three requests that is kept alive and close it at the end. - My service is managed by Kubernetes.
What I have done:
- I ran the load test on other Gatling instance, but the error still persists
- Restarted the AWS load balancer. Additional notes: There are no 4xx and 5xx errors, but we have client TLS negotiation errors.
My questions:
- Is the error occurred because of the initial handshake required for the HTTPS?
- Is the error occurred because of the AWS load balancer?
Thank you.