Service Virtualization

REST Service Virtualization- Getting Request arguments

  • 1.  REST Service Virtualization- Getting Request arguments

    Posted 07-24-2015 02:37 AM

    Hi, i have been working on REST virtualization and came across a GET call in which i am unable to get the request arguments as desired. Please see the below example for better understanding:

     

    Case: Suppose there is a GET REST call to the URL : "https://localhost:2001/itko/getStatusByID/12345663" and in response we get a JSON response showing status of the ID : 12345663

    Problem: When i record it, i was able to get the transaction and corresponding response. I got "GET /itko/getStatusByID/12345663" as an operation name in vsi. But i wanted to know how to get this string 12345663 as a request argument because that will be different for each and every request that will be hitting LISA service. Please let me know if there is any way to move the ID from operation name to request arguments so that i can manipulate responses according to that.