Service Virtualization

 View Only
  • 1.  Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Posted Nov 12, 2019 10:54 AM
    Hi Team,

    Is there any way after restarting of VSE and redeployment of VSM All counts are disappear, instead of can we get the previous counts also after redeployment of VSM and Restart of VSE.


  • 2.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Posted Nov 12, 2019 12:43 PM

    Hi,

     

    I don't think so. The counter is set at zero when things get (re)deployed and/or (re)started. I think that you can retrieve the counters from the database via the API; but not 100% sure; someone would need to confirm that.

     

    Cheers,

    Danny

     

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 3.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts
    Best Answer

    Posted Nov 12, 2019 09:08 PM
    Hi Team, We can do a query to DevTest DB
    Select * from DevTest.VSE_METRICS_TXN_COUNTS

    OR

    Select * from DevTest.VSE_METRICS_TXN_COUNTS where VS_NAME = 'VSEName'

    (monthly transaction count)

    Thanks & Best Regards,
    Rohit Sawant


  • 4.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Posted Nov 12, 2019 11:43 PM
    Thank you Rohit...


  • 5.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Posted Nov 12, 2019 11:40 PM
    Thank you Danny


  • 6.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Broadcom Employee
    Posted Nov 13, 2019 04:33 AM

    Rohit has already responded to your question. So yes even though the txn count is reset on the VSE display it is still stored in the database. 


    BTW what version are you on?

    For 10.5 onwards (patch), we have a way to even get the transaction counts on VSE(s) that we're shutdown and no longer being used. This is to assist our customers who are using VSEs in a CI/CD pipeline where VSEs come up and used and then teared down.

    hope this helps.  



    ------------------------------
    Head of Product Management: Service Virtualization
    CA Technologies - A Broadcom Company
    ------------------------------



  • 7.  RE: Any API for transaction hit counts against the virtual service even after the VSE Restarts

    Posted Nov 13, 2019 04:48 AM
    Thanks for the information Warty, We are using 10.3 as of now.