user manual
68 SilkPerformer Java Explorer User Guide
3 S
ETTING UP TESTS
Testing Secure Web Services
Click Next to create the instance and browse the created object for its methods.
Select the object toString method. Click Next and select a test case where Java
Explorer should add the created scenario. The method toString returns a string.
Therefore, Java Explorer will ask you whether it should store the returned value
or discard it.
Test Class Wizard The Test Class Wizard allows you to create a test case for a class or an
instantiated object. Select a class in the Classes tree or an object in the Object
tree and call the wizard, either via the context menu or the workflow bar.
The wizard allows you to select methods that are to be called.
Testing Secure Web Services
This section assists you in configuring SilkPerformer Java Explorer for the
testing of secure Web Services. The following steps are required to test secure
Web services:
- Create a truststore for your JDK.
- Load a secure WSDL into Java Explorer.
- Invoke Web service calls over a secure connection.
Creating a truststore
for your JDK
When working with secure Web services, Web service clients must trust the
Web applications they interact with to be secure. Though typically a Web
browser, the Web service client in this case is SilkPerformer Java Explorer. To
enable testing of a Web application, SilkPerformer Java Explorer must accept
the application’s server certificate or trust the certifying authority who issues the
server certificate.
Your JDK installation includes a commandline tool called keytool. This tool
allows you to manage server certificates and cerfifying authorities. The easiest