Difference in response time between http vs https

I tested my website with 100 users with http and https. The response time received in https is much higher than the response time received in http. The https response time is almost four times that of HTTP. Can someone explain to me why the response time is higher in https compared to http? or do i need to change any SSL property in jmeter system.properties? Thanks at Advance ..!

+3
source share
1 answer

SSL Handshake involves 4 connection requests, so the first request should be about 4 times larger than with HTTP. See SSL Confirmation Diagram for more information.

However, if you get a 4-fold decrease in performance for all requests, this does not sound right.

The following JMeter properties that control SSL flows are:

  • https.sessioncontext.shared - determines whether SSL session contexts are created for the stream (if it is set to false) or general (if it is set to true)
  • https.use.cached.ssl.context - controls if the cached SSL context is reused between iterations

jmeter.properties /bin JMeter. -J :

jmeter -Jhttps.sessioncontext.shared=true -Jhttps.use.cached.ssl.context=true 

. Apache JMeter.

, , , , , .

+3

All Articles