On 15/05/06, Gaël LHEZ <[EMAIL PROTECTED]> wrote:
Hello

Still working on jmeter, I'm making a plugin which add up some new
functions, so that I can inject parameter in URL (such as foo.php?x=145).
Those parameters come from a database, and that's here my problem lies :

I'd like to set up an object that would listen for test start and test end
(equivalent of setUp() and tearDown() in Junit). After reading the source of
jMeter, I found the interface TestListener, and tried to implements it, but
it does nothing.

It does work.

What I'm looking for, is something that would warn me once that the test
started (and not one time per thread, etc).

The TestListener has the appropriate methods:
testStarted() and testStarted(host)

I suggest you look at some existing code that implements TestListener,
e.g. Summariser.

Thanks,
LHEZ Gael



Note: If someone have answers to this :
http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200605.mbox/aja
x/[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to