Service Virtualization

  • 1.  Get the whole Request XML in variable

    Posted Feb 08, 2017 04:26 AM

    Hi All,

     

    I need to get the complete request xml in a variable and then I need to debug the request and then build the response xml based on the request in match script.

     

    Have tried String[] incomingValue = incomingRequest.getArguments(); 

     

    This is not working. Can I get some help.

     

    Thanks in advance.

     

    Regards,
    Mohan



  • 2.  Re: Get the whole Request XML in variable
    Best Answer

    Posted Feb 08, 2017 07:28 AM

    Hi All,

     

    I added a filter in the https listener step to store the request xml in a varialble. It is working.

     

    Thanks & Regards,

    Mohan