Transfer-Encoding: chuncked is a kind of content streaming negotiation between the client and the server. It says that the server doesn't know exactly how many bytes it will transfer. Content-Length says that the server does know how many bytes it will transfer, and it is reasonable 'cause the error page is sent entirely, not streamed.
Change "jmeter.save.saveservice.response_data.on_error" to true, if running non-gui mode, OR run your script in JMeter GUI with a View Results Tree with "Only errors" option checked and see what is been send back from the server. Search inside HTML code for error messages, they may have a tip of what is going wrong. Regards. 2013/7/24 umesh prajapati <[email protected]> > Every time it has Successful request it has > > Response headers: > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Pragma: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Cache-Control: no-cache > Cache-Control: no-store > Content-Type: text/html;charset=ISO-8859-1 > Content-Language: en-US > Transfer-Encoding: chunked > Vary: Accept-Encoding > Date: Wed, 24 Jul 2013 23:23:11 GMT > > Every time it has Error > > Response headers: > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Pragma: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Cache-Control: no-cache > Cache-Control: no-store > Content-Type: text/html;charset=ISO-8859-1 > Content-Language: en-US > Content-Length: 2739 > Vary: Accept-Encoding > Date: Wed, 24 Jul 2013 23:23:14 GMT > > So, I see the difference between successful and unsuccessful request is > Transfer-Encoding: chuncked (Successful) > Content-Length:2739 (unsuccessful) > > Anyone has any idea why I am getting this error. >
