Shared Connections, HTTPS, and HTTP

So, I have a test that makes a mix of requests between HTTPS and HTTP.

I was wondering how Gatling behaves under the covers when sharing connections with alternating requests of HTTPS and HTTP.

It feels to me like the connections are being closed and re-opened to deal with HTTPS encryption. If that is the case, then I’m wondering if there is a way of setting up an https connection pool and a http connection pool.

But, in general, I’m just interested in quickly getting a sense of what’s going on and how to adapt accordingly.


That’s different pools. AHC is not supposed to close them. If there’s being closed, there’s a pretty good chance that’s the server doing.