Display Date and Time of Test Result Section

You should include the Date and Time of the test in the Test Result Section just below the name of the URL (just above or below the FROM tag). Now I only see this info in the Test History section or if I download a har file. This helps me do comparisons and keep better track of identifying which test is from before a change and which is from after.


I also like this idea… would be very helpful

Ok, I’ve never been good at resisting peer pressure :wink:

I just spent some time working on the dates and I think I have things in pretty good shape (or at least as good as they are going to get). Support for Time Zones, locales, etc SUCKS on the web so there are a couple of caveats and there might be a little strange behavior but for the most part it should just work.

  • All of the test results pages now include location, url, date and time in the title strings
  • The header section now includes the test date/time right beneath the URL that was tested
  • The test log dates and times should now be in your local time zone

The gotchas:

  • Your time zone offset is only available to Javascript so I have to set it in a cookie (which means for it to work correctly you need to have javascript running and allow for the cookies). Not a big deal but something to be aware of.

  • Since the only thing that is available to me is your offset from GMT at the time that you visit the page, it’s possible that the times will be off by an hour from when the test actually ran if you are lucky enough to be in a part of the world that changes their clocks for daylight savings.

  • I have some Javascript code that displays the date/time in the test header area that DOES properly deal with Daylight savings time as it was for the date being represented - which leads to the fun possibility that the time displayed on the page and the time in the page title could be off from each other by an hour.

  • Most of the date formats are set by parsing your accept-languages header from your browser to try to present the dates in a format that you would expect to see. I can’t guarantee that this will always work and you may end up with the standard (US) locale display.

These are great changes, Patrick! I was about to ask for the same last week and hadn’t gotten to it.

One small bug though. It seems that if I run a test A, the test results page is correct. If I then click “re-run test” and call that test B, the new test results page for B shows the time stamp from test A.

Thanks for pointing that out, just fixed it. There was a bug in the resubmit where it would keep the timestamps from the original test.