-
1. Re: performance test / load testing of fuse esb
davsclaus Jun 27, 2012 9:14 AM (in response to suryakant)A Camel route provides performance stats as JMX attributes. So you can see there how long time it takes to process a message etc.
The Fuse IDE product can connect to your running Camel application and show profiles of the Camel routes, and show each step in the routes and how much time they take. To give your an idea where the time is taken.
-
2. Re: performance test / load testing of fuse esb
suryakant Jun 27, 2012 9:55 AM (in response to davsclaus)I can see max time, min time, mean time in JMX console of each route. But this does not answers my problem. I want to create some performance report, there I need to provide the throughput(Request Per Second/Threads Per Second) of fuse bundle by Load Testing.
If I run 100 threads from JMeter, I can get the whole report in JMeter with throughput that include time taken by Camel Route + Camel Processors + Down stream Web Service. I don't want to include the downstream web service processing time in the overall report.
The above JMX view doesn't give me throughput (Request Per Second/Threads Per Second) of the whole load test.
Please suggest how can I achieve the above.
-
3. Re: performance test / load testing of fuse esb
davsclaus Jun 27, 2012 10:02 AM (in response to suryakant)There is JMX capable tooling that can interrogate the JMX stats and compute those stats such as requests/sec.
For example Fuse HQ can do that
http://fusesource.com/products/fuse-hq/
An alternative is to hook into the Camel event api, and do a bit coding yourself. There is an example here
http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html
There is an event for ExchangeCompletedEvent, you can use to get a callback every time a message is completed. There is the following events
There is also the log component, so you could add that to the end of your routes, and use the groupInterval option to log once per sec. Which should output number of messages processed within that period.