def validate_server_off():
with open(os.path.join(perf.LOGS_DIRECTORY, "<STR_LIT>")) as output:<EOL><INDENT>read_data = output.read()<EOL>assert "<STR_LIT>" in read_data, "<STR_LIT>"<EOL>assert "<STR_LIT>" in read_data, "<STR_LIT>"<EOL><DEDENT>
Verify that the default error message and a connection refused error message was logged