Oops, sorry about that. Now I see the problem.

The data is being sent back as

Transfer-Encoding: chunked

which is often used for longer responses.

It looks like there is a problem with interpreting the chunking.

Now the fault applies to the Java and HttpClients (which use different
HTTP implementations), and also to WireShark (0.99.6a) and wget.

It seems very unlikely that all of these different implementations are
wrong, so I suspect that there might be a problem with the server ...

The HttpClient sampler can generate a wire log which should show the
problem (it's rather verbose).

Browsers tend to be much more lenient than some servers deserve...

On 05/02/2008, Benj <[EMAIL PROTECTED]> wrote:
>
> There's an error in the parameter name you used.
> In that case (no real response to the query), the reponse page is small and
> then complete.
>
> I've sent you back the corrected test plan.
>
> --
> Bj
>
>
> sebb-2-2 wrote:
> >
> > On 05/02/2008, Benj <[EMAIL PROTECTED]> wrote:
> >>
> >> Sebb,
> >>
> >> Did you try with the host and path I sent to you ?
> >
> > Yes.
> >
> >> If you get only 23k of data, you have a problem. The non zipped/deflated
> >> html page weight is about 180-200ko .
> >
> > I just tried saving the HTML from Firefox, and it is about 30Kb plus
> > about 530KB in external files.
> >
> > The page saved by JMeter is a bit smaller, probably because it is not
> > recognised as Flash-enabled.
> >
> >> Check if you have the html end tag </hml>. If not, there's an issue.
> >
> > Yes, I do have the end tag.
> >
> >> I've also tried the save response post process and the html is also
> >> truncated.
> >> And for functionnal and unitary tests (not perf), I've modified the tree
> >> view listener in order to manage response up to 1Mo.
> >
> > The limit is currently hard-coded; it should probably be made
> > configurable...
> >
> >>
> >> Regards,
> >
> > I'll send you my Test Plan privately.
> >
> >> --
> >> Bj
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > Works fine for me in 2.3.1 and current SVN using standard HTTP
> >> > sampler. I get about 23k of data.
> >> >
> >> > Also works with HttpClient, provided that the User-Agent is changed
> >> > from the default.
> >> > [I get connection reset if it is defaulted. It looks like the site is
> >> > specfically denying access to HttpClient]
> >> >
> >> > Might be worth adding a "Save Responses to a File" Post-Processor.
> >> >
> >> > Note that the Tree View listener won't display anything over about
> >> > 200k; instead it will show "Response too large to be displayed".
> >> > However the Save Response P-P does not have this restriction.
> >> >
> >> > S.
> >> > On 05/02/2008, Benj <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> 1) The html page always stops at about 20ko. The full page weight is
> >> >> about
> >> >> 200ko
> >> >> 2) I've activated most logs in DEBUG mode (httpclient, jmeter,...).
> >> >> Nothing
> >> >> interesting was found in them.
> >> >> 3) yes the problem is on a publicly accessible server. Sebb, I've sent
> >> >> you
> >> >> the url and parameters in a private message.
> >> >> 4) Keepalive on/off didn't change anything. Not even any http headers
> >> >> (User-Agent,Content-type,...)
> >> >>
> >> >>
> >> >> Thanks for your help.
> >> >>
> >> >> --
> >> >> Bj
> >> >>
> >> >>
> >> >>
> >> >> sebb-2-2 wrote:
> >> >> >
> >> >> > If you are using the HttpClient version, you can set additional
> >> >> > logging - see the comments in  jmeter.properties.
> >> >> >
> >> >> > I don't suppose you are seeing the problem with a publicly
> >> accessible
> >> >> > server?
> >> >> >
> >> >> > Have you tried changing Keep-Alive to see if it makes any
> >> difference?
> >> >> > (unlikely, but worth a try).
> >> >> >
> >> >> > On 04/02/2008, Dylan Lacey <[EMAIL PROTECTED]> wrote:
> >> >> >> Have you tried setting "log_level.jmeter=DEBUG" in
> >> jmeter.properties,
> >> >> and
> >> >> >> seeing if that gives you enough info to diagnose your problem?
> >> >> >>
> >> >> >> You can also set log levels for individual packages, like
> >> >> >> "log_level.jmeter.protocol.http=DEBUG"
> >> >> >>
> >> >> >> On Feb 5, 2008 8:17 AM, Woody Aichner <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >> > Bj,
> >> >> >> >
> >> >> >> > I have been seeing something that may be similar. I have been
> >> >> noticing
> >> >> >> > that
> >> >> >> > there is sometimes a 0 length response. There is no error, but
> >> this
> >> >> >> causes
> >> >> >> > downstream problems from samples that required info in the
> >> output. I
> >> >> >> can
> >> >> >> > not
> >> >> >> > reproduce the problem using a browser.
> >> >> >> >
> >> >> >> > Are you getting a 0 length response?
> >> >> >> >
> >> >> >> > ----- Original Message -----
> >> >> >> > From: "Benj" <[EMAIL PROTECTED]>
> >> >> >> > To: <[email protected]>
> >> >> >> > Sent: Monday, February 04, 2008 3:24 PM
> >> >> >> > Subject: Re: http sampler : truncated response
> >> >> >> >
> >> >> >> >
> >> >> >> > >
> >> >> >> > > Hi,
> >> >> >> > >
> >> >> >> > > I've tried both !
> >> >> >> > >
> >> >> >> > > --
> >> >> >> > > Bj
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > sebb-2-2 wrote:
> >> >> >> > >>
> >> >> >> > >> Which sampler are you using?
> >> >> >> > >>
> >> >> >> > >> Http (default) or Http HttpClient?
> >> >> >> > >>
> >> >> >> > >> On 04/02/2008, Benj <[EMAIL PROTECTED]> wrote:
> >> >> >> > >>>
> >> >> >> > >>> Hi,
> >> >> >> > >>>
> >> >> >> > >>> I've a strange issue with Jmeter 2.2+ (up to 2.3.1).
> >> >> >> > >>> When I query my http site, I receive a truncated http
> >> responses.
> >> >> I
> >> >> >> > never
> >> >> >> > >>> get
> >> >> >> > >>> the </body></html> end tags. The html always stop at the same
> >> >> tag.
> >> >> >> > >>> I've tried the simpliest test plan containing one thread
> >> group
> >> >> and
> >> >> >> one
> >> >> >> > >>> http
> >> >> >> > >>> sampler. no assertion nor timer... only the tree result
> >> >> listener.
> >> >> >> > >>> When I try another page of my site or when I use firefox, the
> >> >> web
> >> >> >> page
> >> >> >> > >>> is
> >> >> >> > >>> ok.
> >> >> >> > >>> I found no error in JMeter logs. I'm not using a proxy nor
> >> any
> >> >> >> network
> >> >> >> > >>> appliances. A simple gigabit LAN.
> >> >> >> > >>>
> >> >> >> > >>> My question is the following : Can a tag or something in the
> >> >> html
> >> >> >> > >>> response
> >> >> >> > >>> broke the http connection without throwing an exception ?
> >> >> >> > >>>
> >> >> >> > >>> Regards,
> >> >> >> > >>> --
> >> >> >> > >>> Bj
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>> --
> >> >> >> > >>> View this message in context:
> >> >> >> > >>>
> >> >> >> >
> >> >> >>
> >> >>
> >> http://www.nabble.com/http-sampler-%3A-truncated-response-tp15269074p15269074.html
> >> >> >> > >>> Sent from the JMeter - User mailing list archive at
> >> Nabble.com.
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> > >>> To unsubscribe, e-mail:
> >> >> [EMAIL PROTECTED]
> >> >> >> > >>> For additional commands, e-mail:
> >> >> >> [EMAIL PROTECTED]
> >> >> >> > >>>
> >> >> >> > >>>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> > >> To unsubscribe, e-mail:
> >> >> [EMAIL PROTECTED]
> >> >> >> > >> For additional commands, e-mail:
> >> >> [EMAIL PROTECTED]
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > > --
> >> >> >> > > View this message in context:
> >> >> >> > >
> >> >> >> >
> >> >> >>
> >> >>
> >> http://www.nabble.com/http-sampler-%3A-truncated-response-tp15269074p15276723.html
> >> >> >> > > Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> ---------------------------------------------------------------------
> >> >> >> > > To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> >> >> > > For additional commands, e-mail:
> >> >> [EMAIL PROTECTED]
> >> >> >> > >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> ---------------------------------------------------------------------
> >> >> >> > To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> >> >> > For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> .:|Dylan Lacey|:.
> >> >> >>
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/http-sampler-%3A-truncated-response-tp15269074p15286987.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/http-sampler-%3A-truncated-response-tp15269074p15289623.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/http-sampler-%3A-truncated-response-tp15269074p15290362.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to