Jmeter 插件,不采用属性中提供的密钥库
Jmeter plugin , does not take the keystore provided in properties
Jmeter 插件似乎没有加载配置选项卡中提供的系统变量。
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
<configuration>
<propertiesSystem>
<javax.net.debug>all</javax.net.debug>
<javax.net.ssl.keyStore>${basedir}/src/test/resources/clientKeystoreFin.jks</javax.net.ssl.keyStore>
<javax.net.ssl.keyStorePassword>changeit</javax.net.ssl.keyStorePassword>
<https.socket.protocols>TLSv1</https.socket.protocols>
<sun.security.ssl.allowUnsafeRenegotiation>true</sun.security.ssl.allowUnsafeRenegotiation>
</propertiesSystem>
<ignoreResultFailures>true</ignoreResultFailures>
</configuration>
</execution>
</executions>
</plugin>
在提供这个并执行插件后似乎并没有真正验证密钥库,我在 jmeter 日志中没有找到任何真实的日志,我什至尝试在 ${basedir 中提供 system.properties 文件}/src/test/jmeter,如此处所述
https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Modifying-Properties
即使这样也行不通。
通过相同的 system.properties 文件更改,我能够从 jmeter GUI 运行。
谁能帮我指出这里的问题。
原因是我使用的插件版本太旧。更新到最新的1.10.1,并启用了一些日志,在配置中添加以下内容
*
<overrideRootLogLevel>DEBUG</overrideRootLogLevel>
<suppressJMeterOutput>false</suppressJMeterOutput>
<jmeterLogLevel>DEBUG</jmeterLogLevel>
-
现在我可以在命令提示符中清楚地看到 ssl 日志,其中我 运行 maven 验证和密钥库文件是 added.Hope 这将帮助遇到同样问题的人。
Jmeter 插件似乎没有加载配置选项卡中提供的系统变量。
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
<configuration>
<propertiesSystem>
<javax.net.debug>all</javax.net.debug>
<javax.net.ssl.keyStore>${basedir}/src/test/resources/clientKeystoreFin.jks</javax.net.ssl.keyStore>
<javax.net.ssl.keyStorePassword>changeit</javax.net.ssl.keyStorePassword>
<https.socket.protocols>TLSv1</https.socket.protocols>
<sun.security.ssl.allowUnsafeRenegotiation>true</sun.security.ssl.allowUnsafeRenegotiation>
</propertiesSystem>
<ignoreResultFailures>true</ignoreResultFailures>
</configuration>
</execution>
</executions>
</plugin>
在提供这个并执行插件后似乎并没有真正验证密钥库,我在 jmeter 日志中没有找到任何真实的日志,我什至尝试在 ${basedir 中提供 system.properties 文件}/src/test/jmeter,如此处所述 https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Modifying-Properties 即使这样也行不通。 通过相同的 system.properties 文件更改,我能够从 jmeter GUI 运行。
谁能帮我指出这里的问题。
原因是我使用的插件版本太旧。更新到最新的1.10.1,并启用了一些日志,在配置中添加以下内容 *
<overrideRootLogLevel>DEBUG</overrideRootLogLevel>
<suppressJMeterOutput>false</suppressJMeterOutput>
<jmeterLogLevel>DEBUG</jmeterLogLevel>
- 现在我可以在命令提示符中清楚地看到 ssl 日志,其中我 运行 maven 验证和密钥库文件是 added.Hope 这将帮助遇到同样问题的人。