Integration tests are made easier when you use a mock server. There's a lot of mock servers available out there. I've stumbled upon MockWebServer recently and i'd say it's one of the simplest options. It doesn't have all the bells and whistles of other mock servers, but it's simple enough to be extended.
Read