Pregunta de entrevista de AppDynamics

How to mock requests and responses?