I ran the same Jmeter script one on Windows 2000 and Red hat Enterprise Linux ES 
Release 3.

On Windows it ran successfully but failed on Linux.

I use jdk 1.4.2_02 on both boxes and the script test a web site using HTTPS.

The web application is running on a testing linux box. (The linux box I mentioned 
above).

When I looked at the result in response data tab of 'View Results Tree' listener,

it showed the following on linux box. 

java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(DashoA6275)

at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA6275)

at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)

at sun.net.www.protocol.https.HttpsClient.<init>(DashoA6275)

at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)

at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)

at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)

at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainConnect(DashoA6275)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)

at 
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.connect(DashoA6275)

at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:467)

at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:585)

at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:573)

at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)

at java.lang.Thread.run(Thread.java:534)

In request tab of the same 'View Results Tree) listner, it showed 

null https://192.168.0.16:443/

https://192.168.0.16:443/

If I test the same box by entering 'www.amazon.com' in Server name, it runs 
successfully.

Any idea?...

Thanks in advance.

-sp


                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Reply via email to