[ptt-users] MarkMail
Frank Cohen
fcohen at pushtotest.com
Sun Feb 24 17:10:31 PST 2008
Hi Ulf:
Thanks for the info. I'll take a look at the FAQ to solve the 404
problem.
Below is some new documentation from PushToTest 5.1 on SSL Certificates.
-Frank
--
Adding SSL Certificates
TestMaker supports HTTPS and Secure Socket Layer (SSL) protocols.
These protocols use the Java Cryptography Architecture to work with
SSL certificates. The TestMaker protocol handler will throw an
SSLHandshakeException when connecting to a server over SSL protocols
when the server-side SSL certificate is unknown:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
Follow these steps to register the SSL certificate:
1. Download the server-side SSL certificate to your local
machine. Many browsers let you save the certificate. For instance,
clicking the SSL icon in Microsoft Internet Explorer will display the
certificate. In Mac OS X Safari, click the SSL (lock) icon and drag
the certificate icon to a directory.
2. With the Java Development Kit (JDK) installed, use the Java
Keytool to import the SSL certificate into the Keystore. You can use
the following command from the command shell or terminal window:
keytool -keystore "TestMaker_home/pushtotest.keystore" -import
-alias mycertificate -file "mydirectory/sslcertificate.cer"
3. Tell TestMaker to use your Keystore by modifying the
TestMaker_home/TestMaker.sh (for Unix, Linux, and Mac OS X users) and
TestMaker_home/TestMaker.bat (for Windows users.) Add the following
to the last line of the start-up script:
java $maxqarg $lookarg $python $testnetwork -
Djavax.net.ssl.trustStore=TestMaker_home/pushtotest.keystore -
Dfrank=cohen -classpath $TMCP com.pushtotest.testmaker.Main "$@"
Notice the -Djavax.net.ssl.trustStore added to the start-up
script.
4. Tell the TestNode on your local TestMaker instance to use your
Keystore. Modify the TestMaker_home/TestNetwork/TestNode/startup.sh
(for Unix, Linux, and Mac OS X users) and TestMaker_home/TestNetwork/
TestNode/startup.bat (for Windows users) as follows:
$JAVA_HOME/bin/java -DSTOP.PORT=8079 -DSTOP.KEY=secret -
Djavax.net.ssl.trustStore=TestMaker_home/pushtotest.keystore -jar
start.jar
5. Tell your installed TestNodes to use your Keystore. Modify the
TestNode_home/startup.sh (for Unix, Linux, and Mac OS X users) and
TestNode_home/startup.bat (for Windows users) as follows:
$JAVA_HOME/bin/java -DSTOP.PORT=8079 -DSTOP.KEY=secret -
Djavax.net.ssl.trustStore=TestMaker_home/pushtotest.keystore -jar
start.jar
On Feb 24, 2008, at 2:52 PM, Ulf Reiman wrote:
> Hi Frank!
>
> Thank you for your quick response of my question.
>
> I have search for that URL, but from
> http://www.pushtotest.com/faq/faq.html/, and the question: Does
> TestMaker support testing secure Web Services?there is a URL
> "TestMaker Security" but a get a "404 Not Found" error.
>
> I will explain more of the test tomorrow.
>
> Sincerely
>
> Ulf R
>
> On Sat, Feb 23, 2008 at 5:06 AM, Frank Cohen
> <fcohen at pushtotest.com> wrote:
>> Hi Ulf:
>>
>> I am glad to help you with this. Would you please tell me more about
>> the testing you want to do.
>>
>> PushToTest supports SSL certificates using the Java Security
>> Extensions (JSSE.) There are instructions on how to add SSL server
>> certificates to PushToTest in the user documentation (http://Hi
>> docs.pushtotest.com).
>>
>> Please tell me more.
>>
>> Thanks.
>>
>> -Frank
>>
>>
>>
>>
>>
>>
>> On Feb 22, 2008, at 10:54 AM, Ulf Reiman wrote:
>>
>>> Hi!
>>>
>>> I wonder if how to do this in the best way, if possilby with
>>> pushTotest. I have a web System i want to stress test, with 20 -50
>>> users, my problem is that i use a SSL certicate and I and want to
>>> record the way a want the system to run, there is maybe 20 diffrent
>>> ways to do, so the test can choose from 20 ways..
>>>
>>> Thanks for any suggestion to do it
>>>
>>> Regards
>>> Ulf
>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.pushtotest.com
>>> http://lists.pushtotest.com/mailman/listinfo/users
>>>
>>
>>
>>
>>
>> --
>> Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
>> PushToTest, the open-source test automation company
>>
>>
>>
>>
>> _______________________________________________
>>
>>
>> Users mailing list
>> Users at lists.pushtotest.com
>> http://lists.pushtotest.com/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>
--
Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
PushToTest, the open-source test automation company
More information about the Users
mailing list