diff --git a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java index ac48228b8..7632b191d 100644 --- a/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java +++ b/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/special/TxTester.java @@ -188,6 +188,7 @@ public class TxTester { if (output != null) { output.add(outputT); } + long start = System.currentTimeMillis(); Parameters profile = loadProfile(test); outputT.add("name", test.asString("name")); if (Utilities.noString(filter) || filter.equals("*") || test.asString("name").contains(filter)) { @@ -220,7 +221,7 @@ public class TxTester { throw new Exception("Unknown Operation "+test.asString("operation")); } - System.out.println(msg == null ? "Pass" : "Fail"); + System.out.println((msg == null ? "Pass" : "Fail") + " ("+Utilities.describeDuration(System.currentTimeMillis() - start)+")"); if (msg != null) { System.out.println(" "+msg); error = msg;