Service Virtualization

  • 1.  To Pass a value in the request to response

    Posted Apr 11, 2018 06:58 AM

    Hello All,

     

    I am using  CA LISA Devtest portal 10.2.4 for virtualizing services. Could you please guide me whether we can grab a value from request arguments and pass it in response .

     

    Please suggest me the viable method .

     

    Regards,

    Bindu.



  • 2.  Re: To Pass a value in the request to response
    Best Answer

    Posted Apr 16, 2018 06:17 AM

    Hi Bindu,

     

    If you have the arguments with same name and value in request and response, Devtest automatically identifies them as magic strings. If it doesn't you can make them as magic strings by enabling the magic string checkbox for a specific argument in request data section and using it as a property reference in response. For more info please refer to

    https://docops.ca.com/devtest-solutions/10-3/en/using/using-ca-service-virtualization/ca-service-virtualization-concepts/magic-strings-and-dates/magic-strings

     

    You may also create filters on the incoming request ( which is generally the Listen step response ) and use them as property references in the response.

     

    Thanks,

    Venkatesh