Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestReporter.java =================================================================== diff -u -r476ba7b30b8b86590ed6cb633222999fdb12b3c6 -r3b5329cc6c0b5ce4f52badee7c371eb317ac98ee --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestReporter.java (.../TestReporter.java) (revision 476ba7b30b8b86590ed6cb633222999fdb12b3c6) +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestReporter.java (.../TestReporter.java) (revision 3b5329cc6c0b5ce4f52badee7c371eb317ac98ee) @@ -241,16 +241,25 @@ context.put("time", new SimpleDateFormat("HH:mm:ss dd MMM yyyy").format(new Date())); long total = 0; long count = 0; + long joinLessonTotal = 0; + long joinLessonCount = 0; for (CallRecord r : callRecords) { if (r.getHttpStatusCode() != null && r.getHttpStatusCode().equals(new Integer("200"))) { total += r.getTimeInMillis(); count++; + // learning/learner.do?method=joinLesson + if (r.getCallee().indexOf("learner.do?method=joinLesson") > 0) { + joinLessonTotal += r.getTimeInMillis(); + joinLessonCount++; + } } } log.info("Total response time: "+total / 1000.0+" seconds"); log.info("Average response time: "+total / 1000.0 /count+" seconds"); + log.info("Average response time of joinLesson calls: "+joinLessonTotal / 1000.0 / joinLessonCount+" seconds"); context.put("totalResponseTime", total / 1000.0); context.put("averageResponseTime", total / 1000.0 / count); + context.put("joinLessonAverageResponseTime", joinLessonTotal / 1000.0 / joinLessonCount); } static String load() throws IOException { Index: TestHarness4LAMS2/template.html =================================================================== diff -u -r7727fe90dd7a4123f832d1189d12ad6a0972e5c4 -r3b5329cc6c0b5ce4f52badee7c371eb317ac98ee --- TestHarness4LAMS2/template.html (.../template.html) (revision 7727fe90dd7a4123f832d1189d12ad6a0972e5c4) +++ TestHarness4LAMS2/template.html (.../template.html) (revision 3b5329cc6c0b5ce4f52badee7c371eb317ac98ee) @@ -54,6 +54,7 @@
  • Total response time: ${totalResponseTime} seconds
  • Average response time: ${averageResponseTime} seconds +
  • learner.do?method=joinLesson average response time: ${joinLessonAverageResponseTime} seconds