emulating server errors

Following on from yesterday’s article. The point of writing our own XML API server was to test the API handling parts of our real system, and part of that testing needed to cover possible error conditions to make sure we recover from them correctly. So it would be useful if we could easily choose an […]