Re: Trying to simulate browser behavior.
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-07-01 20:06:43
|
Hi Pranav, On Tue, Jul 1, 2008 at 10:55 PM, Pranav Desai <pra...@gm...> wrote: > Hello, > > I am trying to simulate a browser behavior for accessing a front page > (e.g. www.cnn.com). From traces I see that a few requests go over the > same TCP connections (persistence) and in general there are a few TCP > connections made for completely fetching the whole front page. Y can see also the behavior of major browsers like IE-6, IE-7, FF-2, FF-3 amd Safari-3.1 > > > I am trying to use FRESH_CONNECT to create another TCP connections. > What I was expecting was that all URLs before the FRESH_CONNECT tag > would go on the same connection and after the URL that has the > FRESH_CONNECT tag a new connection would start. So I was expecting to > see 2 GETs for the first TCP connection, 6 on the second TCP conn. and > the rest on the third one. Basically, I was thinking of the URL list > as sequential with conn. close in between. > > But that doesn't seem to be case. There are 3 TCP connections, but one > has most of the GETs and the other 2 have one req. each (for which the > tag is specified). > > So it seems like curl-loader loads all the URLS with it associated > tags and then access them randomly. Is that correct? If so, is there a > way to have a behavior similar to the one described above. > FRESH_CONNECT means that in the next cycle the connection should be closed and re-established. What is the behavior, that you see with major browsers mentioned? -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |