Mercurial > stress-tester
changeset 545:17a5815215fd
reporter - time diff
author | Devel 1 |
---|---|
date | Thu, 14 Sep 2017 10:14:20 +0200 |
parents | 3a7100c0273b |
children | 0ac2d45a0dd8 |
files | stress-tester-reporter/src/main/java/com/passus/st/reporter/server/ReporterImpl.java |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester-reporter/src/main/java/com/passus/st/reporter/server/ReporterImpl.java Wed Sep 13 15:46:35 2017 +0200 +++ b/stress-tester-reporter/src/main/java/com/passus/st/reporter/server/ReporterImpl.java Thu Sep 14 10:14:20 2017 +0200 @@ -104,6 +104,13 @@ respFile.flush(); } + long timeStart = Long.parseLong(getValue(fields, "timeStart")); + long timeStop = Long.parseLong(getValue(fields, "timeStop")); + long timeDiff = timeStop - timeStart; + if (timeDiff > 1000) { + System.out.println("DIFF: " + code + " " + timeDiff + " " + builder.toString()); + } + if (verbose) { System.out.println(fields.getClass()); for (Map.Entry<CharSequence, Object> e : fields.entrySet()) {