I should stop jinxing myself. I added code to statisfy the user story: "As a user when I GET or POST I want the result printed to stdout". As it only states to print the result, I print the status code. A 'result' is highly dependable on the situation. For a GET it could be a webpage, for a post it would be whether it succeeded or not. Anyways.. I didn't want to print a webpage printed for every automated test.