a simulator used to simulate http context during integration testing