AppDynamics Interview Question

How to mock requests and responses?