Service Virtualization

  • 1.  How to filter requests using some criteria while recording?

    Posted Feb 02, 2017 06:59 AM

    I have a requirement wherein 10 teams will be running tests from different machines. All the traffic will pass through the recorder before it hits the real service.

     

    My requirement is, how to capture the traffic for only one team filtering out others.

     

    I don't think I can set a filter in the recorder's interface.

     

    Can someone help?

     

    Regards

    Raj



  • 2.  Re: How to filter requests using some criteria while recording?
    Best Answer

    Posted Feb 02, 2017 10:37 AM

    Hi Raj,

     

    You can try the Request Data Manager data protocol in the request side to keep the transactions you want - The Request Data Manager DPH lets you alter VSE requests during recording - Request Data Manager Data Protocol - DevTest Solutions - 9.5 - CA Technologies Documentation.

    You can also try some customization using the Scriptable Data Protocol Handler, but I am not sure how far it will help with your requirement.

     

    Hope it helps.

    Heloisa.



  • 3.  Re: How to filter requests using some criteria while recording?

    Posted Feb 03, 2017 10:15 AM

    Hi Raj,

     

    Did Heloisa's recommendations answer your questions?

     

    Regards,

    Reid



  • 4.  Re: How to filter requests using some criteria while recording?

    Posted Feb 05, 2017 01:11 PM

    easiest option is , lets record everything later once vsi is created , delete transactions which you don't need.

     

    I dont know how you can do this using scriptable during recording.. but you can decide your traffic to live and virtual service using scriptable protocol after vsm created.



  • 5.  Re: How to filter requests using some criteria while recording?

    Posted Feb 07, 2017 09:20 AM

    Hi Raj,

    Did Heloisa's and Jagath's responses help you out?

    Regard,

    Reid