# testconnection

### Tests a connection to Source and Database <a href="#testconnection-testsaconnectiontosourceanddatabase" id="testconnection-testsaconnectiontosourceanddatabase"></a>

#### Usage <a href="#testconnection-usage" id="testconnection-usage"></a>

| `admin(.bat or .sh) testconnection <<profilename>> <<type>>` |
| ------------------------------------------------------------ |

profilename: Name of the profile that you wish to test

type: "source" or "database" (Source can be - "salesforce" or "mscrm")

**Example**

Validate Salesforce and Microsoft CRM connection on source setup tab in "myprofile" and click on Test connection to connect.

| `Linux./admin.sh testconnection myprofile salesforce./admin.sh testconnection myprofile mscrm`  `Windowsadmin.bat testconnection myprofile salesforceadmin.bat testconnection myprofile mscrm` |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Tests the connection to a Database as setup in "myprofile"

| `Linux./admin.sh testconnection myprofile database`  `Windowsadmin.bat testconnection myprofile database` |
| --------------------------------------------------------------------------------------------------------- |

<br>

<br>
