Pergunta de entrevista da empresa AppDynamics

How to mock requests and responses?