从jMeter连接website超时报出的error callstack看它的HTTP通信原理
作者:互联网
Response Body Response headers
FindCase sensitive Regular exp.|org.apache.http.conn.HttpHostConnectException: Connect to hybris.com:443 [hybris.com/169.145.|97.197] failed: Connection timed out: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java: 156)at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$JMeterDefaultHttoClientConnectionOperator.connect(HTTPHC4I
|pl.java:336
at org.apache.http.impl.conn.PoolingHttoClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374.at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:1101
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpoClient.java:185at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83at org.apache.jmeter.protocol.http.sampler.HTTPHC41mpl.executeRequest(HTTPHC41mpl.java:843at org.apache.jmeter.protocol.http.sampler.HTTPHC41mpl.sample(HTTPHC41mpl.java:574at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:67at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java: 12311at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java: 1220at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:622)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:546at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:486at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253)
at java.lang.Thread.run(Unknown Source)
可以看出也是通过org.apache.http.impl.client.InternalHttpClient这个开源的Apache http client进行的连接。
标签:website,callstack,HTTP,java,http,apache,org,jmeter,impl 来源: https://blog.csdn.net/i042416/article/details/100060015