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!

Was it helpful?

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.

OTHER TIPS

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"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top