apache / apache/jmeter

Socket connectivity issue from JMeter tool

Open
#5,772 0 comments 0 reactions 0 assignees View on GitHub
regression to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

Hi Team,

We have a requirement to perform a Load test by for large files from 1GB to till 9.5 GB document into FileNet Enterprise Content management.

Approach is, We are using ICN desktop with bookmark url for uploading the large file(1GB to till 9.5GB) into FileNet content management. We were able to upload the document using this bookmark url and we are using the AKS platform for FileNet.

We are doing a load test to understand the platform behaviour in business hours with 3 different concurrent users with multiple combinations of large files from 1GB to 9GB by recording the scripts using JMeter.

We were able to record the scripts up to 9.5GB however when we are trying run after correlation is done with concurrent users in JMeter its throwing an error socket timeout exception for 3GB and 4GB document in JMeter however the documents are uploading successfully fine in FileNet.

We have followed the below recommendations from the google and some supporting portals but still no luck.

Few modification changed in JMeter properties and HTTP sample request default

user.properties
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
httpclient4.idletimeout=something above 0 which matches your server configuration

hc.parameters (same location, JMeter's /bin folder)
http.connection.stalecheck$Boolean=true

system.properties
javax.net.debug=ssl

jmeter.properties
jmeter.loggerpanel.display=true

JMeter.bat --
Increased the heap memory from 1GB to 20GB to overcome Java heap issue in Jmeter

Connection timed out, response time values increase to 700000 ms (up to 3000000)

Note : File is uploading in appliction but File UploadingTransaction failing in Jmeter. below screenshot for reference

![image](https://user-images.githubusercontent.com/125016489/218078855-b8c519a2-34f2-44ff-bdd4-f0ac34b85ad2.png)

Summary of the issue for Web Application. file uploading w.r.t GB (upto 9 GB)
While uploading 1 GB, 2GB and 3 GB file using JMeter Automation tool, never faced issue., from 3GB,4GB onwards script is failing based on below error.

“Response code:Non HTTP response code: java.net.SocketException
Response message:Non HTTP response message: Connection reset”
and

"Response code:Non HTTP response code: java.net.SocketTimeoutException
Response message:Non HTTP response message: Read timed out"

### Actual behavior

_No response_

### Steps to reproduce the problem

1. Record the script with any web based url where it will allow more then 4GB document to upload into system
2. Execute the script after corelation is done and check the script if its passing successfully or not.

### JMeter Version

5.5

### Java Version

JDK 1.8.0_361

### OS Version

Microsoft Windows Server data center 2016 with 64bit and 32 GB ram

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.