public void setUp() throws ConnectionException, ConfigurationException {
log.info("TestTPConnect::setUp");
server.serverinit();
server.tpadvertiseTestTPConnect();
ConnectionFactory connectionFactory = ConnectionFactory
.getConnectionFactory();
connection = connectionFactory.getConnection();
byte[] message = "connect".getBytes();
sendlen = message.length + 1;
sendbuf = (X_OCTET) connection.tpalloc("X_OCTET", null, sendlen);
sendbuf.setByteArray(message);