You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Lianghwa Jou <lj...@comcast.net> on 2004/03/31 05:33:16 UTC
http proxy, mozilla and gzip enconding problem ?
Hi,
I am running JMeter 1.9.1 with JRE 1.4.2 (Windows XP). There are
some problem to run mozilla browser 1.6 with the http proxy server. I
can browse www.cisco.com, www.ebay.com but the browser will display a
blank page when I browse www.yahoo.com or www.google.com. I switched to
use IE 6.0 in the sam environment and it works fine. Someone mentioned
that the http proxy has problem to handle gzip encoding type. Is there
any fix or any way to get around this problem ?
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: http proxy, mozilla and gzip enconding problem ?
Posted by Michael Stover <ms...@apache.org>.
In addition to the content-type header, the length of the response
changes, and the proxy should correct for that too.
-Mike
On Wed, 2004-03-31 at 04:32, Michal Kostrzewa wrote:
> > I am running JMeter 1.9.1 with JRE 1.4.2 (Windows XP). There are
> > some problem to run mozilla browser 1.6 with the http proxy server. I
> > can browse www.cisco.com, www.ebay.com but the browser will display a
> > blank page when I browse www.yahoo.com or www.google.com. I switched to
> > use IE 6.0 in the sam environment and it works fine. Someone mentioned
> > that the http proxy has problem to handle gzip encoding type. Is there
> > any fix or any way to get around this problem ?
>
>
> Hello,
> I confirm that there is a problem even with CVS version. As far as I can
> see it's a problem with gzipped content - the jmeter proxy decodes the
> data but the http header content-encoding is not changed. I think the
> explorer is more "clever" and just ignores this header.
> It should be very simple to fix, you can do it yourself (and submit a
> patch of course :) or I can try (maybe) do it by tomorrow (maybe) :))
> You could also find if there is appropriate entry in bugzilla and add it
> if it is not.
>
> best regards,
> Michal Kostrzewa
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
--
Michael Stover <ms...@apache.org>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: http proxy, mozilla and gzip enconding problem ?
Posted by Lianghwa Jou <lj...@comcast.net>.
The bug is posted in bugzilla as
Bug 28103 posted.
Since I don't know Java (we only use PHP), I will leave it to other
people to fix it.
Thanks,
Michal Kostrzewa wrote:
>> I am running JMeter 1.9.1 with JRE 1.4.2 (Windows XP). There are
>>some problem to run mozilla browser 1.6 with the http proxy server. I
>>can browse www.cisco.com, www.ebay.com but the browser will display a
>>blank page when I browse www.yahoo.com or www.google.com. I switched to
>>use IE 6.0 in the sam environment and it works fine. Someone mentioned
>>that the http proxy has problem to handle gzip encoding type. Is there
>>any fix or any way to get around this problem ?
>>
>>
>
>
>Hello,
>I confirm that there is a problem even with CVS version. As far as I can
>see it's a problem with gzipped content - the jmeter proxy decodes the
>data but the http header content-encoding is not changed. I think the
>explorer is more "clever" and just ignores this header.
>It should be very simple to fix, you can do it yourself (and submit a
>patch of course :) or I can try (maybe) do it by tomorrow (maybe) :))
>You could also find if there is appropriate entry in bugzilla and add it
>if it is not.
>
>best regards,
>Michal Kostrzewa
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: http proxy, mozilla and gzip enconding problem ?
Posted by Michael Stover <ms...@apache.org>.
In addition to the content-type header, the length of the response
changes, and the proxy should correct for that too.
-Mike
On Wed, 2004-03-31 at 04:32, Michal Kostrzewa wrote:
> > I am running JMeter 1.9.1 with JRE 1.4.2 (Windows XP). There are
> > some problem to run mozilla browser 1.6 with the http proxy server. I
> > can browse www.cisco.com, www.ebay.com but the browser will display a
> > blank page when I browse www.yahoo.com or www.google.com. I switched to
> > use IE 6.0 in the sam environment and it works fine. Someone mentioned
> > that the http proxy has problem to handle gzip encoding type. Is there
> > any fix or any way to get around this problem ?
>
>
> Hello,
> I confirm that there is a problem even with CVS version. As far as I can
> see it's a problem with gzipped content - the jmeter proxy decodes the
> data but the http header content-encoding is not changed. I think the
> explorer is more "clever" and just ignores this header.
> It should be very simple to fix, you can do it yourself (and submit a
> patch of course :) or I can try (maybe) do it by tomorrow (maybe) :))
> You could also find if there is appropriate entry in bugzilla and add it
> if it is not.
>
> best regards,
> Michal Kostrzewa
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
--
Michael Stover <ms...@apache.org>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: http proxy, mozilla and gzip enconding problem ?
Posted by Michal Kostrzewa <m....@pentacomp.com.pl>.
> I am running JMeter 1.9.1 with JRE 1.4.2 (Windows XP). There are
> some problem to run mozilla browser 1.6 with the http proxy server. I
> can browse www.cisco.com, www.ebay.com but the browser will display a
> blank page when I browse www.yahoo.com or www.google.com. I switched to
> use IE 6.0 in the sam environment and it works fine. Someone mentioned
> that the http proxy has problem to handle gzip encoding type. Is there
> any fix or any way to get around this problem ?
Hello,
I confirm that there is a problem even with CVS version. As far as I can
see it's a problem with gzipped content - the jmeter proxy decodes the
data but the http header content-encoding is not changed. I think the
explorer is more "clever" and just ignores this header.
It should be very simple to fix, you can do it yourself (and submit a
patch of course :) or I can try (maybe) do it by tomorrow (maybe) :))
You could also find if there is appropriate entry in bugzilla and add it
if it is not.
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: HTML Link Parser
Posted by Michal Kostrzewa <M....@pentacomp.com.pl>.
> HTTP/1.1 405 HTTP/1.1 405 HTTP method POST is not supported by this URL
...
> Error 405: HTTP method POST is not supported by this URL
Does it say something to you? is the URI really support POST? are you sure you
sample propery URL (see the response tree->request). Maybe you have URI with
variables and you forgot slash. And with the first loop the variable is null
and with the second loop you create some non-existent URI...
I'm almost 100% sure your problem results from error in the script, as thread
loops and multiple threads are the most basic features of jMeter and they are
supposed to *work*. Have you created the most simplest test imaginable (only
one request to static page). Are you receiving errors with such a test?
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: HTML Link Parser
Posted by Naoko Kitaoka <KN...@jp.ibm.com>.
>Do you have any assertions in the test?
No.
>Did you receive any response from the failed request?
Here is the err message.
HTTP/1.1 405 HTTP/1.1 405 HTTP method POST is not supported by this URL
Date: Thu, 01 Apr 2004 02:11:12 GMT
Server: IBM_HTTP_SERVER/1.3.26 Apache/1.3.26 (Win32)
Connection: close
Content-Type: text/html;charset=Shift_JIS
Content-Language: ja-JP
Error 405: HTTP method POST is not supported by this URL
>Have you checked jmeter.log?
Here it is.
04/01/2004 11:09:50 午前 INFO - jmeter.protocol.http.sampler.HTTPSampler:
Getting error message from server java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:701)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.bundleResponseInResult(HTTPSampler.java:1057)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:1004)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:445)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:277)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 405 for
URL:
http://9.116.240.55:81/hoge/HogeLogout;jsessionid=0000CX2ADLOOWAGCOO1F10UWHVI:-1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.getErrorLevel(HTTPSampler.java:832)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:966)
... 3 more
***************************************************************************************
> I mean I can see the err (red sign) from view result tree if the loop is
> setted over 2.
Do you have any assertions in the test? Did you receive any response
from the failed request? Have you checked jmeter.log?
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: HTML Link Parser
Posted by Michal Kostrzewa <m....@pentacomp.com.pl>.
> I mean I can see the err (red sign) from view result tree if the loop is
> setted over 2.
Do you have any assertions in the test? Did you receive any response
from the failed request? Have you checked jmeter.log?
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: HTML Link Parser
Posted by Naoko Kitaoka <KN...@jp.ibm.com>.
I mean I can see the err (red sign) from view result tree if the loop is
setted over 2.
Naoko Kitaoka
W liście z śro, 31-03-2004, godz. 07:49, Naoko Kitaoka pisze:
> If the roop is setted over 2, it become err. And if threads is setted
over
> 2 , it also become err.
You meant "loop" I guess?
What do you mean saying "become err"? Does it not work? Or maybe
exceptions are thrown? what kind of exceptions?
best regards,
Michal Kostrzewa
Re: HTML Link Parser
Posted by Michal Kostrzewa <m....@pentacomp.com.pl>.
W liście z śro, 31-03-2004, godz. 07:49, Naoko Kitaoka pisze:
> If the roop is setted over 2, it become err. And if threads is setted over
> 2 , it also become err.
You meant "loop" I guess?
What do you mean saying "become err"? Does it not work? Or maybe
exceptions are thrown? what kind of exceptions?
best regards,
Michal Kostrzewa
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
HTML Link Parser
Posted by Naoko Kitaoka <KN...@jp.ibm.com>.
If the roop is setted over 2, it become err. And if threads is setted over
2 , it also become err.
Anyone knows why?
Naoko Kitaoka