jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected issue

Open wangxiaojiani opened this issue 11 months ago • 1 comments

  1. Initial Issue with JMeter "I'm encountering an issue where JMeter is throwing an error when making an API call, but Postman is able to make the same call successfully. The parameters being passed are identical."
  2. Response Header Content-Type "The API response header returns 'Content-Type: application/octet-stream' and 'Transfer-Encoding: chunked'. I'm wondering if this could be causing the issue with JMeter."
  3. Setting the Impact of Transfer-Encoding: chunked "How can I set up JMeter to handle 'Transfer-Encoding: chunked'? This encoding indicates that the response content length is uncertain and the data is transferred in chunks, which might cause JMeter to have issues parsing the response."

Image

wangxiaojiani avatar Jan 23 '25 08:01 wangxiaojiani

Is there a update on this... i am facing the similar issue

vishal-gurnaney avatar Apr 21 '25 09:04 vishal-gurnaney