Adapter for Salesforce 8.2 | webMethods Adapter for Salesforce Documentation | webMethods Adapter for Salesforce Installation and User’s Documentation | Adapter Services | Testing Adapter Services
 
Testing Adapter Services
You can test adapter services using Designer. For more information about testing and debugging services, see the webMethods Service Development Help for your release.
*To test an adapter service
1. Review the steps in Before Configuring or Managing Adapter Services.
2. In Designer, expand the package and folder that contain the service you want to test.
3. Double-click the service you want to test.
Designer displays the configured service in the service template's Adapter Service Editor.
4. Select Run > Run As > Run Service.
5. Optionally, provide the user credentials to connect to Salesforce.com. This user name and password overrides credentials specified in the adapter connection being used for the adapter service.
Parameter
Description/Action
username
The user name used to connect to the Salesforce.com.
password
The password used to connect to the Salesforce.com.
Salesforce.com requires a security token for access via Force.com Web service API. You can obtain the security token from the Salesforce.com user interface.
For example, if the password is "mypassword" and the security token is "XXXXXXXXXX", specify the following for Password and Retype Password:
mypasswordXXXXXXXXXX
Note:
The security token is valid until you reset it, change your password, or have your password reset. The security token is not required, if the endpoint URL is a Salesforce.com sandbox.
6. Specify values for the input parameters of the adapter service.
7. Optionally, specify an alternative connection to use by providing the connection name in the $connectionName input parameter.
Note:
Credentials you provide in the username and password fields override any connection. Specifying the $connectionName input parameter changes the connection for this execution of the service. To reconfigure the service to use a different connection, use the setAdapterServiceNodeConnection, which is located in the WmART package's pub.art.service folder. For more information about this service, see the webMethods Integration Server Built-In Services Reference for your release.
8. Click OK.
9. Click the Service Result tab to view the output from this service.