[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] httpClient implemented // 304 cache handling?
From:       Philip Aston <philip.aston () oracle ! com>
Date:       2008-11-11 19:20:08
Message-ID: 4919DAE8.9050803 () oracle ! com
[Download RAW message or body]

Serra, Guido, VF-Group wrote:
> First question, the httpClient implemented is the one from the Apache
> Foundation?
> http://hc.apache.org/httpclient-3.x
>
> Or a different one?
>   

A different one.

http://grinder.sourceforge.net/license.html#HTTPClient

> How does it handle the cache 304 response from the webserver?
> If it gets a 304 it keeps requesting the resource or it stops?
> Does it need a folder to store data into, in order to check if the file
> has already been retrieved?
>   

It doesn't do anything special. The behaviour of the server is
determined by the HTTP headers sent by The Grinder. Scripts recorded by
the TCP Proxy simply record whatever the browser sends, and resends
that. Because of this, you might decide to clean out the browser cache
before recording your script. Also, see
file:///home/philipa/workspaces/eclipse-3.3.2/grinder-docs/docs/faq.html#http-caching

- Phil


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic