Current time: 12-14-2017, 08:34 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Page Test & initial connections
09-08-2012, 02:24 AM
Post: #1
Web Page Test & initial connections
Hi there, a question about the webpagetest results..

We’re getting inconsistent data from the same test scripts and code. One test shows a lot of initial connections, while the other show only few?

http://www.webpagetest.org/result/120907_ZD_5YZ/ (Only few initial connections)

http://www.webpagetest.org/result/120907_WS_5ZX/ (A lot of initial connections)

Is there any reason why the two tests are so different?


Many thanks!

Pete.
Find all posts by this user
Quote this message in a reply
09-08-2012, 02:31 AM
Post: #2
RE: Web Page Test & initial connections
If I had to guess I'd say the 5 second sleeps are probably right on the edge of your back-end keep-alive setting and it's just a timing thing (though odd that each one is individually so consistent).

If you switch from a logData 0/1 block to combineSteps and turn on tcpdump you'll be able to see if and when the server closes the connections.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-12-2012, 07:41 AM
Post: #3
RE: Web Page Test & initial connections
(09-08-2012 02:31 AM)pmeenan Wrote:  If I had to guess I'd say the 5 second sleeps are probably right on the edge of your back-end keep-alive setting and it's just a timing thing (though odd that each one is individually so consistent).

If you switch from a logData 0/1 block to combineSteps and turn on tcpdump you'll be able to see if and when the server closes the connections.

Should all the new connections show the connection being opened though (also the DNS lookup for the connections)?

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
09-13-2012, 01:13 AM
Post: #4
RE: Web Page Test & initial connections
DNS lookup will likely only happen once for the browser session. There is in-browser caching of DNS names. For any actual NEW connection then yes, you should see a socket connect time. Since this is a multiple-page navigation script, some of the requests can be sent on connections that were opened on one of the earlier pages in the test.

If you get rid of the logdata 0/1 and put a combineSteps at the top of the script you'll be able to see a connection view of the entire test.
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: 1 Guest(s)