Question

After some search, I found this website gives details of parameters that I can use jmeter with ant script http://www.programmerplanet.org/projects/jmeter-ant-task/

But I can't find a way to put these two lines from jmeter's system.property into Ant script

javax.net.ssl.keyStore= file path

javax.net.ssl.keyStorePassword=password

tried this but doesn't work

<sysproperty key="javax.net.ssl.keyStore" value="performance/key/keyfile.p12"/>

Any idea how would this work? Do I have to make edit in system.property file?

Thanks!

Était-ce utile?

La solution 2

I just made this work with <jvmarg value="-Djavax.net.ssl.keyStore=path/> in ant script, not doing anything in system.properties file.

Autres conseils

You can either put them in system.properties file or use jmeter variables ${__P(request.keystore)} in system.properties and write:

<property name="request.keystore" value="filename"/>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top