Eviware Forum

soapUI => soapUI => Topic started by: Toby Hage on August 26, 2008, 12:05:00 pm



Title: logging LoadTest settings with listener
Post by: Toby Hage on August 26, 2008, 12:05:00 pm
Hello,

Is it possible to log some info about the loadtest. For example:

- Strategy
- Test Delay
- Limit

I want to log this information during execution of a loadtest. On this moment I have tried it via the LoadTestRunListener, but I think it is not possible. I'am right about this?

Suggestions for other possibilities to log this info are also welcome.


Title: Re: logging LoadTest settings with listener
Post by: omatzura on August 27, 2008, 08:22:15 pm
Hi!

you should be able to log some of this via a LoadTestRunListener, for example in the beforeLoadTest method:

log.info( "Strategy: " + loadTestRunner.loadTest.strategy.type )
log.info( "Limit: " + loadTestRunner.loadTest.testLimit )

the test delay is not currently available, but will be in the upcoming release with

log.info( "Test Delay: " + loadTestRunner.loadTest.strategy.testDelay )

Hope this helps!

regards,

/Ole
eviware.com