Service Virtualization

 View Only
  • 1.  Reuse the existing SSL connection in the rest step

    Posted Jun 05, 2020 11:30 AM
    In volume testing, we have noticed that rest step is creating new SSL connection for each instance while invoking the endpoint. This process of creating new SSL connection is taking time and is impacting the performance.  Is there a way to reuse the connection which it established initially when rest step connects to the endpoint?

    Thank you
    Surya


  • 2.  RE: Reuse the existing SSL connection in the rest step

    Posted Jun 06, 2020 01:05 AM
    Hi Surya,

    Try using "Connection: Keep-Alive" in your request header and see if it helps.

    Thanks.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: Reuse the existing SSL connection in the rest step

    Posted Jun 08, 2020 06:23 PM
    Thanks Vaibhav.

    We have added the Connection:keep-Alive in the request headers, but it did not work



  • 4.  RE: Reuse the existing SSL connection in the rest step

    Broadcom Employee
    Posted Jun 09, 2020 09:58 AM
    Hi Surya,

    Try using the keep-alive request header with timeout value and max requests and see if it helps.

    You can find more information at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive.

    Regards,
    Prema


  • 5.  RE: Reuse the existing SSL connection in the rest step

    Posted Jun 10, 2020 04:17 PM
      |   view attached
    Hi Prema,

    We still the see same issue after adding timeout value and max requests. Please find the attached screenshot

    Thank you
    Surya


  • 6.  RE: Reuse the existing SSL connection in the rest step
    Best Answer

    Broadcom Employee
    Posted Jul 17, 2020 02:34 AM
    Please use the following property in local.properties file:

    lisa.ssl.reuse.session=true
    --
    regards
    Sankar Natarajan