A second question along the lines of the one below.  Is there a way to
easily simulate cached behavior in a browser?  If you check the box at
the bottom of the http sampler, it appears that all embedded objects
will be retrieved every time the sampler executes.  In a real world
case, many (but probably not all) of the embedded content objects will
be cacheable.  What would be ideal, would be to force the sampler to
fetch the cacheable content on the first pass, but not on successive
passes.   Is there any way to simulate this other than to identify the
non-cacheable items and include them explicitly in their own samplers?
If this technique is used, then how would you combine the response times
for the content items with the response time for the html page to get an
overall response time?  

-----Original Message-----
From: Christensen, Alan 
Sent: Wednesday, December 06, 2006 2:40 PM
To: JMeter Users List
Subject: Simulating real browser behavior

I have used Jmeter in the past to simply download html pages.  I have
never dealt with the problem of downloading embedded content.  I know
that the http sampler will allow me to force the download of embedded
content by checking a box at the bottom.  However, this does not result
in behavior that is similar to the way that browsers work.  In
particular, Jmeter appears to request these items one at a time in
serial fashion.  This is not the way that browsers work.  Browsers often
request many content items in parallel.  The number of parallel
retrievals is dependent upon the browser settings and where the content
items are located.  Is there a way for Jmeter to work similarly, or does
its structure require it to request items one at a time?  If there is a
mechanism to do this, does it preserve the ability to measure the
performance of the entire transaction, i.e., from the first request to
the final piece of embedded content arriving back at Jmeter?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to