Service Virtualization

  • 1.  Dynamic Routing on CA SV version 8

    Posted Dec 21, 2015 10:06 AM

    Hi,

     

    Is there any way that a virtual services behaves in the following manner:

     

    . If in the  request of the service there is a  parameter say Name which has a value p1,p2 etc its routed to LIVE  url say http://test1.com:8004 AND

    If in the  request of the service there is a  parameter say Name which has any other value  its routed to another different  LIVE url say http://test2.com:8004 (i.e a different url )

     

    I do understand that Dynamic routing will have to be applied here. But if someone can help me providing a specific solution to this,

     

    Regards

    Asad



  • 2.  Re: Dynamic Routing on CA SV version 8

    Broadcom Employee
    Posted Dec 21, 2015 12:15 PM

    Asad,  this involves customization to your VSM. You could add a ' scripted assertion'  in your VSM to check for those values p1, p2...  in the request ,  if true  then go to live system 1 and if not  live system 2.



  • 3.  Re: Dynamic Routing on CA SV version 8

    Posted Dec 24, 2015 09:50 AM

    Hi Asad,

     

    You can take a look at below sample project shared by amfamJeff .

    It will give you some idea on dynamic routing. sampleProject.zip

     

    Happy Holidays.