Try to avoid adding System.out outputs, remote this commented code, and properly check the recorded request fields match the expected ones for the request.
Also take care to shutdown the server in a `finally` block.