Forum Discussion

DavidH's avatar
DavidH
New Contributor
14 years ago

How to save SoapUI load test statistics to MySQL tables

I would like to save my SoapUI based load test statistics into MySQL tables for reporting and analysis but am struggling to figure out how to do this. Is it possible to create a datasink for loadtest statistics? I have dabbled with Custom Event Handlers but haven't had much luck. I have used LoadUI and don't like it. Suggestions welcome.

3 Replies

  • DavidH's avatar
    DavidH
    New Contributor
    Thanks for that link. That is exactly the info I was looking for. However, I can't even get your example to work because the only LoadTestRunListener that actually seems to be functional for me is LoadTestRunListener.beforeLoadTest. I have added a simple log.info statement to each of the LoadTestRunListener event listeners to debug this and I only see a log entry for beforeLoadTest when I run my LoadTest. Is this a known bug?

    I am using SoapUI Pro 4.5 on Linux Mint 12 64bit.
  • Hi,

    the groovy script log is disabled by default when running LoadTests - there is an option in the Global Preferences UI Settings tab to enable it - can you check that this is set accordingly?

    thanks!

    /Ole
    SmartBear Software