質問

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!

役に立ちましたか?

解決 2

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

他のヒント

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"/>
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top