Interface to set the server for testing