[EMAIL PROTECTED] wrote: > I think ( or guess ) that ab is checking the length of the first request, > and if following requests have different lengths it assumes it's a > failure. > > Could you check if your page returns the same thing ? Very strange..
I ran the thing with -v 99 and it shows only the beginning of each page. They all look identical, apart from the JSESSIONID cookie. And every time there is a request, there is a response, no failures there. The funny bit is that headers returned by Tomcat don't even include Content-length, so how does ab conclude that the length is wrong, beats me. But your guess is probably a good one. Headers returned by Apache, do contain Content-length, so ab probably has something more to work with there. Since I can control the headers from my servlet, let my try with Content-length. Fingers crossed... Bojan