DevTest VirtualService is not responding live call

Document ID : KB000094952
Last Modified Date : 08/05/2018
Show Technical Document Details
Issue:
One of the Virtual service we deployed is sending only mock data and its not returning the live responses.
The back end live system is throwing Null pointer exception. 
Environment:
All supported DevTest environments
Cause:
This is a limitation with DPH's that changes request body if the Live system is expecting the original version of the request.  You need the DPH-modified version of a request for doing model healing, stand-in mode, failover mode, dynamic execution mode, etc. But you still need the original version of request for forwarding to the live service.
So to bypass this , the only thing you can do is to have two versions of the VSM, one with the DPH and one without it. 
 
Resolution:
Steps to Follow:
********************
Create two VSM's , 
1. One with DPH  to parse the request body
2. One without DPH, so you can send the request to the live system in its original form.