我试图记录完整的屏幕,但无法记录单个响应。
屏幕用于获取实时数据。因此,当我单击实时数据时,除了包含实时数据的响应之外,页面正在被记录(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)
****但是我可以在同一服务器和屏幕中记录所有其他 https 请求/响应,但只有一个请求有问题。我也尝试导入证书。
响应标头:
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
***是因为传输编码分块???
请帮助我,自从过去 2 天以来,我一直坚持这一点。
谢谢!!!