AnsweredAssumed Answered

How to manage VSE requests

Question asked by kishore2310 on Jun 10, 2016
Latest reply on Jun 10, 2016 by Rick.Brown

I am using DevTest 8.0.1 to create my first Virtual service model. I was able to create a sample virtual service using request response xml pair and deploy it on the VSE. I am able to successfully hit this virtual service and get the expected response. However when I replace the real backend URL in our application with the virtual service one, it fails because the request being received by the VS contains the prefix 'xmlreqdoc=' to the xml as show below

 

The request VS is recieving -

 

xmlreqdoc=<?xml version="1.0" encoding="UTF-8"?>

<service>

.......

.......

</service>

 

The request VS is expecting -

 

<?xml version="1.0" encoding="UTF-8"?>

<service>

.......

.......

</service>

 

I tried using the 'Generic XML Payload parser' and 'Request Data Manager' as data protocols for request but couldn't get the required result.

 

Any suggestion on how this can be achieved?

 

Thank you.

Outcomes