【发布时间】:2018-04-05 05:04:33
【问题描述】:
我将插件管理器放在“lib\ext”文件夹中并尝试打开它显示错误:
java.io.IOException: Repository 响应错误的状态码:407
- Jmeter 版本 - 3.3
- 插件版本 - 0.16
使用以下参数从命令行调用 Jmeter:
C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat -H Proxyserver -P 1234 -u princen -a ***
按照建议修改参数here
JVM_ARGS="-Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***" C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat
上面的尝试给出以下错误信息
Windows 找不到 "JVM_ARGS="-Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***
当我尝试将命令更改为以下内容时:
C:\Users\princen\Performance Testing\Software\apache-jmeter-3.3\bin\jmeter.bat -Dhttps.proxyHost=Proxyserver -Dhttps.proxyPort=1234 -Dhttp.proxyUser=princen -Dhttp.proxyPass=***
我收到一个错误:
java.io.IOException:存储库响应错误状态码:407
有人可以更正加载插件管理器所需的参数吗?
【问题讨论】:
-
***是用密码还是真实密码写的? -
我无法进入公共论坛。
-
你的插件管理器版本是多少?报告了一个问题groups.google.com/forum/m/#!msg/jmeter-plugins/1q4llR4ffew/…
-
您使用 https 后缀指定
proxyHost和proxyPort参数,但使用 http 指定proxyUser和proxyPass。那些应该匹配 -
即使在建议的更改之后,它也无法正常工作。
标签: proxy jmeter jmeter-plugins