Service Virtualization

 View Only
  • 1.  How to use Apply rate limit assertion set option in VSM

    Posted Jun 11, 2019 10:54 AM
    Hi,

    We have requirement that stub should accept only limited transactions per second. If TPS exceeds the configured value it should throw an error.

    From the below link, we found that it is possible to achieve the above requirement, but we couldn't find Apply rate limit assertion in VSM. If anyone tried this please let us know if we need to add any jar or someone please illustrate with screenshots.

    https://docops.ca.com/ca-api-gateway/9-3/en/policy-assertions/assertion-palette/service-availability-assertions/apply-rate-limit-assertion/

    Thanks,
    Priya.


  • 2.  RE: How to use Apply rate limit assertion set option in VSM

    Broadcom Employee
    Posted Jun 11, 2019 10:59 AM
    HI Priya
               Just wanted to double check, the doc shared was from Broacaom API Gateway product. Are you using the API gateway along with Devtest ?

    ------------------------------
    Sankar Natarajan
    Service Virtualization Product Engineering Team
    Broadcom
    ------------------------------



  • 3.  RE: How to use Apply rate limit assertion set option in VSM

    Posted Jun 14, 2019 04:49 AM
    Hi Sankar,
    We are not using API gateway along with Devtest. Our requirement is to limit TPS. We just found the above document which seems to be similar to our requirement. -Please let us know the steps if we can achieve this without using API gateway.

    Thanks,
    Priya


  • 4.  RE: How to use Apply rate limit assertion set option in VSM
    Best Answer

    Broadcom Employee
    Posted Jun 21, 2019 06:03 AM
    Edited by Christopher Hackett Jun 24, 2019 06:48 PM
    Hi Priya,

    I had a similar requirement for a customer but couldn't find anything other than the 'Think-Time' and 'Think Scale' setting.
    But this should normally do the trick. Here's a DocOps link for more details on Think-Time and alternative units you can use:
    https://docops.ca.com/devtest-solutions/10-5/en/using/using-service-virtualization/using-devtest-portal-with-service-virtualization/edit-virtual-services/update-a-virtual-service-manually/update-responses

    Other than that, if your customer is using VSE for Performance, you could then additionally tweak the 'Concurrent Capacity' setting. More details here: https://docops.ca.com/devtest-solutions/10-5/en/using/using-service-virtualization/using-devtest-portal-with-service-virtualization/deploy-virtual-services

    Regards,
    /arif