if (opts.isFlagSet('t') > 0) {
long startTime = System.currentTimeMillis();
for (int i = 0; i < 20; i++) {
port.ping(new org.apache.ws.axis.oasis.ping.TicketType("WSS4J"), text);
}
long endTime = System.currentTimeMillis();
System.out.println("Time used: " + (endTime - startTime) + "ms");