On Sat, 3 Sep 2005, Nicolas Harounen wrote:

In fact, my testing plans are very "poor" for the moment, it's only a
perl script, which works with the icap server from the i-cap forum (I
only found this.), and with the 2.5 version of squid patched with the
icap client.

It makes some requests and just make a diff with a result. I've just
finished the first version of the script, I have to write tests now.

I will modify it in order to use the squid3 branch now, and next, write
tests. I post on the mailing the work, when the modification for the
squid3 branch is done. (I think in 2 or 3 days max).

Thanks for the info! Your tests would be a good start. Hopefully, you can make them independent from Squid version and ICAP server software. In my experience, it helps to have some simple logic that replaces certain header values with placeholders to avoid version and similar dependencies (Server, Date, ISTag are likely candidates for such a replacement).

Dealing with Encapsulated value differences is much harder, unfortunately: Any HTTP header modification would cause that value to change. If you only compare HTTP responses, then Encapsulated values do not matter, of course.

Good luck,

Alex.

Reply via email to