在GitHub工作流程文件中安装jmeter插件时出现“无法执行cmdline操作”

问题描述 投票:0回答:1

我正在尝试在 GitHub 操作工作流程文件中安装 JMeter 插件并运行以下命令来执行此操作 -

Command - java -jar cmdrunner-2.2.1.jar --tool org.jmeterplugins.repository.PluginManagerCMD install-all-except jpgc-hadoop,jpgc-oauth,ulp-jmeter-autocorrelator-plugin,ulp-jmeter-videostreaming-plugin,ulp-jmeter-gwt-plugin,tilln-iso8583

我遇到以下错误 -

ERROR: java.lang.RuntimeException: Failed to perform cmdline operation: Read timed out
** Problem's technical details go below ***
Home directory was detected as: /usr/local/apache-jmeter-5.0/lib
Error: Exception in thread "main" java.lang.RuntimeException: Failed to perform cmdline operation: Read timed out
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:102)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:62)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:21)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:117)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:288)
... 7 more

如何解决这个错误?

jmeter performance-testing jmeter-plugins
1个回答
0
投票

JMeter 插件管理器尝试连接插件存储库https://jmeter-plugins.org/repo

如果无法建立连接 - 您将无法使用插件管理器。

确保您的 Github Actions 运行器计算机通常可以访问互联网,特别是 https://jmeter-plugins.org

您还可以尝试通过操作 jpgc.repo.timeout

JMeter 属性
来增加超时

© www.soinside.com 2019 - 2024. All rights reserved.