Forum Discussion

Toby_Hage's avatar
Toby_Hage
Occasional Contributor
16 years ago

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

  • omatzura's avatar
    omatzura
    Super Contributor
    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