You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sonam Chauhan <so...@ce.com.au> on 2006/04/07 10:03:30 UTC
RE: Can SSL Manager option pass in as an argument when running Apache JMeter in NON_GUI mode using command prompt?
> Can SSL Manager option pass in as an argument when running Apache
JMeter
> in NON_GUI mode using command prompt?
Are these settings in jmeter.properties (Ver. 2.2.1) any use?
=================================================
#The location of the truststore (trusted certificates) and keystore ( if
other than the default.
#you can uncomment this and change the path to the correct location.
#javax.net.ssl.trustStore=/path/to/cacerts
javax.net.ssl.keyStore=/usr/java/jdk1.5.0_02/jre/lib/security/cacerts
#The password to your keystore
javax.net.ssl.keyStorePassword=changeit
=================================================
Sincerely,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: sonam.chauhan@ce.com.au
-----Original Message-----
From: Chua Jyh Huey [mailto:chuajh@stee.stengg.com]
Sent: Saturday, 8 April 2006 9:24 AM
To: jmeter-user@jakarta.apache.org
Subject: Can SSL Manager option pass in as an argument when running
Apache JMeter in NON_GUI mode using command prompt?
Can SSL Manager option pass in as an argument when running Apache JMeter
in NON_GUI mode using command prompt?
I can run my test using Apache JMeter in GUI mode perfectly when I
choose Options->SSL Manager from the menu bar and select the client
certificate.
However, I need to do run Apache JMeter in NON_GUI mode by using command
prompt. I typed
java -jar ApacheJMeter.jar -n -t mytestScriptFile.jmx -p
jmeter.properties -l jmeter.log
I got HTTP response code:403, HTTP response message: Forbidden
Thank you.
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.10.2 - Release Date: 8/7/2005
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the
message
from your system; please do not copy or use it for any purpose, nor
disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Can SSL Manager option pass in as an argument when running Apache JMeter in NON_GUI mode using command prompt?
Posted by Chua Jyh Huey <ch...@stee.stengg.com>.
Hi,
No, it does not work. The same jmeter.properties file is used for both
GUI and NON_GUI modes.
However,
in GUI mode, I always need to do Options->SSL Manager from the menu bar
and select the client certificate before click run.
Then the responseMessage is OK.
If I did not select the client certificate from Options->SSL Manager
menu, and click run,
The responseMessage is Forbidden
My question is what can I do in NON_GUI mode to get the same result as
Options->SSL Manager in GUI mode ?
Thanks
=============== My jmeter.properties settings ===========
ssl.provider=com.sun.net.ssl.internal.ssl.Provider
ssl.pkgs=com.sun.net.ssl.internal.www.protocol
javax.net.ssl.trustStore=/path/to/cacerts
javax.net.ssl.keyStore=/path/to/crertificate.p12
javax.net,ssl.keyStorePassword=password
==========================================================
-----Original Message-----
From: Sonam Chauhan [mailto:sonam.chauhan@ce.com.au]
Sent: Friday, April 07, 2006 1:04 AM
To: JMeter Users List
Subject: RE: Can SSL Manager option pass in as an argument when running
Apache JMeter in NON_GUI mode using command prompt?
> Can SSL Manager option pass in as an argument when running Apache
JMeter
> in NON_GUI mode using command prompt?
Are these settings in jmeter.properties (Ver. 2.2.1) any use?
=================================================
#The location of the truststore (trusted certificates) and keystore ( if
other than the default. #you can uncomment this and change the path to
the correct location. #javax.net.ssl.trustStore=/path/to/cacerts
javax.net.ssl.keyStore=/usr/java/jdk1.5.0_02/jre/lib/security/cacerts
#The password to your keystore javax.net.ssl.keyStorePassword=changeit
=================================================
Sincerely,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: sonam.chauhan@ce.com.au -----Original
Message-----
From: Chua Jyh Huey [mailto:chuajh@stee.stengg.com]
Sent: Saturday, 8 April 2006 9:24 AM
To: jmeter-user@jakarta.apache.org
Subject: Can SSL Manager option pass in as an argument when running
Apache JMeter in NON_GUI mode using command prompt?
Can SSL Manager option pass in as an argument when running Apache JMeter
in NON_GUI mode using command prompt?
I can run my test using Apache JMeter in GUI mode perfectly when I
choose Options->SSL Manager from the menu bar and select the client
certificate. However, I need to do run Apache JMeter in NON_GUI mode by
using command prompt. I typed
java -jar ApacheJMeter.jar -n -t mytestScriptFile.jmx -p
jmeter.properties -l jmeter.log
I got HTTP response code:403, HTTP response message: Forbidden
Thank you.
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.10.2 - Release Date: 8/7/2005
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the
message from your system; please do not copy or use it for any purpose,
nor disclose its contents to any other person. Thank you.] ---ST
Electronics Group---
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.10.2 - Release Date: 8/7/2005
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 267.10.2 - Release Date: 8/7/2005
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---