Service Virtualization

Expand all | Collapse all

Virtual Service Shuts Down itself

Jump to Best Answer
  • 1.  Virtual Service Shuts Down itself

    Posted 03-08-2018 11:25 AM

    Hi everyone,

     

    Here in the client we have some virtualized services that at the moment all are active and their mode of execution is "Live System".

     

    I have noticed that sometimes a certain service turns itself off.
    Looking at the portal we have a "Live Invocation" error: The live system did not send a response.

     

    Has anyone had this same behavior, the service itself off? Any tips or ways to troubleshoot the problem?
    Any configuration made in DevTest that can solve this type of behavior?

     

    Additionally, we have services with the error of "Live Invocation" but it does not disconnect (in this service we have more than 1000 counts). In the service that is turning itself off sometimes it falls in 100 counts or even 500 counts.
    Thanks
    João Paulo Ramos


  • 2.  Re: Virtual Service Shuts Down itself

    Posted 03-08-2018 11:43 AM

    Hi João,

     

    By default, a virtual service will shutdown after 5 errors.  You can disable this behavior by adding this line to local.properties:

     

    lisa.vse.max.hard.errors=-1

     

    --Mike



  • 3.  Re: Virtual Service Shuts Down itself

    Posted 03-08-2018 11:47 AM

    Also, this setting might fix your Live Invocation failure:

     

    lisa.vse.http.live.invocation.max.idle.socket=0

     

    --Mike



  • 4.  Re: Virtual Service Shuts Down itself

    Posted 03-08-2018 11:51 AM

    Thanks a lot Mike,

     

    Where exactly I need to set this parameters ?

    On the local.properties there is no reference on this.

    Also, I need to restart any service ? Wich one ?



  • 5.  Re: Virtual Service Shuts Down itself
    Best Answer

    Posted 03-08-2018 12:52 PM

    Here is documentation on the Live Invocation step (including the idle socket timeout):

     

    https://docops.ca.com/devtest-solutions/10-2/en/using/using-ca-service-virtualization/using-devtest-workstation-with-ca-service-virtualization/editing-a-vsm/virtual-http-s-live-invocation-step

     

    Here is further documentation on properties that may be set in local.properties (or site.properties) including the limit on hard errors:

     

    https://docops.ca.com/devtest-solutions/10-2/en/reference/property-descriptions/custom-property-files/local-properties-file

     

    For the two properties I mentioned, you can make the changes in local.properties and only need to restart VSE.

     

    --Mike



  • 6.  Re: Virtual Service Shuts Down itself

    Posted 03-08-2018 01:59 PM

    Thank you very much Mike,

     

    I will check the links and in case of any doubts, I'll reply this message again.

     

    João Paulo Ramos



  • 7.  Re: Virtual Service Shuts Down itself

    Posted 09-28-2018 07:15 PM

    Hi ramjo08 ,

    I would like to know how you fix your issue.

    I'm having the same problem when use the live system execution mode, the live system responds interleaved.

    1 response is ok but the next one shows an error "target server failed to respond".



  • 8.  Re: Virtual Service Shuts Down itself

    Posted 10-01-2018 08:13 AM

    Hi Luis,

     

    I did exactly what Mike suggested.
    I followed the documentation and added the parameters in the local.properties of the VSE.
    Now, for the error that you mention: "target server failed to respond", I did not receive this one, so I suggest changing the parameters and if you still have an error, contact support.

     

    Regards,

    João Paulo Ramos