Service Virtualization

Is there any way that I can retrieve Request Attribute values in my Java Script step in VSM.

  • 1.  Is there any way that I can retrieve Request Attribute values in my Java Script step in VSM.

    Posted Jul 23, 2014 10:50 PM

    Is there any way that I can retrieve Attribute values in my Java Script step in VSM.

    Something similar to “ incomingRequest.getArguments().get(“accountNo”)”, but this works only in match script.

     

    I am trying to create Java Script step in VSM, through this step I want to read Operation name and Attributes of incoming request and response. I want to use these details for my further logic.