Url 有可能看到JMeter发出的完整请求吗?
我有一个jmeter测试正在运行,它只是输出响应代码(所有连接都超时)。当我使用curl表单框时,请求会起作用。我想看看它是什么网址击中,以确保。无论如何,要查看GET请求实际失败的URL是什么?测试中是否有查看结果树的Url 有可能看到JMeter发出的完整请求吗?,url,curl,get,jmeter,connection-timeout,Url,Curl,Get,Jmeter,Connection Timeout,我有一个jmeter测试正在运行,它只是输出响应代码(所有连接都超时)。当我使用curl表单框时,请求会起作用。我想看看它是什么网址击中,以确保。无论如何,要查看GET请求实际失败的URL是什么?测试中是否有查看结果树的侦听器? 它可以显示它发送的URL和其他详细信息 注意:此侦听器消耗更多内存。只需将其用于调试目的。您可以通过将以下行添加到“user.properties”文件(位于JMeter安装的/bin文件夹下),将JMeter配置为在JMeter.log文件中存储更多信息 您将得到如
侦听器?
它可以显示它发送的URL和其他详细信息
注意:此侦听器消耗更多内存。只需将其用于调试目的。您可以通过将以下行添加到“user.properties”文件(位于JMeter安装的/bin文件夹下),将JMeter配置为在JMeter.log文件中存储更多信息
您将得到如下输出:
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Start : sample http://example.com/
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: method GET followingRedirect false depth 0
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Created new HttpClient: @563504346 http://example.com
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: ResponseHeadersSize=321 Content-Length=1270 Total=1591
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Thread Finished
有关不同JMeter属性类型以及设置/重写它们的方法的更多信息,请参阅
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Start : sample http://example.com/
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: method GET followingRedirect false depth 0
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Created new HttpClient: @563504346 http://example.com
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: ResponseHeadersSize=321 Content-Length=1270 Total=1591
2015/04/09 11:20:26 DEBUG - jmeter.protocol.http.sampler.HTTPHC4Impl: Thread Finished