Re: http sampler : truncated response

2008-02-05 Thread sebb
I've now also tried using cURL to download the page, and that has exactly the same problem. I use a command of the form: curl http://etc/etc -d "name=val&name=val" -o page.txt --no-keepalive --raw --trace trace.txt The server (or its application) seems to be broken. On 05/02/2008, sebb <[EMAI

Re: http sampler : truncated response

2008-02-05 Thread sebb
Just run a test with wire logging. The end of the log is as follows: << "[0x9][0x9][\n]" << "[0x9][0x9][0x9]" << "[\r]" << "[\n]" << "0" << "[\r]" << "[\n]" << "[\r]" << "[\n]" << "[\r][\n]" This clearly shows a chunk size of 0, which indicates the last chunk. If you have a look at a page re

Re: http sampler : truncated response

2008-02-05 Thread Benj
Ok. There's nothing helpful in httpclient.wire logs. It seems that the problem occurs when response is >= 140ko. Before I could have larger responses because I needed to increase capacity of tree view listener up to 1Mo. Strange. It the same behaviour with or without using an apache httpd in front

Re: http sampler : truncated response

2008-02-05 Thread sebb
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 implem

Re: Parameter passing using regexFunction in testing Web services

2008-02-05 Thread sebb
On 05/02/2008, MartinBorris <[EMAIL PROTECTED]> wrote: > > Hi > > I am a newbie to Jmeter and so need your advice on the following: > > Does Jmeter allow the following test scenario: > > A request is sent to a WSDL and a response is returned. From the response > certain variables are automatically

Parameter passing using regexFunction in testing Web services

2008-02-05 Thread MartinBorris
Hi I am a newbie to Jmeter and so need your advice on the following: Does Jmeter allow the following test scenario: A request is sent to a WSDL and a response is returned. From the response certain variables are automatically selected which are then used to populate a new request. However the

Re: http sampler : truncated response

2008-02-05 Thread Benj
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

Re: http sampler : truncated response

2008-02-05 Thread sebb
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

Re: http sampler : truncated response

2008-02-05 Thread Benj
Sebb, Did you try with the host and path I sent to you ? If you get only 23k of data, you have a problem. The non zipped/deflated html page weight is about 180-200ko . Check if you have the html end tag . If not, there's an issue. I've also tried the save response post process and the html is als

Re: http sampler : truncated response

2008-02-05 Thread sebb
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] Mi

Re: http sampler : truncated response

2008-02-05 Thread Benj
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 pr