特定请求未在Jmeter 2.9中获得记录

特定请求未在Jmeter 2.9中获得记录,jmeter,performance-testing,chunked-encoding,chunked,http-chunked,Jmeter,Performance Testing,Chunked Encoding,Chunked,Http Chunked,我试图记录一个完整的屏幕,但无法记录一个响应 该屏幕用于获取实时数据。因此,当我单击Live Data时,除了包含Live Data的响应之外,页面正在被记录(Jmeter2.9) 这句话的意思是“对不起,连接离线了”(我用浏览器尝试了相同的场景,但效果非常好 仅适用于Jmeter) 加载页面时,我得到Jmeter日志: 2014/06/18 21:43:31 ERROR - jmeter.protocol.http.proxy.Proxy: Problem with SSL certifica

我试图记录一个完整的屏幕,但无法记录一个响应

该屏幕用于获取实时数据。因此,当我单击Live Data时,除了包含Live Data的响应之外,页面正在被记录(Jmeter2.9)

这句话的意思是“对不起,连接离线了”(我用浏览器尝试了相同的场景,但效果非常好

仅适用于Jmeter)

加载页面时,我得到Jmeter日志:

2014/06/18 21:43:31 ERROR - jmeter.protocol.http.proxy.Proxy: Problem with SSL certificate? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: bad_certificate javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    at sun.security.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.parse(HttpRequestHdr.java:110)
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:197)
Cache-Control   private
Connection  keep-alive
Date    Wed, 18 Jun 2014 16:30:13 GMT
Expires Thu, 01 Jan 1970 00:00:00 GMT
Transfer-Encoding   chunked
access-control-allow-orig...    *
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Connection  keep-alive
Cookie  JSESSIONID= [hidden]; uid=-9223372036794645800; clid=-9223372036794645800; sid=-9223372036794645800; cd=2014-06-19
Host    [hidden]
Referer [hidden]
User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
****但是我能够在同一个服务器和屏幕上记录所有其他https请求/响应,但它只有一个请求有问题。我还尝试导入证书

响应标题:

2014/06/18 21:43:31 ERROR - jmeter.protocol.http.proxy.Proxy: Problem with SSL certificate? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: bad_certificate javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    at sun.security.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.parse(HttpRequestHdr.java:110)
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:197)
Cache-Control   private
Connection  keep-alive
Date    Wed, 18 Jun 2014 16:30:13 GMT
Expires Thu, 01 Jan 1970 00:00:00 GMT
Transfer-Encoding   chunked
access-control-allow-orig...    *
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Connection  keep-alive
Cookie  JSESSIONID= [hidden]; uid=-9223372036794645800; clid=-9223372036794645800; sid=-9223372036794645800; cd=2014-06-19
Host    [hidden]
Referer [hidden]
User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
请求头:

2014/06/18 21:43:31 ERROR - jmeter.protocol.http.proxy.Proxy: Problem with SSL certificate? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: bad_certificate javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    at sun.security.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at org.apache.jmeter.protocol.http.proxy.HttpRequestHdr.parse(HttpRequestHdr.java:110)
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:197)
Cache-Control   private
Connection  keep-alive
Date    Wed, 18 Jun 2014 16:30:13 GMT
Expires Thu, 01 Jan 1970 00:00:00 GMT
Transfer-Encoding   chunked
access-control-allow-orig...    *
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Connection  keep-alive
Cookie  JSESSIONID= [hidden]; uid=-9223372036794645800; clid=-9223372036794645800; sid=-9223372036794645800; cd=2014-06-19
Host    [hidden]
Referer [hidden]
User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
***是因为传输编码分块吗

请帮帮我,从过去两天起我就一直在做这件事

谢谢你

尝试以下指导步骤

也许从清洁会话开始应该可以解决您的问题

或者,您可以尝试通过以下方式记录您的用例: