JMeter Load Testing of Tomcat through Apache Proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all. I’m trying to load test a login page served by tomcat 6,
proxied through apache 2 with mod_proxy. I’m using JMeter 2.3.4 to
conduct the testing. My thread group consists of 500 sessions , and
the sample is a GET of a simple login page.

JMeter returns errors for a varying percentage of the samples. The
errors returned are generally the following:

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
com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source) at
sun.net.www.http.HttpClient.openServer(Unknown Source) at
sun.net.www.http.HttpClient.openServer(Unknown Source) at
sun.net.www.protocol.https.HttpsClient.(Unknown Source) at
sun.net.www.protocol.https.HttpsClient.New(Unknown Source) at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Unknown Source)

The issues I’m having are twofold. I’m having difficulty determining
if these errors are coming from JMeter or Tomcat, as they’re displayed
in the response window of JMeter. The developers think the error is
coming from JMeter given the last few lines of the trace above. Given
that I'm not a programmer I should probably take their word for it,
but why would JMeter show this error as the response?

Second, I've tried tweaking my process counts (startservers, maxspare,
etc...) with no change in the outcome. I can mitigate the issue by
pointing JMeter directly to tomcat, but I need this product to go
through our apache proxy for SSL.

Any help on this would be greatly appreciated.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux