Current time: 05-25-2019, 06:53 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display Date and Time of Test Result Section
02-03-2011, 10:21 PM (This post was last modified: 02-03-2011 10:23 PM by spanishgringo.)
Post: #1
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.

   
Find all posts by this user
Quote this message in a reply
02-09-2011, 05:33 PM
Post: #2
RE: Display Date and Time of Test Result Section
I also like this idea... would be very helpful

Billy V.
Senior Systems Engineer
NetDNA.com / MaxCDN.com / HDDN.com
Support Phone: 877.5NETDNA ext. 2
Support E-Mail: support@netdna.com
Find all posts by this user
Quote this message in a reply
03-19-2011, 03:27 AM
Post: #3
RE: Display Date and Time of Test Result Section
Ok, I've never been good at resisting peer pressure ;-)

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.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-20-2011, 03:41 PM
Post: #4
RE: Display Date and Time of Test Result Section
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.
Find all posts by this user
Quote this message in a reply
03-21-2011, 10:58 PM
Post: #5
RE: Display Date and Time of Test Result Section
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.

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)