cancel
Showing results for 
Search instead for 
Did you mean: 

logging LoadTest settings with listener

Occasional Contributor

logging LoadTest settings with listener

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.
1 REPLY 1
Super Contributor

Re: logging LoadTest settings with listener

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
New Here?
Join us and watch the welcome video:
Announcements