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

rajesh4t

rajesh4t

@rajesh4t-3nilLG Oct 21, 2024
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.#-Link-Snipped-#)
at sun.net.#-Link-Snipped-#)
at sun.net.#-Link-Snipped-#)
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..

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform