// to reuse endpoint
Thread.currentThread().sleep(1000 * 30);
exceptionThrown = false;
se = getServerEndpoint();
try {
se.enumerateListenEndpoints(new NullCookieContext());
} catch (IllegalArgumentException e) {
exceptionThrown = true;
}
if (!exceptionThrown) {
throw new TestException("The ServerEndpoint"