You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by FreshAir <li...@yahoo.com.cn> on 2008/07/15 11:26:46 UTC

Using benchmark to test servicemix?

Hi,
I have been trying to test servicemix3.2.1 using benchmark.jar(see the
article  http://wso2.org/library/1721 WSO2 ESB Performance Testing ) and I
made some use cases myself. 
As I increased the number of concurrent users requesting that url, I always
encountered the following exceptions:

java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at
org.apache.http.contrib.benchmark.BenchmarkWorker.run(BenchmarkWorker
.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)

I tried to modify conf files in servicemix which seemed to indicate maximal
connection number of jetty(http), but it continued to give the
exceptions.Even modifying xp's TCP/IP.SYS cannot work. And the final result
is some requests always failed.
Would someone please give a piece of advise?
Thank you in advance!

Best regards,
FreshAir
-- 
View this message in context: http://www.nabble.com/Using-benchmark-to-test-servicemix%EF%BC%9F-tp18461163p18461163.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.