Blazemeter / CorrelationRecorder

A repository for the Correlation Recorder Plugin for JMeter
https://blazemeter.github.io/CorrelationRecorder/
Apache License 2.0
25 stars 13 forks source link

EOF exception while recording D365 Fno using the bzm-correlation recorder template #60

Open StraySquid760 opened 3 months ago

StraySquid760 commented 3 months ago

I am getting below EOF exception while recording D365 Fno Application using the BZM correlation recorder template.

java.io.EOFException at java.base/java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:279) at java.base/java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:269) at java.base/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:175) at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:79) at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:91) at org.apache.jmeter.protocol.http.sampler.hc.LaxGZIPInputStream.(LaxGZIPInputStream.java:42) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.lambda$static$0(HTTPHC4Impl.java:205) at org.apache.http.client.entity.LazyDecompressingInputStream.initWrapper(LazyDecompressingInputStream.java:51) at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:63) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1950) at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:475) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:678) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:66) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1311) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:251) at com.blazemeter.jmeter.correlation.core.proxy.CorrelationProxy.run(CorrelationProxy.java:57)

Let us know in which versions of these tools the error occurs:

To Reproduce

Steps to reproduce the bug:

  1. Click on BZM-Correlation-Recorder template and click start
  2. Go to firefox and launch D365 F&O url.
  3. See error
diego-ferrand commented 3 months ago

Hey @StraySquid760 it looks like jmeter has issues recording D365 F&O traffic, there are some good suggestions posted in this blog.

There is a section there that indicates a similar issues to what you are facing, and they recommend to set the HTTP Sampler settings type to Java.

If you are still facing the issue, try recording with native jmeter recorder and see if you are facing the same issues. It looks like it might be more in jmeter side than the plugin.

StraySquid760 commented 3 months ago

Thanks @diego-ferrand . Will try