jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milamber <milam...@apache.org>
Subject Re: Problem recording HTTPS with JMeter Proxy (java.io.EOFException)
Date Mon, 16 Apr 2012 19:20:51 GMT


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
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message