Hi,

As the package where the error occurred suggests, this is not a JMeter
issue and the connection was aborted before it could be completed. You
need to check if JMeter is allowed to make such requests and if
everything else was in order with the request you've made.

Cheers,
Adrian

On Mon, May 29, 2023 at 1:09 PM Anmol Sarraf <sarrafanmo...@gmail.com> wrote:
>
> Hi Team,
>
> While uploading a file of 280MB via jmeter, I am getting a socket write
> error. I did increase the connection timeout to 10mins but still it gives
> an error. What should I do?
>
> Response code:Non HTTP response code: java.net.SocketException Response
> message:Non HTTP response message: Software caused connection abort: socket
> write error
> -----------
> java.net.SocketException: Software caused connection abort: socket write
> error     at java.net.SocketOutputStream.socketWrite0(Native Method)     at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)     at
> java.net.SocketOutputStream.write(SocketOutputStream.java:155)     at
> org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:124)
>     at
> org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:136)
>     at
> org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:167)
>     at
> org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113)
>     at
> org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:121)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$ViewableFileBody.writeTo(HTTPHC4Impl.java:1517)
>     at
> org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:134)
>     at
> org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:157)
>     at
> org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:113)
>     at
> org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
>     at
> org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152)
>     at
> org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$2.doSendRequest(HTTPHC4Impl.java:462)
>     at
> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
>     at
> org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
>     at
> org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
>     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
>     at
> org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
>     at
> org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
>     at
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:939)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:650)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:66)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1301)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1290)
>     at
> org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651)
>   at
> org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570)
>     at
> org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501)
>     at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268)
>   at java.lang.Thread.run(Thread.java:750)
>
> Thanks and Regards,
> Anmol

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to