How do you test code that integrates with a third party HTTP service? The Philosophical Answer If you think about it, it is not an easy question to answer. Maybe you have already some strong opinions formed about it. But, in my experience, answers to this question differ greatly among developers, even between seasoned ones. I believe those differences are due to some preconceived ideas or different definitions about what testing is.