jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Problem recording HTTPS with JMeter Proxy (java.io.EOFException)
Date Tue, 17 Apr 2012 05:20:35 GMT
Hello,
Are you using spoofing in jmeter proxy ?
If so try to remove it
CAN you give options used in jmeter proxy ? And also how you configured
certificate in jmeter.properties ?

Thanks
On Monday, April 16, 2012, Abraham Iglesias (redsauce) wrote:

> Hi,
> I tried every Http client implementation and I had the same error.
>
> I installed modify-headers addon for firefox and wrote the header
> "Accept-Encoding: ". It solved the problem, but now I can't get the gif,
> jpeg, and css files.. I just can get html  and .js files.
>
> thanks for the suggestion :)
>
> -bram
>
> El 16/04/2012, a las 21:20, Milamber escribió:
>
> >
> >
> > Le 16/04/2012 10:10, Abraham Iglesias (redsauce) a ecrit :
> >> Hi all,
> >> I'm having some weird problems when recording the HTTPS conversation to
> my webapp.
> >> I tried to record the HTTPS login, and I'm having an error on my
> browser.
> >> When I enter the URL, then the Apache JMeter certificate notification
> appears in my browser warning that i must accept the certificate (thought
> it's an invalid certificate)
> >>
> >> After accepting and installing certificate in my certificate store, the
> following response appear in the browser:
> >>
> >>
> >> java.io.EOFException
> >>      at
> java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:202)
> >>      at
> java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:192)
> >>      at java.util.zip.GZIPInputStream.readUInt(GZIPInputStream.java:184)
> >>      at
> java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:174)
> >>      at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89)
> >>      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> >>      at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
> >>      at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
> >>      at java.io.FilterInputStream.read(FilterInputStream.java:90)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1620)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:236)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.readResponse(HTTPJavaImpl.java:282)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl.sample(HTTPJavaImpl.java:512)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
> >>      at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1054)
> >>      at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:236)
> >>
> >>
> >>
> >>
> >> That's what I have already tried:
> >> -Jmeter proxy is working on other sites (I configured proxy settings in
> my browser)
> >> -I accepted the Apache JMeter Proxy (fake) certificate
> >> -I tried running JMeter both with jre1.6 and 1.5
> >> -I tried several browsers (firefox, safari, chrome)
> >> -I tried both Windows XP and Mac
> >> -I tried several Internet connections
> >>
> >> Any ideas?
> >>
> >
> > In your JMeter Proxy element, in HTTP Sample settings section, try to
> > change the Type to HTTPClient 3.1 (or 4)
> >
> > Bye
> > Milamber
> >
> >
> >> thanks.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org<javascript:;>
> >> For additional commands, e-mail: user-help@jmeter.apache.org<javascript:;>
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org<javascript:;>
> > For additional commands, e-mail: user-help@jmeter.apache.org<javascript:;>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org <javascript:;>
> For additional commands, e-mail: user-help@jmeter.apache.org<javascript:;>
>
>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message