문제

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