You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by wenqatesh <we...@gmail.com> on 2009/03/06 18:15:24 UTC

How to use CACHE MANAGER

Hi all,
Could anyone tell me how to use http COOKIE AND http CACHE manager.

I have used CACHE manager in the thread group level and as a child to the
http request.i found that the second option(as a child to the http sample)
gives me very less response time.

if any one has any idea on why and how this happens,pls share with me.



-----
Thanks,
Venkadesh=)
-- 
View this message in context: http://www.nabble.com/How-to-use-CACHE-MANAGER-tp22376694p22376694.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to use CACHE MANAGER

Posted by sebb <se...@gmail.com>.
On 06/03/2009, wenqatesh <we...@gmail.com> wrote:
>
>  Hi all,
>  Could anyone tell me how to use http COOKIE AND http CACHE manager.

The Cookie Manager is used for Managing Cookies, see:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Cookie_Manager

Ditto Cache Manager:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Cache_Manager

>  I have used CACHE manager in the thread group level and as a child to the
>  http request.i found that the second option(as a child to the http sample)
>  gives me very less response time.

Is the Cache Manager added as a child of the thread group?

Are you sure this is repeatable (and not just a one-off occurrence)?

>  if any one has any idea on why and how this happens,pls share with me.
>

If the Cache Manager detects a match, it will add If-Last-Modified and
If-None-Match conditional headers to the request. This will speed up
the response if true, as the response will be much smaller.

I would expect the Cache Manager to have less effect when added as a
child of a single HTTP sampler, because it will only apply to that
sampler, whereas when added to the thread group it will apply to all
HTTP samplers, so should allow more cache hits to occur.

Use the Tree View Listener to check the responses.

>
>  -----
>  Thanks,
>  Venkadesh=)
>
> --
>  View this message in context: http://www.nabble.com/How-to-use-CACHE-MANAGER-tp22376694p22376694.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org