SSL 在 jmeter 中不起作用

SSL not working in jmeter

在视图结果树中访问我的应用程序时出现异常: 响应消息:收到致命警报:unknown_ca 确保浏览器设置为接受 JMeter 代理证书

  1. 添加了线程组。
  2. 将带有我的应用程序服务器地址的 HTTP 请求默认添加到线程组。
  3. 将录制控制器添加到线程组。
  4. 为 workbench 添加了 HTTP(S) 测试脚本记录器。
  5. 添加了记录器的查看结果树。
  6. 使用端口 8123 启动记录器,包括 ..xhtml,不包括 ..js,..*png
  7. 使用本地主机和 8123 端口在 firefox 中配置代理。
  8. 已接受 jmeter 虚拟证书。

证书仅在 firefox 证书配置的服务器部分可见。它在权限部分不可见。

有什么线索吗?

看起来像是 CA 问题。

你读过吗this?

  1. Return to HTTP(S) Test Script Recorder, and click the “Start” button at the bottom. This will start the JMeter proxy server which is used to intercept the browser requests. A file called ApacheJMeterTemporaryRootCA.crt will be generated in jmeter/bin folder. Install this certificate in your browser, if you don't know how to do it, read “Installing the JMeter CA certificate for HTTPS recording” in : http://jmeter.apache.org/usermanual/component_reference.html#HTTP%28S%29_Test_Script_Recorder