You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Robert Brueckmann <rb...@merlinsecurities.com> on 2008/10/30 20:33:21 UTC

https

Help!

 

I'm having a problem running my test plan when connecting to our public
website over https.  I manually created the test case and tested
successfully over our internal development server but as soon as I
change the HTTP Request Defaults configuration to point to our public
website and change the protocol to https, in the 'View Results Tree' the
call to the site is in red and the response data is simply:

 

java.net.SocketException: Unconnected sockets not implemented

          at javax.net.SocketFactory.createSocket(Unknown Source)

          at sun.net.www.protocol.https.HttpsClient.createSocket(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.<init>(Unknown
Source)

          at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)

          at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttp
Client(Unknown Source)

          at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

          at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Un
known Source)

          at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
Source)

          at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
ava:431)

          at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:1021)

          at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:1007)

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

          at java.lang.Thread.run(Unknown Source)

 

And the Sampler Result is:

 

Thread Name: Thread Group 1-1

Sample Start: 2008-10-30 15:12:37 EDT

Load time: 0

Latency: 0

Size in bytes: 1235

Sample Count: 1

Error Count: 1

Response code: Non HTTP response code: java.net.SocketException

Response message: Non HTTP response message: Unconnected sockets not
implemented

 

Response headers:

 

The URL I'm trying to connect to is available to everyone:
https://www.merlinpb.com <https://www.merlinpb.com/> .  After my dev
test continued to fail, I created a simple test case that is structured
like so and that results in the same as above:

 

Test Plan

          |-Thread Group (# of Threads: 1/Reamp Up Period: 1/Loop Count:
1)

                   |-HTTP Request Defaults (Server name:
www.merlinpb.com / Protocol: https)

                   |-HTTP Request (Path: /)

                   |-View Results Tree

 

That's it and I get the exceptions above.  I tried this with
mail.google.com, which I know also runs over HTTPS and that fails with
the same result as above also.  Am I missing something?  The
documentation about HTTPS is not really helpful.  The WIKI says, just
use an HTTP Request Sampler and change the protocol to https.  I can't
seem to find anything similar to this issue on the web or through google
so any help would be greatly appreciated.

 

Thanks,

 

rlb

 


 
--------------------------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.