Can we merge two VS having different formats?The first VSI is abased on REST protocol and second on Json.Individually ,both are working fine but as a whole,JSON call fails after they are clubbed
You can add request or response data protocols handler (DPH) after the Virtual Service Model is created, but not after the VSM is deployed to the VSE.
To add a request DPH after the VS is created, you need to go the Listener step, select Filters, select the plus icon , select the Virtual Service Environment option and Data Protocol Filter. You will have access to all the DPHs available during the recording process.
When adding the DPH during the VS creation, you will be able to see the request information and edit accordingly, if needed. If you add the DPH after the VS is already created, you won't be able to see the request or response details.
Here's the catch when merging VSIs: Both *must* have been recorded using the exact same data protocol handlers. This is because the same handlers must be used for both recording and playback. I suspect this might be your issue. If not, please let me know and we can explore other things.
Thanks Mike.Yes,you are correct.I found a different wayout to merge them.I had to recreate a VS from rr pairs with all the request data protocol added.then I merged the second VSI.It worked. I was wondering if we could modify or atleast more request or response side data protocol after VS is deployed.
Thanks for the help.I was looking to add REST Data Protocol filer to an existing VSI which was created using .JSON filter.However,I was not able to find that in the filters available.My intention is to merge .JSON and REST VSI which are created indepenently
Retrieving data ...