Mock RESTful API's, dynamically control their behaviour, use REST to control them, simulate error.