SSL calls in JMeter running under Ant

9 views
Skip to first unread message

paul.go...@gmail.com

unread,
Oct 12, 2006, 5:14:11 AM10/12/06
to jchav
I was having a few issues running a previously saved jmeter script
that was making https calls. The script ran fine in JMeter itself, but
kept failing under cruise control/ant with secure store exceptions.

The trick turned out to be to set the jvm args for the keystore on the
JMeter tag. Then everything worked fine :

<jmeter forceBuildFailure="true"
jmeterhome="${jmeter.install.dir}"
testplan="${jmeter.testplan}"
resultlog="${jmeter.result.file}">
<property
name="jmeter.save.saveservice.output_format" valu
e="xml"/>
<jvmarg value="-Djavax.net.ssl.keyStore=.keystore"/>
<jvmarg
value="-Djavax.net.ssl.keyStorePassword=hello"/>

</jmeter>

Reply all
Reply to author
Forward
0 new messages