Hi all, I hope someone can help me with this case...

I have a java application (both client and server) client is a swing
application that communicates with httpclient using serialization. (requests
are POST). I'm trying to use JMeter proxy to capture the connection between
HTTPClient and the server, actually I don't know if this can be done with
JMeter, my understanding is this would be just a POST request to the server,
but...

The request (sampler) in JMeter test plan is created but ... when trying to
execute the sampler saved by JMeter Proxy the server returns

java.io.IOException: Not in GZIP format
>     java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137)
>     java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
>     java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
>

as it is shown, the data stream uses a GZIPInputStream decorator... but
removing that and leaving only the OutputStream, the server returns...

java.io.StreamCorruptedException: invalid stream header: EFBFBDEF
>     java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
>     java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>


So I'm guessing this has to be with the way JMeter proxy saves the info it
captures, because it seems to not to be the same that is send by the
original client.

Any ideas???

-- 
David Castañeda R.

Reply via email to