我已经在生成的firefox中导入了证书。
但仍然在“查看结果树”中得到以下错误,并且firefox中的页面也没有打开:
响应消息:软件导致连接中止:recv failed确保浏览器设置为接受JMeter代理证书
我按照以下步骤操作:
选择以下选项:
Tools / Options
Advanced / Certificates
View Certificates
Authorities
Import …
Browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, press Open
Click View and check that the certificate details agree with the ones displayed by the JMeter Test Script Recorder
If OK, select "Trust this CA to identify web sites", and press OK
Close dialogs by pressing OK as necessary
要检查的2件事:
proxy.cert.validity = 7