1. Home >
  2. Apps >
  3. Groups >

Getting Exception when i am trying to record an HTTPS application using JMeter tool

Question asked by rajesh4t in #Coffee Room on Mar 16, 2010
rajesh4t
rajesh4t · Mar 16, 2010
Rank E2 - BEGINNER
hello all,

i have following issues..
my aim is to record the following sequence of pages of an HTTPS application..which is ..
Main Page----> login page-->confirmation page--->data entry form---> search form.

now i have checked the "attempt https spoofing" check box found in the HTTP Proxy tab and i am sucessfully able to record the 1st page or main page of my application.

But when i am clicking the "login page button" which provides the form where user id,password will be eneterd..then i am getting following exception below...when i am clicking the "login page" then a new window is getting opened where i am getting this kind of exception and i am not able to record the pages further..
Also i have checked the "follow redirects" check box..but still i am getting exception..

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:828)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1116)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1143)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1127)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:423)
at sun.net.www.protocol.https.AbstractDelegate...t(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
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.proxy.Proxy.run(Proxy.java:195)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:352)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:809)
... 9 more
i have also added HTTP cookie manager,HTTP cache manager..

can anyone tell me how can i record HTTPS application in this case..i think thers an issue with page redirect as i am not able to record the pages which are getting redirected...

still suggest me whether i can record the page sequence with any other tool and then i can apply that to perform load test with JMeter??

kindly suggest me anything.. Posted in: #Coffee Room

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up