v-barros opened a new issue, #5964: URL: https://github.com/apache/jmeter/issues/5964
### Expected behavior JMeter is trying to send a [PSH,ACK] to a previously closed connection, and it's showing this try as a success. I think the 2nd and 3rd samplers should have the same result, either JMeter should try to reopen the closed connection before sending the data or it should get the same failure for both requests as the connection is closed anyway. ### Actual behavior server is running on port 1234. Black marked lines are packets sent from server to JMeter, gray lines are JMeter to server  As we can see, the first packet is a [SYN] sent by JMeter, initiating the connection, followed by an [SYN,ACK] from server. Then, JMeter sends another [ACK], followed by the actual data packet with [PSH,ACK]. The server sends an [ACK] and waits 5 seconds to close the timed out connection. The server sends a [FYN] packet to JMeter, asking to close the connection, and JMeter's answer is an [ACK], so I expect JMeter actually knows that the connection is now closed and try to reopen the connection when sending the following sampler, but actually it is sending a [PSH,ACK] as if the connection was still opened. Not only JMeter is trying to connect to a broken pipe, but it actually shows this unsuccessful sampler as a success, even though the server didn't send anything but a [RST].  Then the 3rd sampler gets a broken pipe exception, different from the second sampler...  ### Steps to reproduce the problem I've been working on a personal project to develop a simple event loop and when using JMeter to test this server I noticed a weird behavior. I'm using a very simple scenario, its just one single TCP Sampler, configured as below, expecting to receive a "OK\0" as response:  I'm using a regular Thread Group with 1 thread, 1 sec ramp up and Loop count 3.  There's a constant timer delaying the sampler by 6 seconds.  My server is set to close timed out connections after 5 seconds. ### JMeter Version 5.5 ### Java Version OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu122.04.2) ### OS Version Ubuntu 22.04.02 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org