[EMAIL PROTECTED] escribió:
On Sun, 27 Apr 2008, Baltasar Cevc wrote:

On Apr 26, 2008, at 7:19 PM, [EMAIL PROTECTED] wrote:
Can anyone recommend specific tools (or even algorithms or methodologies)
Recently, there was a mail that a module called Test::SMTP was released
on CPAN. Maybe that could be useful for you? I haven't had a deeper look
at it myself, though.

I'm Test::SMTP author. Test::SMTP will let you be sure that your SMTP transactions happen like you wanted them to. At certain loads, qp plugins may not be able to connect to a db, to another server, etc, and return temporary or permanent errors, being valid SMTP transactions, and giving you "false" results.

Write one Test::SMTP test for every type of SMTP transaction you want to simulate. Then try to wrap your tests with http://search.cpan.org/~dlux/Parallel-ForkManager-0.7.5/ForkManager.pm.

You will know if the individual tests went OK via their exit code.

I was about to take this approach for testing load on our servers, and releasing it as a module. Test::Parallel (or something like that). That module would act capturing all it's childs test outputs, summing the number of tests, and returning valid TAP output. I don't have a schedule for it, though, so, maybe you can have a go at it.

Jose Luis Martinez
[EMAIL PROTECTED]

Reply via email to