我在 Jmeter 中的一些 https 请求任意切换到纯 http 但将端口保持在 443

some of my https requests in Jmeter arbitrarlily switches to plain http but keeps the port on 443

请求采样器设置为使用 https 和端口 443。但有时 JMeter 发送一个 http 请求但将端口保持在 443,例如 http://example.com:443/?param=example

应该是 https://example.com/?param=example 在端口 443 上

75% 的时间它都能正常工作。什么会导致 Jmeter 决定仅在某些线程上使用 http?

我通过删除 HTTP Request Defaults 配置元素解决了这个问题。该配置一定混淆了脚本的其余部分。

我在 Twitter 上也从 Blazemeter 那里得到了同样的提示,我已经解决了。