JMeter记录Siebel CRM系统 [英] JMeter record Siebel CRM System
问题描述
我正在尝试使用JMeter HTTP(S)测试脚本记录器记录Siebel CRM系统,但出现以下异常:
I am trying to record a Siebel CRM System using JMeter HTTP(S) Test Script Recorder but I get the below exception:
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at org.apache.http.client.entity.DeflateInputStream.read(DeflateInputStream.java:88)
at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:70)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:148)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTTPSamplerBase.java:1814)
at org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl.readResponse(HTTPAbstractImpl.java:440)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:474)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189)
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:244)
我正在使用JMeter 3.3.对如何解决此问题有任何想法吗?
I am using JMeter 3.3. Any thoughts on how to workaround this issue?
推荐答案
此问题归因于Siebel按照以下方式提供的越野车流:
This issue is due to a kind of buggy stream served by Siebel as per:
https://issues.apache.org/jira/browse/HTTPCLIENT-1877
在JMeter> 4.0中仍然可以解决此问题:
Still this has been workaround in JMeter > 4.0:
您可以尝试jmeter的每晚构建(2018年3月6日之后)或等待4.1:
You can try nightly build (after 6 march 2018) of jmeter or wait for 4.1:
并在user.properties中进行设置,然后重新启动JMeter:
And set in user.properties then restart JMeter:
httpclient4.deflate_relax_mode = true
httpclient4.deflate_relax_mode=true
这篇关于JMeter记录Siebel CRM系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!