Error occurring as - Response code: Non HTTP response code: javax.net.ssl.SSLException and Response message: Non HTTP response message: Connection reset
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### Expected behavior
Expecting that the readings must be provided irrelevant of the response time.
### Actual behavior
Threads are running successfully when the Time duration is not crosses 5 minutes.
If Loading time or Response time crosses 5 minutes, getting the following exception:
- Response code: Non HTTP response code: javax.net.ssl.SSLException
- Response message: Non HTTP response message: Connection reset
and Logs are as follows:
2024-09-12 14:38:35,242 INFO o.a.j.JMeter: Version 5.6.3
2024-09-12 14:38:35,242 INFO o.a.j.JMeter: java.version=1.8.0_392
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: os.name=Windows 10
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: os.arch=amd64
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: os.version=10.0
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: file.encoding=Cp1252
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: java.awt.headless=null
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: Max memory =4294967296
2024-09-12 14:38:35,243 INFO o.a.j.JMeter: Available Processors =8
2024-09-12 14:38:35,248 INFO o.a.j.JMeter: Default Locale=English (EN)
2024-09-12 14:38:35,248 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2024-09-12 14:38:35,248 INFO o.a.j.JMeter: JMeterHome=C:\apache-jmeter-5.6.3
2024-09-12 14:38:35,248 INFO o.a.j.JMeter: user.dir =C:\apache-jmeter-5.6.3\bin
2024-09-12 14:38:35,248 INFO o.a.j.JMeter: PWD =C:\apache-jmeter-5.6.3\bin
2024-09-12 14:38:35,249 INFO o.a.j.JMeter: IP: 10.235.59.154 Name: INBLRWIT2GWWDB3 FullName: INBLRWIT2GWWDB3.vcn.ds.volvo.net
2024-09-12 14:38:35,269 INFO o.a.j.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2024-09-12 14:38:35,501 INFO o.a.j.JMeterGuiLauncher: Setting LAF to: laf:com.sun.java.swing.plaf.windows.WindowsLookAndFeel
2024-09-12 14:38:42,932 INFO o.a.j.s.FileServer: Default base='C:\apache-jmeter-5.6.3\bin'
2024-09-12 14:38:42,935 INFO o.a.j.g.a.Load: Loading file: C:\SHB_Performance_TestCases\I2P_Share.jmx
2024-09-12 14:38:42,936 INFO o.a.j.s.FileServer: Set new base='C:\SHB_Performance_TestCases'
2024-09-12 14:38:43,043 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2024-09-12 14:38:43,067 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2024-09-12 14:38:43,068 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2024-09-12 14:38:43,071 INFO o.a.j.s.SaveService: Loading file: C:\SHB_Performance_TestCases\I2P_Share.jmx
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2024-09-12 14:38:43,118 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2024-09-12 14:38:43,325 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2024-09-12 14:38:43,325 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8
2024-09-12 14:38:43,325 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2024-09-12 14:38:43,325 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2024-09-12 14:38:43,487 INFO o.a.j.s.FileServer: Set new base='C:\Test_Performance_TestCases'
2024-09-12 14:38:45,195 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2024-09-12 14:38:45,197 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2024-09-12 14:38:45,197 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2024-09-12 14:38:45,199 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2024-09-12 14:38:45,199 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2024-09-12 14:38:45,618 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2024-09-12 14:38:45,778 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread_93
2024-09-12 14:38:45,778 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread_93.
2024-09-12 14:38:45,778 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2024-09-12 14:38:45,779 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false
2024-09-12 14:38:45,785 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2024-09-12 14:38:45,786 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2024-09-12 14:38:45,790 INFO o.a.j.t.JMeterThread: Thread started: Thread_93 1-1
2024-09-12 14:38:45,809 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = INBLRWIT2GWWDB3
2024-09-12 14:38:45,819 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2024-09-12 14:38:46,128 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2024-09-12 14:38:46,133 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2024-09-12 14:38:46,133 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2024-09-12 14:38:46,382 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
2024-09-12 14:38:46,387 INFO o.a.j.u.SSLManager: KeyStore created OK
2024-09-12 14:38:46,387 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2024-09-12 14:43:53,666 INFO o.a.j.t.JMeterThread: Thread is done: Thread_93 1-1
2024-09-12 14:43:53,666 INFO o.a.j.t.JMeterThread: Thread finished: Thread_93 1-1
2024-09-12 14:43:53,668 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2024-09-12 14:43:53,670 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
### Steps to reproduce the problem
Hi, I am Using the JMeter for the Performance Testing.
Below exception is coming when the Thread is running more than 5 minutes and eventually Thread is stopping after 5 Minutes:
- Response code: Non HTTP response code: javax.net.ssl.SSLException
- Response message: Non HTTP response message: Connection reset
Logs:
2024-09-12 14:38:46,128 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2024-09-12 14:38:46,133 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2024-09-12 14:38:46,133 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2024-09-12 14:38:46,382 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
2024-09-12 14:38:46,387 INFO o.a.j.u.SSLManager: KeyStore created OK
2024-09-12 14:38:46,387 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
### JMeter Version
5.6.3
### Java Version
openjdk version "1.8.0_392"
### OS Version
Windows 10 Enterprise
Contributor guide
Research direction
Start by reproducing the HTTPS sampler behavior in JMeter 5.6.3 with Java 8 on Windows, using the supplied five-minute timing and logs. Compare the result with a shorter request and determine whether the SSLException and connection reset originate in JMeter or the remote endpoint; done means a confirmed cause and documented fix or expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100