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. |
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:
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.