Service Virtualization

 View Only
  • 1.  How to increase the Socket/Connection timeout of 'WebService Execution step'

    Posted Sep 13, 2017 03:13 PM

    Hi,

     

    By default LISA has a connection/socket timeout of 30s for 'WebService Execution Step'. I want to test services with response time set beyond 30s to upto 4min.

     

    Pease help me if we can configure that in somewhere.

     

    I set the below , but this is overwriting the added think-time to the service as 0.

    lisa.http.timeout.connection=0
    lisa.http.timeout.socket=0

     

    Please help.

     

    Thanks,

    Dinesh Kumar



  • 2.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'
    Best Answer

    Posted Sep 13, 2017 06:33 PM

    Hi Dinesh,

     

    In the Web Service Execution (XML) step, select the PRO option and select the Transport tab.

    Change the "Call Timeout (ms):" value and see how it works for you.

    Advanced Settings - DevTest Solutions - 10.1 - CA Technologies Documentation 

     

    Hope it helps.

    Heloisa



  • 3.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Posted Sep 14, 2017 03:22 PM

    Hi Heloisa,

     

    Thank you for this, I am able to a achieve the required timeout now.

     

    Thanks



  • 4.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Broadcom Employee
    Posted Sep 14, 2017 09:52 AM

    If you set the below properties in local.properties they become global and used by all tests.

    lisa.http.timeout.connection=0
    lisa.http.timeout.socket=0

     

    If you are looking for a specific call then what Heloisa recommended is the best approach.

     

    Thanks,

    Prema



  • 5.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Posted May 30, 2018 07:56 PM

    Hi Prema

    After performing above two steps as well , when I run the step through Interactive Test Run , its still timing out within 15 sec , its not waiting until my service response completes. My service taking more than 1 minute to respond 

     

    Please advise through Interactive Test Run , how we can set the timeout for webservice step



  • 6.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Broadcom Employee
    Posted May 31, 2018 10:23 AM

    What is the value you set for Timeout? Try setting to larger value and execute the step itself and see if that works.

     

    If you still have the issue, please open a support case and I can do a WebEx.



  • 7.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Posted May 31, 2018 01:06 PM

    Thanks Prema

    After increasing the time in individual step , now its fine. But I am wondering why local.Properties are not effective

    lisa.http.timeout.connection=0
    lisa.http.timeout.socket=0



  • 8.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Broadcom Employee
    Posted May 31, 2018 01:42 PM

    lisa.http.timeout.connection is for the connection timeout and lisa.http.timeout.socket is for the socket wait time.

     

    To increase WebService Call Timeout, you need to  increase it in WebService Execution XML step-->Transaction tab.



  • 9.  Re: How to increase the Socket/Connection timeout of 'WebService Execution step'

    Posted May 31, 2018 04:32 PM

    Thanks Prema , that helps