public void testQueue4()
public void testQueue4() throws PerfException
   public void testQueue4()   {      log.info("Running test Queue4");            try      {         SenderJob sender = createDefaultSenderJob(queueName);         sender.setNumMessages(numMessages);         sender.setMsgSize(standardMessageSize);         sender.setMf(new TextMessageMessageFactory());         sender.setTransacted(true);         sender.setTransactionSize(100);         sender.setDeliveryMode(DeliveryMode.PERSISTENT);                  JobResult res = runJob(sender);                  if (!checkResult(res, "Queue4"))         {            return;         }                  long result = res.endTime - res.startTime;                  Execution execution = createExecution("Queue4");                  execution.addMeasurement(new Measurement("msgsSentPerSec", 1000 * (double)numMessages / result));         pm.saveExecution(execution);                  log.info("Test Queue4 finished");      }      finally      {         drainQueue(queueName);      }   }