Adapter for JDBC 10.3 | webMethods Adapter for JDBC Documentation | webMethods Adapter for JDBC Installation and User’s Documentation | Adapter Services | Testing Adapter Services
 
Testing Adapter Services
You use Designer to test adapter services.
For more information about testing and debugging services, see the webMethods Service Development Help for your release.
*To test adapter services
1. In Designer, expand the package and folder that contain the service you want to test.
2. Double-click the service you want to test.
Designer displays the configured service in the service template's Adapter Service Editor.
3. Select Run > Run As > Run Service.
4. Specify how you want to connect to the database, using either of the following ways:
*To connect to a database using a connection that is different than the connection specified during design time, specify the connection name here:
Parameter
Description
$connectionName
The connection used to connect to the database.
Note:
The database schema of the overridden connection must be the same as that of the default connection. For more information, see Dynamically Changing a Service's Connection at Run Time.
*To connect to a database using user credentials of a connection that are different than the user credentials provided when configuring the connection, specify the user name and password here.
Parameter
Description
$dbUser
The user name used to connect to the database.
$dbPassword
The password used to connect to the database.
Note:
If you do not provide the user credentials here, the user credentials specified when the connection was configured are used. For more information, see Dynamically Changing the User Credentials of a Service's Connection at Run Time.
Note:
You can override either the connection or the user credentials at run time. If you provide both, the connection name and the user credentials, the connection name takes precedence and the service is invoked using the overridden connection.
5. If you defined any other input fields, you will be prompted to type their input values. Type the values for each input field and then click OK.
6. Click the Service Result tab to view the output from the service.