def METHOD_NAME(dut: Dut) -> None:
    # Get binary file
    binary_file = os.path.join(dut.app.binary_path, 'wss_server.bin')
    bin_size = os.path.getsize(binary_file)
    logging.info('https_wss_server_bin_size : {}KB'.format(bin_size // 1024))
    logging.info('Starting wss_server test app')
    logging.info('Waiting to connect with AP')
    if dut.app.sdkconfig.get('EXAMPLE_WIFI_SSID_PWD_FROM_STDIN') is True:
        dut.expect('Please input ssid password:')
        env_name = 'wifi_router'
        ap_ssid = get_env_config_variable(env_name, 'ap_ssid')
        ap_password = get_env_config_variable(env_name, 'ap_password')
        dut.write(f'{ap_ssid} {ap_password}')
    # Parse IP address of STA
    got_port = int(dut.expect(r'Server listening on port (\d+)', timeout=30)[1].decode())
    got_ip = dut.expect(r'IPv4 address: (\d+\.\d+\.\d+\.\d+)[^\d]', timeout=30)[1].decode()
    logging.info('Got IP   : {}'.format(got_ip))
    logging.info('Got Port : {}'.format(got_port))
    ca_file = os.path.join(os.path.dirname(__file__), 'main', 'certs', 'servercert.pem')
    # Start ws server test
    with WsClient(got_ip, int(got_port), ca_file) as ws:
        # Check for echo
        DATA = 'Espressif'
        dut.expect('performing session handshake')
        client_fd = int(dut.expect(r'New client connected (\d+)', timeout=30)[1].decode())
        ws.write(data=DATA, opcode=OPCODE_TEXT)
        dut.expect(r'Received packet with message: {}'.format(DATA))
        opcode, data = ws.read()
        data = data.decode('UTF-8')
        if data != DATA:
            raise RuntimeError(f'Failed to receive the correct echo response.')
        logging.info('Correct echo response obtained from the wss server')
        # Test for PING
        logging.info('Testing for send PING')
        ws.write(data=DATA, opcode=OPCODE_PING)
        dut.expect('Got a WS PING frame, Replying PONG')
        opcode, data = ws.read()
        data = data.decode('UTF-8')
        if data != DATA or opcode != OPCODE_PONG:
            raise RuntimeError('Failed to receive the PONG response')
        logging.info('Passed the test for PING')
        # Test for keepalive
        logging.info('Testing for keep alive (approx time = 20s)')
        start_time = time.time()
        while True:
            try:
                opcode, data = ws.read()
                if opcode == OPCODE_PING:
                    ws.write(data='Espressif', opcode=OPCODE_PONG)
                    logging.info('Received PING, replying PONG (to update the keepalive)')
                # Keep sending pong to update the keepalive in the server
                if (time.time() - start_time) > 20:
                    break
            except Exception:
                logging.info('Failed the test for keep alive,\nthe client got abruptly disconnected')
                raise
        # keepalive timeout is 10 seconds so do not respond for (10 + 1) senconds
        logging.info('Testing if client is disconnected if it does not respond for 10s i.e. keep_alive timeout (approx time = 11s)')
        try:
            dut.expect('Client not alive, closing fd {}'.format(client_fd), timeout=20)
            dut.expect('Client disconnected {}'.format(client_fd))
        except Exception:
            logging.info('ENV_ERROR:Failed the test for keep alive,\nthe connection was not closed after timeout')
        time.sleep(11)
        logging.info('Passed the test for keep alive')
    # Test keep alive and async response for multiple simultaneous client connections
    logging.info('Testing for multiple simultaneous client connections (approx time = 30s)')
    test_multiple_client_keep_alive_and_async_response(got_ip, int(got_port), ca_file)
    logging.info('Passed the test for multiple simultaneous client connections')