http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour regards deepak
On Mon, Oct 19, 2009 at 5:47 PM, eflat <[email protected]> wrote: > > Good catch - it should be 8443. So on the jmeter "HTTP Request" sampler I > filled in the the port field. Now I'm getting back a response. [Hooray!] > Just the wrong response. [Boo!] > > The response looks how it looks when you plain navigate to the page, > instead > of when you submit the page (it's a login page) without entering a username > or password...so doesn't seem to be "really" posting though the request > shows the post data. I assume I have something in the sampler wrong, but > not > sure what yet... > > > > Milamber-3 wrote: > > > > Hello, > > > > Your URL is strange : > > https://127.0.0.1:8080/xxxxx > > > > The port 8080 is often use for HTTP (without S) > > but you use "https://" before... > > > > Are you sure that you use a SSL connector in your application server > > (tomcat ? if yes, check your server.xml) > > > > Traditionnaly with tomcat, for https access, the port 8443 is used. (in > > server.xml, you will find some ssl config to the 8443 connector): > > and the URL will be: https://127.0.0.1:8443/xxxx > > > > Milamber > > > > Le 19/10/2009 22:52, eflat a ecrit : > >> Thanks - Site is fine in my browser. And it's running locally so it is a > >> self-signed cert. > >> > >> >From the "Sampler result" tab: > >> ----------------------------------- > >> Thread Name: Thread Group 1-1 > >> Sample Start: 2009-10-19 15:43:43 PDT > >> Load time: 28367 > >> Latency: 0 > >> Size in bytes: 1267 > >> Sample Count: 1 > >> Error Count: 1 > >> Response code: Non HTTP response code: > >> javax.net.ssl.SSLHandshakeException > >> Response message: Non HTTP response message: Remote host closed > >> connection > >> during handshake > >> > >> Response headers: > >> > >> > >> HTTPSampleResult fields: > >> ContentType: > >> DataEncoding: ISO-8859-1 > >> ----------------------------------- > >> > >> and from the "Request" tab: > >> ----------------------------------- > >> POST https://127.0.0.1:8080/subscr/login.555 > >> > >> POST data: > >> > >> > >> Cookie Data: > >> JSESSIONID=199E21DD7A9B7E8D7CBE173BFC10CBB9 > >> > >> Request Headers: > >> Connection: keep-alive > >> Content-Length: 158 > >> Content-Type: application/x-www-form-urlencoded > >> ----------------------------------- > >> > >> And from the "Response data" tab: > >> ----------------------------------- > >> javax.net.ssl.SSLHandshakeException: Remote host closed connection > during > >> handshake > >> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown > Source) > >> at > >> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown > >> Source) > >> at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown > >> Source) > >> at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown > >> Source) > >> at sun.net.www.protocol.https.HttpsClient.afterConnect(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) > >> Caused by: java.io.EOFException: SSL peer shut down incorrectly > >> at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source) > >> ... 13 more > >> ----------------------------------- > >> > >> > >> > >> Deepak Shetty wrote: > >> > >>> whats the exact exception? > >>> If you access the site in your browser , do you get any errors? who has > >>> issued the server certificate? is it self signed? > >>> > >>> > >>> > >>> On Mon, Oct 19, 2009 at 2:42 PM, eflat <[email protected]> > wrote: > >>> > >>> > >>>> I getting a javax.net.ssl.SSLHandshakeException from an https form. > >>>> I've > >>>> searched around and found threads saying that using java 1.5 would fix > >>>> this, > >>>> but it hasn't for me. I'm using jmeter 2.3.4 on XP. Any suggestions?? > >>>> > >>>> This is a bit from my log file... > >>>> 2009/10/19 14:23:31 INFO - jmeter.util.JMeterUtils: Setting Locale to > >>>> en_US > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Loading user properties > >>>> from: > >>>> C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\user.properties > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Loading system properties > >>>> from: > >>>> C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\system.properties > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Copyright (c) 1998-2009 The > >>>> Apache Software Foundation > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Version 2.3.4 r785646 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: java.version=1.5.0_09 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: java.vm.name=Java > >>>> HotSpot(TM) > >>>> Client VM > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: os.name=Windows XP > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: os.arch=x86 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: os.version=5.1 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: file.encoding=Cp1252 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Default Locale=English > >>>> (United > >>>> States) > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: JMeter Locale=English > >>>> (United > >>>> States) > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: > >>>> JMeterHome=C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: user.dir > >>>> =C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: PWD > >>>> =C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: IP: 192.168.1.100 Name: > >>>> TCX-HP > >>>> FullName: 192.168.1.100 > >>>> 2009/10/19 14:23:31 INFO - jmeter.JMeter: Loaded icon properties from > >>>> org/apache/jmeter/images/icon.properties > >>>> 2009/10/19 14:23:33 INFO - jmeter.engine.util.CompoundVariable: Note: > >>>> Function class names must contain the string: '.functions.' > >>>> 2009/10/19 14:23:33 INFO - jmeter.engine.util.CompoundVariable: Note: > >>>> Function class names must not contain the string: '.gui.' > >>>> 2009/10/19 14:23:33 INFO - jmeter.util.BSFTestElement: Registering > >>>> JMeter > >>>> version of JavaScript engine as work-round for BSF-22 > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Cannot find .className property for htmlParser, using default > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Parser for text/html is > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Parser for application/xhtml+xml is > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Parser for application/xml is > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Parser for text/xml is > >>>> 2009/10/19 14:23:34 INFO - > >>>> jmeter.protocol.http.sampler.HTTPSamplerBase: > >>>> Parser for text/vnd.wap.wml is > >>>> org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > >>>> 2009/10/19 14:23:34 INFO - jmeter.gui.util.MenuFactory: Skipping > >>>> org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > >>>> 2009/10/19 14:23:34 INFO - jmeter.gui.util.MenuFactory: Skipping > >>>> org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui > >>>> 2009/10/19 14:23:34 INFO - jmeter.protocol.http.sampler.HTTPSampler: > >>>> Maximum connection retries = 10 > >>>> 2009/10/19 14:23:34 INFO - jmeter.protocol.http.sampler.HTTPSampler: > >>>> Connection and read timeouts are available on this JVM > >>>> 2009/10/19 14:23:35 WARN - jmeter.gui.util.MenuFactory: Missing jar? > >>>> Could > >>>> not create org.apache.jmeter.visualizers.MailerVisualizer. > >>>> java.lang.NoClassDefFoundError: javax/mail/MessagingException > >>>> 2009/10/19 14:23:35 INFO - jmeter.samplers.SampleResult: Note: Sample > >>>> TimeStamps are START times > >>>> 2009/10/19 14:23:35 INFO - jmeter.samplers.SampleResult: > >>>> sampleresult.default.encoding is set to ISO-8859-1 > >>>> > >>>> -- > >>>> View this message in context: > >>>> > http://www.nabble.com/jmeter-2.3.4-SSLHandshakeException-with-java-1.5-tp25966195p25966195.html > >>>> Sent from the JMeter - User mailing list archive at Nabble.com. > >>>> > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [email protected] > >>>> For additional commands, e-mail: [email protected] > >>>> > >>>> > >>>> > >>> > >> > >> > > > > > > > > -- > View this message in context: > http://www.nabble.com/jmeter-2.3.4-SSLHandshakeException-with-java-1.5-tp25966195p25967885.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

