How to save SoapUI load test statistics to MySQL tables

soapUI pro announcements and discussions

How to save SoapUI load test statistics to MySQL tables

Postby dhanses » 15 Jun 2012 21:50

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.
dhanses
User
 
Posts: 4
Joined: 12 Mar 2012 19:29

Re: How to save SoapUI load test statistics to MySQL tables

Postby SmartBear Support » 17 Jun 2012 07:42

Hi,

have a look at http://blog.smartbear.com/post/11-12-08 ... nnections/ - this shows you how to write each steps timings to a database during a LoadTest in soapUI.

Hope this helps!

regards,

/Ole
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: How to save SoapUI load test statistics to MySQL tables

Postby dhanses » 19 Jun 2012 19:56

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.
dhanses
User
 
Posts: 4
Joined: 12 Mar 2012 19:29

Re: How to save SoapUI load test statistics to MySQL tables

Postby SmartBear Support » 20 Jun 2012 08:21

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
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53


Return to soapUI Pro Support