Hi Frederic.

On 07/06/2018 15:29, Frederic Lecaille wrote:
On 06/07/2018 03:14 PM, Frederic Lecaille wrote:
Hi all,

We have recently worked in colloboration with Poul-Henning Kamp to use varnishtest regression testing (script driven) tool for Varnish HTTP Cache so that to modify it and make it capable of also test haproxy.

Note that here we are speaking about *regression* testing which has nothing to see with others classes of tests (unit, integration, performance etc). The aim of such tests is: to prevent old bugs from coming back!

A nice reference manual for varnishtest may be bound here:

https://varnish-cache.org/docs/6.0/reference/varnishtest.html

In a few words, varnishtest program is able to start HTTP clients and servers and put a varnish-cache processus (or several) in the middle to test it, making these clients and servers interact with each others. So, here we wanted to do the same thing for haproxy.

Of course, it will not always be possible to write a regression test script for each bug to come.

Please find attached to this mail a first patch to document how to use varnishtest regression testing tool with haproxy and help you to write regression test files.

We will have to discuss about how to organize the test files for these regressions tests.

A big thank you to Poul-Henning Kamp for having helped us during this interesting project.


Regards,

Fred.

Well... this is patch matching with the previous text file.

WOW ;-)

I hope you are planning to add this doc into the git-repo:/doc.

Fred

Regards
aleks

Reply via email to