You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/12/14 01:27:48 UTC
DO NOT REPLY [Bug 25505] New: -
First HTTP sampling fails with "HTTPS hostname wrong: should be "
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25505
First HTTP sampling fails with "HTTPS hostname wrong: should be <localhost>"
Summary: First HTTP sampling fails with "HTTPS hostname wrong:
should be <localhost>"
Product: JMeter
Version: Nightly (Please specify date)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: jsalvata@atg.com
On (at least) JDK 1.4.0 and 1.4.2_02, both on current CVS and 1.9.1, the first
HTTPS sample run after starting JMeter always fails. Subsequent samples work
properly.
[Workaround: create a stupid sample at the very beginning of your test]
Errors thrown:
ERROR - jmeter.util: Couldn't load keystore java.lang.Exception: No key found
at
org.apache.jmeter.util.keystore.DefaultKeyStore.load(DefaultKeyStore.java:109)
at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:210)
at org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:208)
at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:136)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:318)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:584)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:953)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:445)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:277)
at java.lang.Thread.run(Thread.java:534)
and later:
WARN - jmeter.protocol.http.sampler.HTTPSampler: HTTPS hostname wrong: should
be <localhost> java.io.IOException: HTTPS hostname wrong: should be <localhost>
at sun.net.www.protocol.https.HttpsClient.b(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(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.connect(HTTPSampler.java:889)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:961)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:445)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:277)
at java.lang.Thread.run(Thread.java:534)
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org