public void testQueue8()
public void testQueue8() throws PerfException
   public void testQueue8()   {      log.info("Running test Queue8");            SenderJob sender = createDefaultSenderJob(queueName);      sender.setNumMessages(numMessages);      sender.setMsgSize(standardMessageSize);      sender.setMf(new TextMessageMessageFactory());      sender.setTransacted(true);      sender.setTransactionSize(100);      sender.setDeliveryMode(DeliveryMode.PERSISTENT);      sender.setSlaveURL(slaveURLs[0]);            ReceiverJob receiver = createDefaultReceiverJob(queueName);            receiver.setAckMode(Session.AUTO_ACKNOWLEDGE);      receiver.setTransacted(true);      receiver.setTransactionSize(100);      receiver.setNumMessages(numMessages);      receiver.setSlaveURL(slaveURLs[1]);            JobResult[] results = runJobs(new Job[] {sender, receiver});            if (!checkResults(results, "Queue8"))      {         return;      }            long totalTimeTaken = results[1].endTime - results[0].startTime;            Execution execution = createExecution("Queue8");            execution.addMeasurement(new Measurement("throughput", 1000 * (double)numMessages / totalTimeTaken));      pm.saveExecution(execution);            log.info("Test Queue8 finished");   }